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
Replay test retries now stop when the preceding attempt cannot close its session. A rejected close response is promoted to the same cleanup failure path, and the failed attempt is classified as infrastructure so a later attempt cannot contend with its retained device claim.
Adds regression coverage for the macOS open "System Settings" shape: a failed attempt whose close is rejected runs exactly once instead of reaching DEVICE_IN_USE on the next attempt.
Rebased onto current origin/main: this PR now contains one cleanup-retry commit and four targeted source/test files only.
Motivating CI evidence: merged PR #1952 macOS run 32734629087, job 97454414587; and PR #1994 macOS run 32734431023, job 97453800202.
Validation
Regression was observed red before the production change, then green.
Focused replay-test and daemon suite tests passed (23 tests).
pnpm test:replay:macos passed against the local macOS System Settings replay after the rebase.
pnpm check:affected --run passed after the rebase (GitHub-authoritative lanes remain pending on this head).
Docs and skills unchanged: the retry/session lifecycle contract is internal and existing guidance already covers it.
Review of exact head 8b9cfb0807b6be4637321ddebc62d9dfa449008c:
The functional fix is sound and sits at the right ownership seam: a rejected close response becomes a cleanup error, the attempt is classified as infrastructure, and the existing scheduler stops before retrying into a retained device claim. Both regression tests are non-vacuous.
The PR is not ready because its branch topology is wrong: it conflicts with main and carries 13 unrelated iOS snapshot commits (31 files, +939/-148) ahead of the one cleanup-retry commit. Rebuild/rebase it onto current main as only the cleanup-retry change and its four targeted source/test files, then rerun exact-head CI and re-stamp the macOS replay evidence. Do not apply labels.
Re-review of exact head 469455f83d34387341becdd49c0c4777dbdc0b5a: clean and ready for human review. The prior topology blocker is resolved: one commit, four targeted files, mergeable, with the cleanup failure classified at the owning attempt seam and non-vacuous regression coverage. Exact-head static, coverage, integration, and macOS smoke are green; the macOS lane ran the System Settings replay successfully. iOS smoke is still in progress and is the only pending check.
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
Replay test retries now stop when the preceding attempt cannot close its session. A rejected close response is promoted to the same cleanup failure path, and the failed attempt is classified as infrastructure so a later attempt cannot contend with its retained device claim.
Adds regression coverage for the macOS
open "System Settings"shape: a failed attempt whose close is rejected runs exactly once instead of reachingDEVICE_IN_USEon the next attempt.Rebased onto current
origin/main: this PR now contains one cleanup-retry commit and four targeted source/test files only.Motivating CI evidence: merged PR #1952 macOS run 32734629087, job 97454414587; and PR #1994 macOS run 32734431023, job 97453800202.
Validation
pnpm test:replay:macospassed against the local macOS System Settings replay after the rebase.pnpm check:affected --runpassed after the rebase (GitHub-authoritative lanes remain pending on this head).Docs and skills unchanged: the retry/session lifecycle contract is internal and existing guidance already covers it.