test: synchronize worktree containment cleanup - #1041
Conversation
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Deterministic red/green evidence and the complete normal/race/coverage gate are recorded in the PR body. Exact head: @codex review |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
5a8905b to
bd0682c
Compare
|
Rebased and re-verified at exact head @codex review |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
bd0682c to
91678c7
Compare
|
Rebased again onto exact current main The six-file test/docs-only scope is preserved, including current-main Issue #1062 entries and the #1039 entries. Focused normal/race containment tests passed 100 consecutive runs each, and unchanged foreground non-TTY @codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
91678c7 to
986e137
Compare
|
Rebuilt from exact merged #1066 main |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
pwd, sentinel file, no daemon-cwd leak, tool-error, and terminal-event assertionsRebuild
origin/main0868ac075cc61fb6d6e6ad7bfc83785b29a79f08(merged Fix workflow child exit error precedence #1066)986e1372af758989dfc64ab91647b14d6f715f74git merge-base HEAD origin/mainequals0868ac075cc61fb6d6e6ad7bfc83785b29a79f08internal/harness/workspace_selection_test.goTDD evidence
The red fixture deliberately allowed terminal cleanup to win before consuming stored events; the existing test then failed with both
out.txtandmarker.txtabsent. The provider handshake now holds only the terminal test turn until the subscriber completes the live worktree assertions, then permits normal cleanup.Verification at
986e1372af758989dfc64ab91647b14d6f715f74go test ./internal/harness -run '^TestWorktreeContainment_ToolCwdIsWorktree$' -count=100— PASSgo test -race ./internal/harness -run '^TestWorktreeContainment_ToolCwdIsWorktree$' -count=100— PASSgo test ./internal/harness/...— PASSgo test -race ./internal/harness/...— PASS./scripts/test-regression.sh— PASStotal=85.6%,zero-functions=0)Closes #1039
Related #1000
Related #1033