Skip to content

Fix premature reader exit reporting in release benchmarks - #81

Merged
MaxAkbar merged 1 commit into
mainfrom
max/fix-release-reader-exit
Nov 19, 2026
Merged

MaxAkbar merged 1 commit into
mainfrom
max/fix-release-reader-exit

Conversation

@MaxAkbar

Copy link
Copy Markdown
Owner

Ubuntu failed ConcurrentPhase_PreCapReturnRemainsUnexpectedAfterDeadlineAdvances during v5.0.0 release qualification. An asynchronous completion could mark a reader as exited, release the coordinator lock, and get preempted before setting the phase-wide flag. A drain could then finish while the flag still indicated normal operation.

The coordinator now sets the phase-wide flag under the same lock as the reader state transition. The change is confined to the benchmark harness and preserves the existing timing thresholds and test assertions.

A controlled local probe paused publication at that boundary. The controller could finish early on the original code and could only finish after publication with the fix. Both continuation modes passed 1,000 local iterations each after the change.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 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-19T05:49:07.495157Z 6fd1c5f 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.

@MaxAkbar
MaxAkbar merged commit 7af7b48 into main Nov 19, 2026
15 checks passed
@MaxAkbar
MaxAkbar deleted the max/fix-release-reader-exit branch December 5, 2026 07:21
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