Repository navigation
Enforce single-writer ownership for all thread histories - #36389
Merged
copyberry[bot] merged 1 commit intoJul 31, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## Why Legacy thread histories did not use the cross-process writer ownership guard already applied to paginated histories. ## What changed - Acquire and retain a writer lock whenever a legacy or paginated thread is created or resumed. - Apply the same ownership checks when archiving or deleting either history mode. - Release ownership when initialization fails or the active thread shuts down, allowing another process to resume it. ## Testing - Cover competing create and resume operations for both history modes. - Cover archive and deletion conflicts for legacy and paginated descendants. GitOrigin-RevId: 1be79b01966ad2634ed79eb96c0aa0db8eafe2fa
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/1be79b01966ad2634ed79eb96c0aa0db8eafe2fa
branch
from
July 31, 2026 20:50
b511217 to
dc60dad
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/1be79b01966ad2634ed79eb96c0aa0db8eafe2fa
branch
July 31, 2026 20:51
dallarmi-hash
temporarily deployed
to
issue-triage
July 31, 2026 21:02 — with
GitHub Actions
Inactive
dallarmi-hash
temporarily deployed
to
issue-triage
July 31, 2026 21:02 — with
GitHub Actions
Inactive
dallarmi-hash
temporarily deployed
to
issue-triage
July 31, 2026 21:02 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enforce single-writer ownership for all thread histories
Why
Legacy thread histories did not use the cross-process writer ownership guard already applied to paginated histories.
What changed
Testing