Skip to content

fix(provider): preserve cooldown advice across turn retries - #454

Merged
lg2m merged 1 commit into
fix/bounded-event-journalfrom
fix/fleet-retry-jitter
Oct 24, 2026
Merged

lg2m merged 1 commit into
fix/bounded-event-journalfrom
fix/fleet-retry-jitter

Conversation

@lg2m

@lg2m lg2m commented Oct 24, 2026 •

Copy link
Copy Markdown
Collaborator

When HTTP attempts run out, Retry-After now survives the handoff to runtime recovery, including compaction retries. Turn retries use exponential jitter, with cooldown advice as a floor under the existing 60-second advice cap. Retry counts, task authority and budgets are unchanged. Fifth PR in the stack, based on #452.

Verified: current-head CI passes and Codex review is clean. A real loopback 429 requesting 60 seconds reproduced the old 2-second retry; the regression now checks the scheduled delay and rejected-before-work accounting without waiting or reissuing the request. Fourteen focused tests passed initially; nine checks pass on the final rebased head. Parent #452’s clear/replacement cleanup race passes ten repetitions and 32 related tests. All 11 binary smokes pass. Evidence: target/qq-verify/fleet-retry/evidence/.

lg2m commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review head 4568446 against parent #452. Focus on Retry-After handoff after HTTP attempts are exhausted, jitter bounds, rejected-before-work accounting, and metadata preservation through summarizer and in-run compaction failures. Retry counts, advice cap and task authority are unchanged.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T04:17:31.057170Z 2eea5bb Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 45684466c4

ℹ️ 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".

@lg2m
lg2m force-pushed the fix/fleet-retry-jitter branch from 4568446 to de96b4a Compare October 24, 2026 03:57

lg2m commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Final head de96b4a rebases the clean-reviewed provider change over parent #452’s sleep-allowlist location correction. The provider diff is unchanged from 4568446; please confirm the current head.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: de96b4a60c

ℹ️ 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".

@lg2m
lg2m force-pushed the fix/fleet-retry-jitter branch from de96b4a to 2eea5bb Compare October 24, 2026 04:15

lg2m commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Head 2eea5bb rebases the unchanged provider diff over parent #452’s historical goal-drain fix. The prior CI failure was in that parent cleanup path; the clear/replacement race is now reproduced and fixed there. Please review the current stacked head.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 2eea5bbb00

ℹ️ 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".

@lg2m
lg2m added this pull request to stack #456 October 24, 2026 04:31
@lg2m
lg2m merged commit cff889d into main Oct 24, 2026
7 checks passed
@lg2m
lg2m deleted the fix/fleet-retry-jitter branch October 24, 2026 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant