Repository navigation
fix: plan H reliability items (transient retries, reasoning truncation, Codex redirect, discovery auth, user deny_shell_prefixes) - #501
Conversation
… gate fetches per provider
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 usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
@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". |
Change
Five reliability items from plan section H, and a ban on new code comments in
AGENTS.md. Store retention and a server-side/undowill follow in a second PR stacked on this one.xai/grok-4.7runs that failed on this error.claude-opus-5-5runs that failed with "stopped at its output token limit (16384 tokens) without producing any visible output on 1 consecutive turn".http://127.0.0.1:{port}/auth/callback, the address the callback server listens on. Upstream Codex sends the same redirect.qq-provider'sRequestCredential, adding the publicRequestCredential::headerandheaders(). The separateDiscoveryAuthtype is deleted. The single global fetch lock is replaced by one lock per provider, so a slow provider no longer stalls discovery for the others.deny_shell_prefixesfrom any layer. User and project config can now set it, not only managed config. The lists from all layers are combined. A project layer that is still waiting for trust adds its entries too, since a deny grants no authority. Denial messages no longer say "managed". Docs are updated.AGENTS.md. New code must not add//,///,//!or/* */comments. Theprinciplesskill says the same.Verification
Each regression test failed before its fix and passes after:
cargo nextest run -p qq-auth -E 'test(/codex_login_uses_pkce/)': the old code sentlocalhost.cargo nextest run -p qq-host -E 'test(/a_slow_provider_does_not_hold_discovery_for_another/)': with one global gate it timed out.cargo nextest run -p qq-config -E 'test(/shell_prefix_denies_union/)': failed with the old managed-only check, and also fails if the union is moved after the trust gate.cargo nextest run -p qq-core -E 'test(/a_summarizer_turn_spent_on_reasoning/)': fails if the summarizer exclusion is removed.cargo nextest run -p qq-core -E 'test(/an_empty_truncated_turn/)': the existing tests now assert the notice is sent and replayed.cargo xtask checkpassed on the pushed head.Known impact
GoalCheckPolicyError::ManagedDeniedis renamedShellDenied. It is internal to qq-core and qq-host.xtask/src/legacy-sleeps.txtline numbers moved. No new sleeps were added.