Skip to content

chore(ci): refresh the reviewed unit weights and read the complete changed-file list in pr-status (#4140, #4114) - #4155

Merged
schlessera merged 5 commits into
mainfrom
chore/4140-refresh-unit-weights
Nov 17, 2026
Merged

schlessera merged 5 commits into
mainfrom
chore/4140-refresh-unit-weights

Conversation

@schlessera

@schlessera schlessera commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Closes #4140
Closes #4114

What changed

Two small tooling changes as one squash.

Why this shape

One squash saves a lease cycle; the two changes share no file. For #4140 the refresh uses the documented command and a run on main itself, so the weights describe the source they will balance. Per-change reasoning for #4114 is in #4151.

Proof

bun run check:pr --base origin/main

Off-main qualification

Table Complete unit proof step (s) Whole unit job (s)
Old (run 44041605108) 911, 999, 1,179, 1,185 1,058, 1,086, 1,358, 1,396
New (run 44053195432) 858, 866, 928, 1,329 1,048, 1,067, 1,084, 1,455
  • Reading. Three of the four partitions are now within 70 s of each other, where before two ran about 270 s longer than the other two. One partition is an outlier at 1,329 s, and both of its worker processes took about 1,240 s against about 830 s in a sibling, so its files cost more in wall time together than their measured weights add up to. The slowest job did not get faster in this one run (1,455 s against 1,396 s). The table is still the correct one: it weighs every discovered file, where 424 had no weight. Whether the eight confirmation partitions tighten is measured by this PR's own ready confirmation, and the result goes on ci: refresh the reviewed unit weights now that confirmation runs eight partitions #4140.
{"version":1,"kind":"brain-check-pr-receipt","head":"d50a6c78f2b51f3f666264fc109ab3d19c03a2b7","base":"origin/main","mode":"focused","startedAt":"2026-11-17T08:35:36.593Z","finishedAt":"2026-11-17T08:37:08.602Z","checks":[{"name":"all lint and leakage gates","categories":["changeset"],"outcome":"passed","elapsedMs":13101.541496},{"name":"environment documentation","categories":["changeset"],"outcome":"passed","elapsedMs":107.07303500000125},{"name":"pending changeset package names","categories":["changeset"],"outcome":"passed","elapsedMs":74.31615699999747},{"name":"contribution changeset","categories":["changeset"],"outcome":"passed","elapsedMs":21.24138099999982},{"name":"affected fast invariants","categories":["verify","unit"],"outcome":"passed","elapsedMs":78689.538812}]}

Checklist

  • Focused local preflight/behavioral receipts passed; hosted proof is this PR's ready confirmation.
  • Acceptance criteria from the issues are all met, or the gap is named below.
  • A PR touching the core packages carries a recorded independent review of its head, or it touches none of them. This PR touches none.
  • The PR and completed/advanced issues have verified release milestones under docs/process/github.md.
  • A changeset is included, or this changes nothing a consumer can see.
  • No personal data anywhere in the diff — the leakage gate covers the whole tree.
  • The integration contract index or relevant component is updated in this same commit, or nothing in the machine surface moved.
  • Docs under docs/ reflect the change, or nothing documented moved.
  • A fail-closed guard added or changed answers the proportionate-containment checklist in this body, or no guard changed.
  • Provider history stays append-only: nothing on a turn's path changed.

Anything left open

The eight unit job durations from this PR's ready confirmation are recorded on #4140 after it runs. #4152 (a renamed file is matched only under its new path in pr-status) is filed and not addressed here.

🤖 Generated with Claude Code

schlessera and others added 3 commits November 17, 2026 07:53
…overlap (#4114)

pr-status read the changed files with gh pr view --json files, which returns
the first 100. On a larger pull request a moved base's overlap past them was
missed, and an empty overlapsThisPr read as no overlap.

Read the list from the paginated pulls/<n>/files endpoint instead. GitHub ends
that list at 3000 files and a comparison of two commits at 300, so when either
list is cut short baseGained.overlapIncomplete now says which.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…1605108 (#4140)

The weights dated from 2026-11-02 and covered 1,167 of the 1,590 files
default discovery now finds; the 424 unweighted files hold about 1,500
measured seconds. Refreshed with the documented command from exhaustive
main run 44041605108 attempt 1 at 564a1d5. At the measured weights the
eight confirmation partitions planned from the old table cost 472 to
1,084 s; from the new table each costs 766 s.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@schlessera schlessera added this to the 0.45.0 milestone Nov 17, 2026
@schlessera schlessera added type: chore Tooling, CI, release plumbing, dependencies. area: ci CI workflows, the gates they run, release scripts, packaging. labels Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, the gates they run, release scripts, packaging. type: chore Tooling, CI, release plumbing, dependencies.

Projects

None yet

1 participant