Repository navigation
fix(server): deliver safe cooperative requests to active agents - #320
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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 22714f111e
ℹ️ 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".
22714f1 to
47b16cc
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 47b16cc266
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a2479d4150
ℹ️ 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".
Add opt-in native steering to the thread CLI and enforce it under the server dispatch lock. Reject stale targets, selection changes, unsupported providers, and delivery that interrupts tools. Preserve the normal queue default and prevent late delivery from starting a follow-up turn. Validation: 171 focused tests and targeted lint pass. Model: GPT-6.1-Sol Extra High Harness: Codex Carry-Group: tooling Carry-Observation: Cooperative update coordination must reach active work without queueing behind or interrupting it.
Carry-Group: tooling
Carry-Group: tooling
Carry-Group: tooling
Preserve the running model and saved next-turn choice for native-only requests. Settle a completed target without a follow-up or a failed background job. Carry-Group: tooling
Classify validated Codex review and compact rejections as final non-delivery. Preserve transient failures and settle terminal targets without follow-up runs or failed background jobs. Carry-Group: tooling
a2479d4 to
2c9b9f4
Compare
|
@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". |
Apply HTTPS mirror failover to server jobs and replace both runner mirror lists so Ubuntu dependency downloads do not exhaust the job before tests start. Carry-Group: build-ci
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ee964f0bbe
ℹ️ 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".
Treat missing or replaced recorded targets and ended runs as definite non-delivery. Preserve ordinary completed-turn fallback and retryable storage or provider failures. Carry-Group: tooling
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e7f42e52c7
ℹ️ 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".
Treat an absent exact run or persisted message as definite non-delivery before session lookup. Preserve pending targets and transient errors, and prove an obsolete steer no longer blocks the restart effect. Carry-Group: tooling
|
@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". |
A cooperative pause sent through the thread CLI queues behind active work, so maintenance can time out before the agent receives the request.
Add opt-in
--steer-nativedelivery to the observed active run. The server rejects a changed run or selection and requires a provider that supports targeted, non-interrupting steering with rejection after completion. Codex supplies that capability; other providers retain their ordinary behavior. Strict delivery never queues, restarts, interrupts tools, or creates a late follow-up. Older servers reject its distinct wire mode.--waitfollows shared-run completion, so the guide requires a unique acknowledgement and a current idle check before acting on a cooperative pause.The server-test CI jobs also configure HTTPS package mirror failover before installing browser dependencies. Both the runner-native and custom mirror lists are configured, so dependency setup cannot keep retrying the original HTTP mirror until the job expires.
Validation: 345 focused tests across CLI, contracts, command policy, orchestration, effect execution, provider control and Codex adapter passed; targeted lint/format checks passed. The isolated APT regression test executes the real action shell block against fixture files and verifies both mirror lists, source rewriting, preserved vendor configuration and bounded timeouts; both workflow YAML files parse. Independent source review identified and fixed provider-side late-delivery fallback. GitHub review fixes settle completed-target races, preserve the saved next-turn model, distinguish definite Codex review/compact rejections from retryable failures, and settle deleted or detached execution targets without failed background jobs. The latest stale-target fixes pass 105 refreshed control, runtime, worker and ordinary-steering tests. Real deletion and same-session attempt-replacement regressions settle strict delivery on its first outbox attempt; the restart becomes runnable immediately. Pending targets and transient session/storage/adapter failures retain their existing behavior. Targeted lint and formatting pass.
Model: GPT-6.1 Sol (Extra High), with GPT-6 Astra review. Harness: Codex.