Skip to content

Stabilize write ordering in the shared message board scenario - #53632

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/a290a01f5071a2081d4d0b1531b1b31bfbb8a6e6
Oct 13, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/a290a01f5071a2081d4d0b1531b1b31bfbb8a6e6

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Stabilize write ordering in the shared message board scenario

Why

Non-parallel tool calls can acquire their lock in either order, making the shared board scenario's last_message_id snapshot nondeterministic.

What changed

Send each collaboration.post call in a separate mocked response to order the writes before snapshotting. Update the board_connections snapshot and expected request count from 15 to 17 to reflect the additional responses.

## Why

Non-parallel tool calls can acquire their lock in either order, making the shared board scenario's `last_message_id` snapshot nondeterministic.

## What changed

Send each `collaboration.post` call in a separate mocked response to order the writes before snapshotting. Update the `board_connections` snapshot and expected request count from 15 to 17 to reflect the additional responses.

GitOrigin-RevId: a290a01f5071a2081d4d0b1531b1b31bfbb8a6e6
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/a290a01f5071a2081d4d0b1531b1b31bfbb8a6e6 branch from 46cf850 to 6042ec3 Compare October 13, 2026 10:42
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

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

Review Status Commit Review trigger
πŸ“ Code Review πŸ”„ Running since 2026-10-13T10:42:18.012390Z 46cf850 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.

@copyberry
copyberry Bot merged commit 6042ec3 into main Oct 13, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/a290a01f5071a2081d4d0b1531b1b31bfbb8a6e6 branch October 13, 2026 10:42
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant