Repository navigation
perf(subagents): bound missing Codex rollout discovery - #811
Merged
Merged
Conversation
This was referenced Sep 5, 2026
Juliusolsson05
force-pushed
the
fix/subagent-refresh-coalescing
branch
from
September 6, 2026 00:21
689b110 to
51f47af
Compare
Juliusolsson05
force-pushed
the
perf/codex-child-discovery
branch
from
September 6, 2026 00:21
db0f063 to
64b4b10
Compare
Share a Dirent traversal across unresolved children and cache misses for five seconds. Ignore unrelated parent records, keep known-child tailing independent, and invalidate vanished or changed-root paths. Refs #803
Juliusolsson05
force-pushed
the
perf/codex-child-discovery
branch
from
September 7, 2026 17:04
64b4b10 to
a5539a9
Compare
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Missing Codex child rollouts previously triggered a recursive stat walk for every child on every parent record/poll. This change performs one directory-entry traversal for all unresolved children in a tracker, retries misses at most once per five seconds, and stops unrelated parent records from requesting I/O. Known children retain the existing 1.2-second tail cadence. Deleted paths and changed roots discard stale offsets; symlinks are not followed.
Validation:
npm run typecheck,npm run test:contractandgit diff --checkpass. Fresh main-targeted full CI passed before merge.Tradeoff: a newly available child can wait five seconds plus one poll (1.2 seconds) and scan duration. Misses are never permanent. The budget is per tracker; there is no archive-sized global filename cache and no cross-parent sharing. No settings/protocol migration or edits in A5/B7-owned areas. Plan was committed before code.
Fixes #803
Refs #809
Dependency #809 is merged. This PR now targets main
bb84772a; range-diff confirms its implementation patches are unchanged after rebase. Current head:a5539a92. Fresh CI passed before merge. The user authorized merging once current checks pass on 2026-09-07.Merged with explicit user authorization on 2026-09-07 as
7acc3986after both current-head CI gates passed. No outstanding review feedback. The resolving issue is closed.