Skip to content

perf(ci): resolve small pinned test batches directly - #14638

Merged
vincentkoc merged 2 commits into
mainfrom
perf/ci-small-snapshot-reads
Nov 26, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
perf/ci-small-snapshot-reads

Conversation

@vincentkoc

Copy link
Copy Markdown
Collaborator

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 --check passed.

Human owner: @vincentkoc

@vincentkoc
vincentkoc marked this pull request as ready for review November 26, 2026 03:33
@vincentkoc
vincentkoc enabled auto-merge (squash) November 26, 2026 03:33
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-26T03:33:51.821656Z
We couldn’t complete this review. Comment @codex review to try again.
a404dc3 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@greptile-apps

greptile-apps Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · The PR appears safe to merge; no blocking issue was found.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no blocking issue was found.

Summary

Small batches of up to 32 paths now skip the full tree index when the revision is a full object ID.

  • Small pinned Git reads skip the full-tree listing.

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)
@vincentkoc
vincentkoc merged commit fb1b4c0 into main Nov 26, 2026
52 checks passed
@vincentkoc
vincentkoc deleted the perf/ci-small-snapshot-reads branch November 26, 2026 04:30
vincentkoc added a commit that referenced this pull request Nov 26, 2026
…-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
@morluto morluto added area: build Build, CI, packaging, and publishing performance Performance regressions, scaling limits, and bounded-resource work labels Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build Build, CI, packaging, and publishing performance Performance regressions, scaling limits, and bounded-resource work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants