Parallelize TUI bootstrap requests - #34355
Merged
copyberry[bot] merged 1 commit intoJul 20, 2026
Merged
Conversation
## Why During TUI startup, `hooks/list` holds the global config queue while an uncached `model/list` request may also take time. Waiting for `configRequirements/read` before submitting the model request prevents these operations from overlapping. ## What changed Submit `model/list` and `configRequirements/read` together during bootstrap so the model fetch can overlap the config requests. Preserve the request-specific error context and update the session state after both requests succeed. GitOrigin-RevId: 69a866e6d2fd4798b914dd000456194f49fcfef6
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/69a866e6d2fd4798b914dd000456194f49fcfef6
branch
from
July 20, 2026 14:24
2bc22ec to
2661d85
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/69a866e6d2fd4798b914dd000456194f49fcfef6
branch
July 20, 2026 14:25
YuXuanLiang-dev
temporarily deployed
to
issue-triage
July 20, 2026 14:25 — with
GitHub Actions
Inactive
YuXuanLiang-dev
temporarily deployed
to
issue-triage
July 20, 2026 14:25 — with
GitHub Actions
Inactive
YuXuanLiang-dev
temporarily deployed
to
issue-triage
July 20, 2026 14:25 — with
GitHub Actions
Inactive
YuXuanLiang-dev
temporarily deployed
to
issue-triage
July 20, 2026 14:26 — with
GitHub Actions
Inactive
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 TUI bootstrap requests
Why
During TUI startup,
hooks/listholds the global config queue while anuncached
model/listrequest may also take time. Waiting forconfigRequirements/readbefore submitting the model request prevents theseoperations from overlapping.
What changed
Submit
model/listandconfigRequirements/readtogether during bootstrap sothe model fetch can overlap the config requests. Preserve the request-specific
error context and update the session state after both requests succeed.