Repository navigation
fix(pm-dispatch): note deleted session as deleted on cleanup success (#10632) - #10634
Conversation
…10632) The post-cleanup issue note hedged 'may still be live' even when deleteSession had just succeeded. The success branch now states the session was deleted; the hedge remains for cleanup failure and unavailable-callback branches, and for the pre-DELETE cancel reason. Adds a cleanup-success test pinning the new wording and the cancel-before-delete-before-note ordering.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 13 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Fixes #10632 (queue task 17424, follow-up of triage 17423, lane code-j).
Change —
pm-stack/dispatch/src/launch_failure.ts:127: the post-cleanup issue note's success branch readOpenCode session <id> may still be live; session cleanup succeeded.althoughdeleteSessionhad just run. It now readsOpenCode session <id> was deleted; session cleanup succeeded.The hedge is kept where a live session is genuinely possible: the cleanup-failure twin (:128), the unavailable-callback path, and the pre-DELETE cancel reason (:102, out of scope).Test —
pm-stack/dispatch/test/launch_failure.test.ts: new cleanup-success case pins the deleted wording (and absence of the hedge) plus cancel-before-delete-before-note ordering and issue close.bun test test/launch_failure.test.ts: 9 pass, 0 fail (8 existing + 1 new).agent-note:v1 | Agent: repo-worker-code/code-j (openchamber-scheduled-lane) | State: pr_opened | Task: 17424
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.