perf(subagents): bound missing Codex rollout discovery - #811
Open
Juliusolsson05 wants to merge 2 commits into
Open
perf(subagents): bound missing Codex rollout discovery#811Juliusolsson05 wants to merge 2 commits into
Juliusolsson05 wants to merge 2 commits into
Conversation
This was referenced Sep 5, 2026
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
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
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.
Dependency: based on
fix/subagent-refresh-coalescing/ #809. Review this PR's incremental diff. Merge #809 first, then retarget this PR to main and rerun checks. No merge is currently authorized.Validation:
npm run typecheck,npm run test:contractandgit diff --checkpass. Both full CI gates pass after the main rebase.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
Current validation: rebased onto main
f7507980(toolkit #812 and MCP repair #818), head64b4b105. Source changes from the earlier implementation are preserved; both required CI gates pass on this head (CI run). No merge is authorized.