test(mirror): cover onCreated callback sequencing in createAndAwaitMirror

main

Commit

toothbrush2mo ago

Assert onCreated fires exactly once on CreateMirror success, before any clone polling/onStatus, and never on a CreateMirror error — pinning the placing-vs-cloning phase split.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: bfb60c5675ab

Checkpoints

Add Mirror onCreated Callback Test

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1