Repository navigation
fix(agents): let paused child Action waits reach quiet and scope task cancellation - #568
Conversation
Codex Review SummaryThis 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. |
|
@codex review |
Use the known local child activity when deciding whether a waiting parent still has active background work. Keep native, unknown, unrelated and cyclic children conservative, and preserve real input, command and user-queue blockers. Carry-Group: incubator Carry-Fix: #563 Carry-Observation: Requires the Environment Pause and delegated ownership integration in Incubator; those files do not exist in Resumable Actions. A paused child continuation keeps its logical task unfinished without constituting active execution. Co-Authored-By: OpenAI Codex <[email protected]>
Recognize an ended provider turn with an outstanding owned Action as cancellable. Under participant locks, dispose that exact task obligation and cancel or interrupt its transferred continuation without stopping unrelated rounds. Carry-Group: incubator Carry-Fix: #567 Carry-Observation: Requires the Phase 3 task-owned Action ledger and continuation fences introduced in Incubator, so it must replay after that ownership core. Co-Authored-By: OpenAI Codex <[email protected]>
Use the task-specific cancellation path even when Action intake transferred ownership before the MCP projection read. Cover queued and startup-admitted continuations beside unrelated active work. Carry-Group: incubator Carry-Fix: #567 Carry-Observation: Cancellation must use the same exact task fence before, during and after Action intake. Co-Authored-By: OpenAI Codex <[email protected]>
Return the terminal app-owned task status instead of stopping another round in its reused child. Exercise repeated task_cancel with the same request ID beside unrelated active work. Carry-Group: incubator Carry-Fix: #567 Carry-Observation: A terminal task no longer grants cancellation authority over later child work. Co-Authored-By: OpenAI Codex <[email protected]>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 78eb289f72
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
Schedule the existing delegated-task cancellation worker for unfinished descendants owned by the cancelled task's source and continuation runs. Leave unrelated rounds and their descendants untouched, including when the owned continuation has already ended. Carry-Group: incubator Carry-Fix: #567 Carry-Evidence: #568 (comment) Carry-Observation: Requires the Incubator task-owned Action ledger and exact run ownership. Three regressions fail without the scoped stop effect and preserve unrelated rounds. Co-Authored-By: OpenAI Codex <[email protected]>
78eb289 to
75e36a6
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 75e36a6315
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
Persist the runtime and interaction ceiling on the owned Action descendant-stop effect and restore it in the worker before locked dispatch. Leave descendants running when their user raises either mode after cancellation was admitted. Carry-Group: incubator Carry-Fix: #567 Carry-Evidence: #568 (comment) Carry-Observation: The task-owned Action cancellation path crosses the durable outbox; only serializable mode ceilings cross with it, never the caller's in-memory refusal reference. Worker regressions reproduce both runtime and interaction escalation races. Co-Authored-By: OpenAI Codex <[email protected]>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bbcdb6320a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
Cancel queued or active runs of the exact logical task, and interrupt its ended or waiting runs when native/background work remains. Restrict background items to each owned run and do not attribute a reused provider roster to an older unrelated run. Preserve unrelated queued rounds. Carry-Group: incubator Carry-Fix: #567 Carry-Evidence: #568 (comment) Carry-Observation: Waiting provider turns are not live runs, but their owned commands and native subagents can still need the existing scoped interrupt path. Both new regressions reproduce running work after cancellation without this fix. Co-Authored-By: OpenAI Codex <[email protected]>
|
@codex review |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! 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". |
Two Phase 3 acceptance defects in child tasks that wait on resumable Actions:
What changed
Verification
check:changedpassed 406 tests in 17 files, plus affected typechecks, lint, formatting and unused-code checks.56357cc15237221a39b9eeecc4fbb4a7acff97adagainst base8fdf46d754062fbd72d9e6c3a366f8bb0831df8e.9e43355a289d736fdae027fa9848e6e256ca74a9; the merged tree matches the reviewed head.Not covered
Fixes #563. Fixes #567. Part of #482, which stays open until installed acceptance is complete.
Implemented with GPT-6.1 Sol through the Codex harness; local source reviews used Codex Sol high. Description edited in a Claude Sonnet 5.5 writing pass (Claude Code).