Repository navigation
perf(ci): resolve small pinned test batches directly - #14638
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
[Medium impact] The PR appears safe to merge; no blocking issue was found. SummarySmall batches of up to 32 paths now skip the full tree index when the revision is a full object ID.
Reviews (2) · Last reviewed commit: "chore(ci): merge the trace acceptance fi..." · Reviewed by Greptile |
* commit '77687702b3d0e375e8698128a5b4746022e8e4f6': test(trace): assert adjustable nesting budget refusals (#14647) refactor(elf): share note reader limit error projection (#14644) refactor(limits): derive help from resolved per-call defaults (#14642) refactor(domain): use known coverage in web bundle reports (#14643) refactor(verify): share canonical output schema assertions (#14640) refactor(mcp): share retained evidence link eligibility (#14639) test(cli): share cancellation command argument construction (#14635) refactor(ci): share completeness guard grouping transitions (#14637)
…-beta3-20261126 * commit 'd63982890e70c55b09704249cde0327537e610f0': refactor(views): share default page request fields (#14633) test(dotnet): stop expecting required_value for the lower-bound path-depth refusal feat(limits)!: raise disk-backed admission defaults for large ordinary targets (#14653) feat(artifacts): back archive member counts with the artifact.member_count setting (#14650) build(deps): update Knip to 6.46.1 (#14641) fix(native)!: report details.limit for remaining native reader budgets and make BEAM table rows adjustable (#14631) perf(ci): omit unused PR associations from timing queries (#14636) perf(ci): resolve small pinned test batches directly (#14638) # Conflicts: # tests/acceptance/dotnetBundleJourney.test.ts
Summary
The classifier probes changed test files at the PR head for macOS gates. Small probes used to enumerate the full Git tree before reading even one file. For up to 32 paths at a full commit or tree ID, the existing batched Git reader now resolves each revision and path directly. Larger batches and symbolic revisions retain the tree index.
Evidence and regression coverage
Replayed 100 first-parent revisions as PRs. Sixty reached the changed-test source lookup. All sixty read at most 32 paths, with a median of two. Each such read avoids one full tree enumeration, which produced 940,345 bytes at the audit revision.
Compared the old and new helpers on the same revisions across eight alternating measurements per case. Median local reads for one, five and nine paths went from 75.5 to 29.6 ms, 137.9 to 51.8 ms, and 100.4 to 41.8 ms, respectively. The 105-path case retained the indexed lookup. All four returned identical blob maps and complete PR plans.
All 466 change-scope and Darwin-discovery tests passed. The invalid UTF-8 path fixture now exercises both lookup modes. Formatting and
git diff --checkpassed.Human owner: @vincentkoc