fix(apple): use typed screenshot timeouts and observed shutdown recovery
Merged
TH
19h ago+1422+1422+0123456789012345678901234567890123456789-68-68-01234567890123456789
Summary
Fixes #4442. Recognize the first unindented simctl error header after diagnostics and recover skipped boot checks only from a fresh Shutdown observation capped at 5 seconds. Preserve capture and probe-failure diagnostics with consistent device fields.
Changes 15 files. Scope expansion: isolate process fixtures from live Linux /proc; retain assertions. The feedback correction narrows the scripted state-read matcher and clarifies API docs. Boot memo, capture/boot signal and provider-callback limitations remain disclosed.
Validation
Base d78be6c88715ad80fc658497f23f91c86bf9489b; head d4bc0556139fa4078b4a79a28b81fdb493655dbb.
- One pinned pnpm 11.17.0 exact affected gate passed:
exactCommit=true,checkoutChanged=false,failOpen=false. Eight checks passed; full unit 19,835 passed/10 skipped, related 377 passed. Provider integration deduplicated; coverage/replay checks skipped. - Focused control: 80 passed. Each matcher, missing-probe-event and device-key mutant caused 2 intended failures/78 passes; restores passed. Bounded independent source review found no findings. Earlier parser/recovery evidence retains its original SHA.
- Owned native recovery at b0cc3743: Shutdown probe, one boot, one re-capture and PNG; resources cleaned. The new diagnostics are fixture-tested.
- Maintainer acceptance before merge: accept the retained 5-second boot-memo limitation and the unobserved real simctl code-60 header/stamp or retry above attempt 1. Diagnostic stderr is redacted/trimmed. Head CI is green (19 successful checks, one skipped); human review is clean. External #4111 overlaps screenshot paths.