Repository navigation
Parallelize instruction refresh and tool preparation - #47458
Merged
copyberry[bot] merged 1 commit intoSep 23, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## What changed Run `AGENTS.md` and thread-instruction refresh concurrently with capability discovery, MCP setup, and tool construction. Box both preparation futures to keep them off caller stacks while they are live together. Finish delivering returned instruction warnings even when tool preparation fails or is cancelled. Preserve instruction-error precedence and publish the selected-plugin snapshot only after both branches succeed and cancellation is checked. ## Testing Add tests covering concurrent preparation, warning delivery on tool failure and cancellation, instruction-error precedence, and plugin snapshot publication. Verify that cancellation does not repeat consumed warnings on the next capture. GitOrigin-RevId: 6b2d7b091aae2dba67ad154a19bdb0ed0f96f6f7
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/6b2d7b091aae2dba67ad154a19bdb0ed0f96f6f7
branch
from
September 23, 2026 05:22
5f27f04 to
0a2eb46
Compare
Contributor
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/6b2d7b091aae2dba67ad154a19bdb0ed0f96f6f7
branch
September 23, 2026 05:22
solo-race
temporarily deployed
to
issue-triage
September 23, 2026 05:46 — with
GitHub Actions
Inactive
solo-race
temporarily deployed
to
issue-triage
September 23, 2026 05:46 — with
GitHub Actions
Inactive
solo-race
temporarily deployed
to
issue-triage
September 23, 2026 05:46 — with
GitHub Actions
Inactive
psychofanCODES
temporarily deployed
to
issue-triage
September 23, 2026 05:50 — with
GitHub Actions
Inactive
psychofanCODES
temporarily deployed
to
issue-triage
September 23, 2026 05:50 — with
GitHub Actions
Inactive
psychofanCODES
temporarily deployed
to
issue-triage
September 23, 2026 05:50 — with
GitHub Actions
Inactive
psychofanCODES
temporarily deployed
to
issue-triage
September 23, 2026 05:51 — with
GitHub Actions
Inactive
Dennis4526
temporarily deployed
to
issue-triage
September 23, 2026 05:55 — with
GitHub Actions
Inactive
Dennis4526
temporarily deployed
to
issue-triage
September 23, 2026 05:55 — with
GitHub Actions
Inactive
Dennis4526
temporarily deployed
to
issue-triage
September 23, 2026 05:55 — with
GitHub Actions
Inactive
aijaraix
temporarily deployed
to
issue-triage
September 23, 2026 06:06 — with
GitHub Actions
Inactive
aijaraix
temporarily deployed
to
issue-triage
September 23, 2026 06:06 — with
GitHub Actions
Inactive
aijaraix
temporarily deployed
to
issue-triage
September 23, 2026 06:06 — with
GitHub Actions
Inactive
FeletexGee
temporarily deployed
to
issue-triage
September 23, 2026 06:11 — with
GitHub Actions
Inactive
FeletexGee
temporarily deployed
to
issue-triage
September 23, 2026 06:11 — with
GitHub Actions
Inactive
FeletexGee
temporarily deployed
to
issue-triage
September 23, 2026 06:11 — with
GitHub Actions
Inactive
wstczyw
temporarily deployed
to
issue-triage
September 23, 2026 06:12 — with
GitHub Actions
Inactive
wstczyw
temporarily deployed
to
issue-triage
September 23, 2026 06:12 — with
GitHub Actions
Inactive
wstczyw
temporarily deployed
to
issue-triage
September 23, 2026 06:12 — with
GitHub Actions
Inactive
wstczyw
temporarily deployed
to
issue-triage
September 23, 2026 06:12 — with
GitHub Actions
Inactive
15969652028
temporarily deployed
to
issue-triage
September 23, 2026 06:19 — with
GitHub Actions
Inactive
15969652028
temporarily deployed
to
issue-triage
September 23, 2026 06:19 — with
GitHub Actions
Inactive
15969652028
temporarily deployed
to
issue-triage
September 23, 2026 06:19 — with
GitHub Actions
Inactive
gustemax
temporarily deployed
to
issue-triage
September 23, 2026 06:36 — with
GitHub Actions
Inactive
JunWang-Lin
temporarily deployed
to
issue-triage
September 23, 2026 06:36 — with
GitHub Actions
Inactive
JunWang-Lin
temporarily deployed
to
issue-triage
September 23, 2026 06:36 — with
GitHub Actions
Inactive
JunWang-Lin
temporarily deployed
to
issue-triage
September 23, 2026 06:36 — with
GitHub Actions
Inactive
JunWang-Lin
temporarily deployed
to
issue-triage
September 23, 2026 06:37 — with
GitHub Actions
Inactive
wumaoqianzhanshen
temporarily deployed
to
issue-triage
September 23, 2026 06:41 — with
GitHub Actions
Inactive
wumaoqianzhanshen
temporarily deployed
to
issue-triage
September 23, 2026 06:41 — with
GitHub Actions
Inactive
wumaoqianzhanshen
temporarily deployed
to
issue-triage
September 23, 2026 06:41 — with
GitHub Actions
Inactive
mustafasahinphoto
temporarily deployed
to
issue-triage
September 23, 2026 06:42 — with
GitHub Actions
Inactive
mustafasahinphoto
temporarily deployed
to
issue-triage
September 23, 2026 06:42 — with
GitHub Actions
Inactive
mustafasahinphoto
temporarily deployed
to
issue-triage
September 23, 2026 06:42 — with
GitHub Actions
Inactive
wumaoqianzhanshen
temporarily deployed
to
issue-triage
September 23, 2026 06:42 — with
GitHub Actions
Inactive
mustafasahinphoto
temporarily deployed
to
issue-triage
September 23, 2026 06:43 — with
GitHub Actions
Inactive
kazunori-kuroiwa
temporarily deployed
to
issue-triage
September 23, 2026 06:44 — with
GitHub Actions
Inactive
kazunori-kuroiwa
temporarily deployed
to
issue-triage
September 23, 2026 06:44 — with
GitHub Actions
Inactive
kazunori-kuroiwa
temporarily deployed
to
issue-triage
September 23, 2026 06:44 — with
GitHub Actions
Inactive
kazunori-kuroiwa
temporarily deployed
to
issue-triage
September 23, 2026 06:45 — with
GitHub Actions
Inactive
Richard9e98
temporarily deployed
to
issue-triage
September 23, 2026 06:46 — with
GitHub Actions
Inactive
Richard9e98
temporarily deployed
to
issue-triage
September 23, 2026 06:46 — with
GitHub Actions
Inactive
Richard9e98
temporarily deployed
to
issue-triage
September 23, 2026 06:46 — with
GitHub Actions
Inactive
zhifenglin266-oss
temporarily deployed
to
issue-triage
September 23, 2026 06:49 — with
GitHub Actions
Inactive
zhifenglin266-oss
temporarily deployed
to
issue-triage
September 23, 2026 06:49 — with
GitHub Actions
Inactive
zhifenglin266-oss
temporarily deployed
to
issue-triage
September 23, 2026 06:49 — with
GitHub Actions
Inactive
hsuy1ee
temporarily deployed
to
issue-triage
September 23, 2026 06:49 — with
GitHub Actions
Inactive
hsuy1ee
temporarily deployed
to
issue-triage
September 23, 2026 06:49 — with
GitHub Actions
Inactive
hsuy1ee
temporarily deployed
to
issue-triage
September 23, 2026 06:49 — 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.
Parallelize instruction refresh and tool preparation
What changed
Run
AGENTS.mdand thread-instruction refresh concurrently with capability discovery, MCP setup, and tool construction. Box both preparation futures to keep them off caller stacks while they are live together.Finish delivering returned instruction warnings even when tool preparation fails or is cancelled. Preserve instruction-error precedence and publish the selected-plugin snapshot only after both branches succeed and cancellation is checked.
Testing
Add tests covering concurrent preparation, warning delivery on tool failure and cancellation, instruction-error precedence, and plugin snapshot publication. Verify that cancellation does not repeat consumed warnings on the next capture.