Skip to content

Fix cancellation state and release qualification - #50

Closed
Perdikis10 wants to merge 2 commits into
mainfrom
codex/fix-provider-retry-cancellation
Closed

Perdikis10 wants to merge 2 commits into
mainfrom
codex/fix-provider-retry-cancellation

Conversation

@Perdikis10

@Perdikis10 Perdikis10 commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

If Stop arrives after a failed provider call but before its retry decision, the runtime must record cancellation instead of the provider failure. Recheck cancellation before giving up on an ordinary exception, while preserving fatal control flow and unknown-usage accounting. No second provider call is made.

Prepare the tag-release job with the same Linux sandbox, office tools, and native-test settings as full CI. This makes release qualification use the environment that was actually tested while preserving exact-source recovery checks.

Validation:

  • Two deterministic cancellation cases failed before the fix.
  • Four regressions cover HTTP/timeout cancellation and preservation of KeyboardInterrupt/SystemExit.
  • Python 3.12 runtime suites: 79 passed.
  • Python 3.14 resilience suite: 54 passed.
  • Release/workflow/CI-policy contracts: 87 passed in the public checkout.
  • Ruff lint/format, selected-patch hygiene, and diff checks passed.
  • Full CI and unsigned native qualification must pass on the final head before merge.

Release follow-up to #49; no tag or package publication has occurred yet.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T07:32:23.535042Z 6b1ead0 PR opened
ℹ️ 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.

@Perdikis10 Perdikis10 changed the title Preserve cancellation before provider retry Fix cancellation state and release qualification Nov 14, 2026
@AlysisAi AlysisAi closed this Nov 14, 2026
@AlysisAi
AlysisAi deleted the codex/fix-provider-retry-cancellation branch November 14, 2026 08:26
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.

2 participants