Skip to content

Reduce startup latency for ancestor discovery - #32106

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/11449837c7a212ec8ed385e7290476e926d93531
Jul 10, 2026
Merged

Reduce startup latency for ancestor discovery#32106
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/11449837c7a212ec8ed385e7290476e926d93531

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 10, 2026

Copy link
Copy Markdown

Reduce startup latency for ancestor discovery

Why

Serial metadata probes add remote round trips while Codex discovers project
instructions, repository skills, and project-root markers during startup.

What changed

  • Probe ancestor directories concurrently while preserving discovery order.
  • Raise the shared find-up probe window to cover typical project hierarchies.
  • Refresh project instructions in parallel with plugin and skill warmup.

Testing

Add coverage that blocks one metadata request and verifies all expected project-root
and AGENTS.md ancestor probes have started before it is released.

## Why

Serial metadata probes add remote round trips while Codex discovers project
instructions, repository skills, and project-root markers during startup.

## What changed

- Probe ancestor directories concurrently while preserving discovery order.
- Raise the shared find-up probe window to cover typical project hierarchies.
- Refresh project instructions in parallel with plugin and skill warmup.

## Testing

Add coverage that blocks one metadata request and verifies all expected project-root
and `AGENTS.md` ancestor probes have started before it is released.

GitOrigin-RevId: 11449837c7a212ec8ed385e7290476e926d93531
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/11449837c7a212ec8ed385e7290476e926d93531 branch from 1915404 to 6ad0e94 Compare July 10, 2026 09:40
@copyberry
copyberry Bot merged commit 6ad0e94 into main Jul 10, 2026
32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/11449837c7a212ec8ed385e7290476e926d93531 branch July 10, 2026 09:41
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 10, 2026
@moqi7
moqi7 temporarily deployed to issue-triage July 10, 2026 09:55 — with GitHub Actions Inactive
@moqi7
moqi7 temporarily deployed to issue-triage July 10, 2026 09:55 — with GitHub Actions Inactive
@moqi7
moqi7 temporarily deployed to issue-triage July 10, 2026 09:55 — with GitHub Actions Inactive
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.

9 participants