You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make Apple runner recording cancellation stop only the exact acquired runner session; if no durable runner identity exists, fail closed instead of issuing a blind stop.
Make shared Apple and Android provider scenarios reject unmodeled tool calls, while explicitly modeling the lifecycle, settings, and state probes their workflows own. Surface unconfirmed HarmonyOS recording cleanup as a composed warning, and delete three unreachable post-cutover helpers.
This is internal reliability and test-infrastructure tightening; it does not change the CLI surface or daemon wire protocol.
Validation
Seen red: Apple cancellation omitted expectedRunnerSessionId; unknown simctl/ADB calls silently succeeded; HarmonyOS cleanup residue was hidden; strict provider scenarios exposed missing lifecycle/state fixtures.
Reviewed exact head 2dcfaea0. The Apple cancellation cleanup is now scoped to the captured runner session, the missing-identity case correctly avoids a blind stop, Harmony cleanup warnings compose without clobbering finalizer warnings, the strict provider fixtures are coherent, and the removed helpers have no remaining references. The focused regressions are non-vacuous and all 31 CI checks are green. One readiness blocker remains: this changes a device-facing cancellation path, but current iOS smoke proves only normal recording/finalization and the PR supplies no live abort-after-runner-acquisition evidence. Please run the exact head on an iOS simulator/device, cancel after acquisition, and show that the captured runner session is stopped while no replacement or unrelated session is touched. Until then: code-review clean, not yet merge-ready; no ready-for-human label.
Exact-head live cancellation evidence is complete on 2dcfaea0b948b79b0c82602a7369db8b8fd5ec69 using the booted iPhone 17 Pro simulator (UDID 6044A251-23C2-4584-B7DB-87A16B787757). A standalone probe exercised the real production Apple runner transport and real XCTest runner, overriding only that request signal's post-acquisition throwIfAborted so cancellation landed deterministically after a live durable session existed.\n\n- Captured session before abort: 6044A251-23C2-4584-B7DB-87A16B787757:57672:1786449125500\n- Expected background outcome: request canceled\n- Replacement session: 6044A251-23C2-4584-B7DB-87A16B787757:57733:1786449133946\n- Replacement recording start and exact stop both succeeded. Since the recording slot is exclusive, the successful replacement start proves the canceled recorder was stopped; the different runner-session ID proves stale cleanup did not authorize against the replacement.\n\nThe first physical-device attempt was environment-blocked before recording because its developer disk image could not mount; no claim is made from that attempt. Cleanup is complete: the public setup session was closed, isolated daemon stopped cleanly, Settings terminated, runner lease/process absent, temporary probe removed, and the exact-head worktree is clean. All 31 GitHub checks remain green.
Preview removed because the pull request was closed.
2026-08-11 11:56 UTC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ready-for-humanValid work that needs human implementation, judgment, or maintainer merge
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Make Apple runner recording cancellation stop only the exact acquired runner session; if no durable runner identity exists, fail closed instead of issuing a blind stop.
Make shared Apple and Android provider scenarios reject unmodeled tool calls, while explicitly modeling the lifecycle, settings, and state probes their workflows own. Surface unconfirmed HarmonyOS recording cleanup as a composed warning, and delete three unreachable post-cutover helpers.
This is internal reliability and test-infrastructure tightening; it does not change the CLI surface or daemon wire protocol.
Validation
expectedRunnerSessionId; unknown simctl/ADB calls silently succeeded; HarmonyOS cleanup residue was hidden; strict provider scenarios exposed missing lifecycle/state fixtures.pnpm check:affected --runDocs/skills are unchanged because behavior and CLI guidance are unchanged; this tightens ownership, diagnostics, and test fixtures.