Repository navigation
ci: refresh the recorded Node test times - #12013
github-actions[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
There was a problem hiding this comment.
Changes requested: the refresh follows the record's rules and the leg split checks out, but one claim in the description does not hold.
- The record misses the cited run's times for the 132 test files that
test-node (2)reported after a 65,536-character output line, so 39 entries (for examplepackages/cli/clients/cli/commands/component-package.test.mjs, 0.7 s recorded against 1.4 s measured) keep older times and "every measured file takes that run's time" is false; re-record from each Node leg's complete job log, or narrow that sentence.
Later refreshes will drop the same files while that line is printed, so the refresh should read each test-node (N) job's own log, or fail when a leg yields fewer files than its Test Files total. The four drifted entries, full coverage and the rule that which files run never depends on the record all check out.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim: four files ran far past their entries in main's run (render 250 s vs 97.9 s, theme palette 169.6 s vs 107.5 s, theme preview 118.2 s vs 55.6 s, packed old-core build 176.9 s vs 88.6 s): verified; the run's leg logs and the drift rule name exactly these four.
- Claim: the Node legs split by recorded time, and which files run never depends on the record: verified; both records put the same 1,530 files in the legs, each exactly once.
- Claim: the record is regenerated from the Node legs of main's full unit run with the record command, durations only: verified; only the durations record changes, and a replay of the command matches its keys and order.
- Claim: 1530 of 1530 Node test files recorded: verified.
- Claim: every measured file takes that run's time: false; 39 entries from
test-node (2)keep older times. - Claim: product and runtime behavior unchanged, only the record changes: verified.
- Claim: no CI impact beyond better balance: verified as a prediction; main's longest Node leg plans about 138 s less test time.
- Claim: no public API, product behavior, visual direction or policy change: verified.
- Changesets: none.
- File
scripts/vitest-node-durations.json: the finding above.
da519e7 to
b1f05db
Compare
There was a problem hiding this comment.
Changes requested: the refresh follows the record's rules and the leg split checks out, but one claim in the description still does not hold.
- The record misses the cited run's times for the 132 test files that
test-node (4)reported after a 65,536-character output line frompackages/cli/foundation/debug/on-event.test.mjs, so 39 entries (for examplepackages/cli/clients/cli/commands/component-package.test.mjs, 0.7 s recorded against 1.3 s measured) keep older times and "every measured file takes that run's time" is false; re-record from each Node leg's complete job log, or narrow that sentence.
This is the same loss as in the earlier refresh, now in another leg: while that test prints the line, every refresh drops the tail of whichever leg runs it, so the refresh workflow should read each test-node (N) job's own log, or fail when a leg yields fewer files than its Test Files total. The two drifted entries, full coverage and the rule that which files run never depends on the record all check out.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: the packed gather-cache installed test ran 192.4 s against its recorded 126.5 s in main's run: verified; the drift rule over the run's leg logs names it.
- Claim: the packed search-catalog test ran 164.2 s against its recorded 73.4 s: verified; the drift rule names it, and no other file.
- Claim: the Node legs split by recorded time, and which files run never depends on the record: verified; both records put the same 1,536 files in the legs, each exactly once.
- Claim: the record is regenerated from the Node legs of main's full unit run with the record command, durations only: verified; only the durations record changes, and a replay of the command matches its keys and order.
- Claim: 1536 of 1536 Node test files recorded: verified.
- Claim: every measured file takes that run's time: false; 39 entries from
test-node (4)keep older times. - Claim: product and runtime behaviour unchanged, only the record changes: verified.
- Claim: no CI impact beyond better balance: verified as a prediction; main's longest Node leg carries about 236 s less test time.
- Claim: no public API, product behaviour, visual direction or policy change: verified.
- Claim: no product changes needed removing or splitting: verified; the record is the only change.
- Claim: the public text carries no internal context: verified.
- Claim: opened by the record refresh after a full unit run of main, and a later refresh updates this pull request: verified; one bot commit on the fixed branch replaced the earlier refresh.
- Changesets: none.
- File
scripts/vitest-node-durations.json: the finding above.
b1f05db to
8437a04
Compare
There was a problem hiding this comment.
Changes requested: the refresh follows the record's rules and the leg split checks out, but one claim in the description still does not hold.
- The record misses the cited run's times for the 132 test files that
test-node (4)reported after a 65,536-character output line frompackages/cli/foundation/debug/on-event.test.mjs, so 41 entries (for examplepackages/cli/clients/cli/commands/component-package.test.mjs, 0.7 s recorded against 2.0 s measured) keep older times and "every measured file takes that run's time" is false; re-record from each Node leg's complete job log, or narrow that sentence.
The refresh job's record step read only 1,412 of the run's 1,544 results, and every refresh loses results this way while that test prints its line, so the workflow should read each test-node (N) job's own log, or fail when a leg yields fewer files than its Test Files total. The two drifted entries, full coverage and the rule that which files run never depends on the record all check out.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: the theme-edit chaos test ran 130.2 s against its recorded 65.8 s in main's run: verified; the drift rule over the run's leg logs names it.
- Claim: the packed gather-cache installed test ran 204.2 s against its recorded 126.5 s: verified; the drift rule names it, and no other file.
- Claim: the failure before the change is those two entries: verified.
- Claim: the Node legs split by recorded time, and which files run never depends on the record: verified; both records put the same 1,536 files in the legs, each exactly once.
- Claim: the record is regenerated from the Node legs of main's full unit run with the record command, durations only: verified; only the durations record changes, and a replay of the command matches its keys and order.
- Claim: 1536 of 1536 Node test files recorded: verified.
- Claim: every measured file takes that run's time: false; 41 entries from
test-node (4)keep older times. - Claim: product and runtime behaviour unchanged, only the record changes: verified.
- Claim: no CI impact beyond better balance: verified as a prediction; main's longest Node leg carries about 362 s less test time.
- Claim: no public API, product behaviour, visual direction or policy change: verified.
- Claim: no product changes needed removing or splitting: verified; the record is the only change.
- Claim: the public text carries no internal context: verified.
- Claim: opened by the record refresh after a full unit run of main, and a later refresh updates this pull request: verified; one bot commit on the fixed branch replaced the earlier refresh.
- Changesets: none.
- File
scripts/vitest-node-durations.json: the finding above.
8437a04 to
55af7ee
Compare
There was a problem hiding this comment.
Changes requested: the refresh follows the record's rules and the leg split checks out, but one claim in the description still does not hold.
- The record misses the cited run's times for the 131 test files that
test-node (5)reported after a 65,536-character output line frompackages/cli/foundation/debug/on-event.test.mjs, so 36 entries (for examplepackages/cli/clients/cli/commands/component-package.test.mjs, 0.7 s recorded against 1.2 s measured) keep older times and "every measured file takes that run's time" is false; re-record from each Node leg's complete job log, or narrow that sentence.
The refresh job's record step read only 1,467 of the run's 1,598 results, the same loss as at the earlier heads, and every refresh repeats it while that test prints its line, so the workflow should read each test-node (N) job's own log, or fail when a leg yields fewer files than its Test Files total. The three drifted entries, coverage and the rule that which files run never depends on the record all check out.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: the render test ran 177.2 s against its recorded 97.9 s in main's run: verified; the drift rule over the run's leg logs names it.
- Claim: the previous-minor door conformance test ran 159.2 s against its recorded 98 s: verified; the drift rule names it.
- Claim: the nested packed gather-cache test ran 181.7 s against its recorded 93.1 s: verified; the drift rule names it, and no other file.
- Claim: a missing or low entry costs leg balance and can make a leg run long: verified; an unrecorded file books at the 90th percentile and the legs pack by the record.
- Claim: the failure before the change is those three entries: verified.
- Claim: the Node legs split by recorded time, and which files run never depends on the record: verified; both records put the same 1,591 files in the legs, each exactly once.
- Claim: the record is regenerated from the Node legs of main's full unit run with the record command, durations only: verified; only the durations record changes, and a replay of the command matches its keys and order.
- Claim: 1590 of 1591 Node test files recorded: verified; the one left out reached main after the run.
- Claim: every measured file takes that run's time: false; 36 entries from
test-node (5)keep older times. - Claim: product and runtime behaviour unchanged, only the record changes: verified.
- Claim: no CI impact beyond better balance: verified as a prediction; main's longest Node leg carries about 183 s less test time.
- Claim: no components in scope and no public API, product behaviour, visual direction or policy change: verified.
- Claim: no product changes needed removing or splitting: verified; the record is the only change.
- Claim: the public text carries no internal context: verified.
- Claim: opened by the record refresh after a full unit run of main, and a later refresh updates this pull request: verified; one bot commit on the fixed branch replaced the earlier refresh.
- Changesets: none.
- File
scripts/vitest-node-durations.json: the finding above.
55af7ee to
15c6078
Compare
There was a problem hiding this comment.
Changes requested: the refresh follows the record's rules and the leg split checks out, but one claim in the description still does not hold.
- The record misses the cited run's times for the 67 test files that
test-node (1)reported after a 65,536-character output line frompackages/cli/foundation/debug/on-event.test.mjs, so 23 entries (for examplepackages/cli/api/theme-edit/theme-picture-runner.test.mjs, 1.1 s recorded against 11.7 s measured) keep older times and "every measured file takes that run's time" is false; re-record from each Node leg's complete job log, or narrow that sentence.
The refresh job's record step read only 1,537 of the run's 1,604 results, the same loss as at every earlier head, and every refresh repeats it while that test prints its line, so the workflow should read each test-node (N) job's own log, or fail when a leg yields fewer files than its Test Files total. The three drifted entries, coverage and the rule that which files run never depends on the record all check out.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: the Node legs balance by the recorded test times: verified; the sequencer and the Main leg planner read the record.
- Claim: a missing or low entry costs leg balance and can make a leg run long: verified; an unrecorded file books at the 90th percentile and the legs pack by the record.
- Claim: the render test ran 188.4 s against its recorded 97.9 s in main's run: verified; the drift rule over the run's leg logs names it.
- Claim: the theme-chaos test ran 150.1 s against its recorded 65.8 s: verified; the drift rule names it.
- Claim: swizzle-proof slice 8 ran 304.8 s against its recorded 180.3 s: verified; the drift rule names it, and no other file.
- Claim: the Node legs split by recorded time, and which files run never depends on the record: verified; both records put the same 1,604 files in the legs, each exactly once, at 8 and 12 legs.
- Claim: the record is regenerated from the Node legs of main's full unit run with the record command, durations only: verified; only the durations record changes, and a replay of the command matches its keys and order.
- Claim: the failure before the change is the entries above: verified.
- Claim: 1596 of 1596 Node test files recorded: verified.
- Claim: every measured file takes that run's time: false; 23 entries from
test-node (1)keep older times. - Claim: product and runtime behaviour unchanged, only the record changes: verified.
- Claim: no CI impact beyond better balance: verified as a prediction; main's slowest of twelve Node legs carries about 200 s less test time.
- Claim: no components in scope and no public API, product behaviour, visual direction or policy change: verified.
- Claim: no product changes needed removing or splitting: verified; the record is the only change.
- Claim: the public text carries no internal context: verified.
- Claim: opened by the record refresh after a full unit run of main, and a later refresh updates this pull request: verified; one bot commit on the fixed branch replaced the earlier refresh.
- Changesets: none.
- File
scripts/vitest-node-durations.json: the finding above.
15c6078 to
ec274f4
Compare
There was a problem hiding this comment.
Changes requested: the three slow files this refresh corrects did drift, but this record cannot land as it stands.
- With this record a pull request's Node plan needs 1,465 s in its longest of eight legs, past the 1,387 s budget, so every pull request's
test-nodelegs would stop with "Node legs over budget" andscripts/vitest-node-legs.test.mjs("fits the recorded Node suite inside the budget") fails, which makes the description's "CI impact: none" false; the slowest files (packed-gather-cache.npm-packed.test.mjs,render.test.mjs,copy.test.mjs) need to get faster or split, or the eight-leg cap needs an owner decision, before these times land. - The cited run tested main before #12097 made theme-edit pictures take one browser start, so 363 of the entries #12097 re-recorded go back to slower times (for example
theme-chaos.test.mjsat 126.1 s, which #12097's CI ran in 21.0 s) and four of the seven drift lines in the description are not drift; re-record from a full unit run of main at or after #12097. - "Every measured file takes that run's time" is false, because the 66 results
test-node (11)printed after a 65,536-character output line frompackages/cli/foundation/debug/on-event.test.mjsnever reached the record and 28 entries keep older times (for examplescripts/check-theme-template.test.mjsat 0.5 s against 1.3 s); re-record from each Node leg's own job log, or narrow the sentence.
The leg split itself checks out: both records send every file to exactly one leg, and Main's twelve-leg plan still fits. Running the pull-request plan in the refresh job before it pushes would stop a record like this one from being opened.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: the Node legs balance by the recorded test times: verified; the sequencer and both leg planners read the record.
- Claim: a missing or low entry costs leg balance and can make a leg run long: verified; an unrecorded file is booked at the 90th percentile and the legs pack by the record.
- Claim: the render test ran 210.2 s against its recorded 97.9 s: verified in the run's leg log.
- Claim: the swizzle copy test ran 92.1 s against 23.8 s: verified in the run's leg log.
- Claim: the theme-chaos test ran 126.1 s against 16.6 s: measured as stated, but on code from before #12097, whose CI ran it in 21.0 s, so it is not drift.
- Claim: the twin-letters theme test ran 95.7 s against 9 s: the same (11.3 s in #12097's CI).
- Claim: the missed-summary theme test ran 156 s against 77.1 s: the same (86.5 s in #12097's CI).
- Claim: the results-mode theme test ran 85.7 s against 11.4 s: the same (12.3 s in #12097's CI).
- Claim: the packed gather-cache test ran 236.3 s against 103.8 s: verified in the run's leg log.
- Claim: the legs split by recorded time and which files run never depends on the record: verified; both records put every file in exactly one leg at 8 and 12 legs, and the sequencer tests pass.
- Claim: the record is regenerated from the Node legs of main's full unit run with the record command, durations only: verified, but that run tested main five commits before the base.
- Claim: the failure before the change is the entries above: holds for three of the seven entries.
- Claim: 1638 of 1638 Node test files recorded: verified.
- Claim: every measured file takes that run's time: false; 28 entries from one leg keep older times.
- Claim: product and runtime behaviour unchanged, only the record changes: verified.
- Claim: no CI impact beyond better balance: false; the pull-request Node plan goes over its budget.
- Claim: no components in scope and no public API, product behaviour, visual direction or policy change: verified.
- Claim: no product changes needed removing or splitting: verified; the record is the only change.
- Claim: the public text carries no internal context: verified.
- Claim: opened by the record refresh after a full unit run of main, and a later refresh updates this pull request: verified; the scheduled refresh replaced the earlier head on the fixed branch.
- Changesets: none.
- File
scripts/vitest-node-durations.json: the three findings above.
ec274f4 to
d0b6ea5
Compare
There was a problem hiding this comment.
Changes requested: the refreshed record itself checks out, but the description claims more than the record delivers.
- "Every measured file takes that run's time" is false, because
test-node (1)printed a 65,536-character output line frompackages/cli/foundation/debug/on-event.test.mjs, the 66 results after it never reached the record (Recorded 1600 Node test filesagainst 1,666 in the leg logs), and 23 entries keep older times, so re-record from each Node leg's own job log or narrow the sentence.
With this record a pull request's Node plan fits in 8 legs (longest 1,318 s of the 1,387 s budget, down from 9 legs), Main's twelve legs plan at most 1,074 s, and every file still runs in exactly one leg. The four drift lines are real, and no entry re-recorded on main since the cited run is overwritten.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: the Node legs balance by the recorded test times: verified; the sequencer and both leg planners read the record.
- Claim: a missing or low entry costs leg balance and can make a leg run long: verified; an unrecorded file is booked at the 90th percentile and the legs pack by the record.
- Claim: the third render templates test ran 137 s against its recorded 63.6 s: verified in the run's first Node leg.
- Claim: the render test ran 185.4 s against its recorded 97.9 s: verified in the run's eighth Node leg.
- Claim: the repeatable-answers theme test ran 126.6 s against its recorded 35.1 s: verified in the run's first Node leg.
- Claim: the theme preview test ran 155.6 s against its recorded 78.3 s: verified in the run's ninth Node leg, past the drift rule after its leg's slowdown.
- Claim: the legs split by recorded time and which files run never depends on the record: verified; both records put every file in exactly one leg at 8, 9 and 12 legs, and the sequencer tests pass.
- Claim: the record is regenerated from the Node legs of main's full unit run with the record command, durations only: verified; replaying the command reproduces the file byte for byte, given the lost leg tail below.
- Claim: the failure before the change is the entries above: verified; the drift rule names exactly those four files.
- Claim: 1658 of 1658 Node test files recorded: verified; the pull-request plan finds no file without a recorded time.
- Claim: every measured file takes that run's time: false; 23 entries from the first Node leg keep older times.
- Claim: product and runtime behaviour unchanged, only the record changes: verified.
- Claim: no CI impact beyond better balance: verified; the pull-request plan fits at 8 legs instead of 9, Main's slowest leg plans less, and the leg tests pass.
- Claim: no components in scope and no public API, product behaviour, visual direction or policy change: verified.
- Claim: no product changes needed removing or splitting: verified; the record is the only change.
- Claim: the public text carries no internal context: verified.
- Claim: opened by the record refresh after a full unit run of main, and a later refresh updates this pull request: verified; the scheduled refresh replaced the earlier head on the fixed branch.
- Changesets: none.
- File
scripts/vitest-node-durations.json: the finding above.
d0b6ea5 to
a66a850
Compare
There was a problem hiding this comment.
Changes requested: the refreshed record itself checks out, but the description claims more than the record delivers.
- "Every measured file takes that run's time" is false, because
test-node (7)printed a 65,536-character output line frompackages/cli/foundation/debug/on-event.test.mjs, the 67 results after it never reached the record (Recorded 1601 Node test filesagainst 1,668 in the leg logs), and 27 entries keep older times, for examplepackages/cli/api/theme-edit/theme-picture-runner.test.mjsat 1.7 s against the 12.7 s it took, so re-record from each Node leg's own job log or narrow the sentence.
With this record a pull request's Node plan fits in 8 legs (longest 1,328 s of the 1,387 s budget, down from 9 legs), Main's twelve legs plan at most 1,083 s, and every file still runs in exactly one leg. The drift line is real, and no entry re-recorded on main since the cited run is overwritten.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: the Node legs balance by the recorded test times: verified; the sequencer and both leg planners read the record.
- Claim: a missing or low entry costs leg balance and can make a leg run long until the record is refreshed: verified; an unrecorded file is booked at the 90th percentile and the legs pack by the record.
- Claim: the packed old-core theme build test ran 184.8 s against its recorded 88.6 s: verified in the run's seventh Node leg.
- Claim: the legs split by recorded time and which files run never depends on the record: verified; both records put every file in exactly one leg at 8, 9 and 12 legs, and the sequencer tests pass.
- Claim: the record is regenerated from the Node legs of main's full unit run with the record command, durations only: verified; replaying the command reproduces the file byte for byte, given the lost leg tail below.
- Claim: the failure before the change is the entry above: verified; the drift rule names exactly that file.
- Claim: 1660 of 1660 Node test files recorded: verified; the pull-request plan finds no file without a recorded time.
- Claim: every measured file takes that run's time: false; 27 entries from the seventh Node leg keep older times.
- Claim: product and runtime behaviour unchanged, only the record changes: verified.
- Claim: no CI impact beyond better balance: verified; the pull-request plan fits at 8 legs instead of 9, Main's slowest leg plans less, and the leg tests pass.
- Claim: no components in scope and no public API, product behaviour, visual direction or policy change: verified.
- Claim: no product changes needed removing or splitting: verified; the record is the only change.
- Claim: the public text carries no internal context: verified.
- Claim: opened by the record refresh after a full unit run of main, and a later refresh updates this pull request: verified; the scheduled refresh replaced the earlier head on the fixed branch.
- Changesets: none.
- File
scripts/vitest-node-durations.json: the finding above.
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet.
The refreshed record is the refresh command's exact output over the twelve complete Node leg logs of main's full unit run. With it, Main's slowest Node leg plans about 11.2 minutes on the 1.28-times-slower runner, under the twelve-minute line that scripts/vitest-node-legs.test.mjs enforces, and a pull request still fits its budget at nine Node legs. The CI and Lint runs on this head are waiting for approval, so someone with write access needs to approve them (or close and reopen the pull request, as the refresh workflow describes) so the record's checks run here before merge.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: the Node legs balance by the recorded test times: verified; the leg sequencer and both leg planners read the record.
- Claim: a missing or low entry costs leg balance and can make a leg run long until the record is refreshed: verified; an unrecorded file is booked at the ninetieth percentile, and split by the current record the run's slowest of Main's twelve legs carried 1,452 s of tests against a fastest of 639 s.
- Claim: the record timed 1,625 of 1,729 Node test files (93.9%), below the 95% bar: verified by the refresh's own check over the run.
- Claim: 104 of 1,729 files (6%) have no recorded time, each booked at the ninetieth percentile, and nothing fails on it: verified; the check exits 0 and the coverage and admission tests pass.
- Claim: the ten heaviest unrecorded files and their times: verified; the check names the same ten with the same times.
- Claim: the second render-templates test ran 102.4 s against its recorded 30.3 s: verified in the run's leg logs.
- Claim: the render test ran 263.1 s against its recorded 97.9 s: verified in the run's leg logs.
- Claim: the swizzle copy test ran 95.9 s against its recorded 23.8 s: verified in the run's leg logs.
- Claim: the theme-edit padding-modes colors-mode test ran 181 s against its recorded 59.1 s: verified in the run's leg logs.
- Claim: the packed old-core theme build test ran 225.6 s against its recorded 90.2 s: verified in the run's leg logs.
- Claim: the packed gather-cache changes test ran 214.1 s against its recorded 119.1 s: verified in the run's leg logs.
- Claim: the legs split by recorded time and which files run never depends on the record: verified; the sequencer and split tests pass, and the split puts every file in exactly one leg.
- Claim: the record is regenerated from the Node legs of main's full unit run: verified; a successful dispatched full unit run of main, and replaying the refresh over its twelve complete leg logs reproduces the file byte for byte.
- Claim: each leg's times are divided by its slowdown (the median, never below 1), new files take their time, and a recorded file changes only when 1.5 times off and at least 5 s away: verified; an independent recomputation of that rule gives the same 1,737 entries.
- Claim: durations only: verified; every changed line is a test path with its seconds.
- Claim: the failure before the change is the entries above: verified.
- Claim: 1,729 of 1,729 Node test files recorded (100%) after the change: verified.
- Claim: new and far-off files take that run's time and every other entry keeps its own: verified; the record also drops two entries for test files main no longer has and writes whole numbers such as 1.0 as 1, which changes no time.
- Claim: product and runtime behaviour unchanged, only the record changes: verified.
- Claim: CI impact none, the Node legs balance better: verified; no workflow, action or CI script changes, Main still plans twelve legs, now 11.2 minutes on the slow runner, a pull request still plans nine inside its budget, and split by the new record the run's slowest of Main's legs would carry 1,124 s against a fastest of 815 s.
- Claim: no components in scope: verified.
- Claim: no public API, product behaviour, visual direction or policy change, product changes removed or split, and no internal context in public text: verified; the record is the only change.
- Claim: opened by the record refresh after a full unit run of main, and a later refresh updates this pull request instead of opening another: verified; one bot commit force-pushed to the open pull request's fixed branch.
- Changesets: none.
- File
scripts/vitest-node-durations.json: clear.
6cd2040 to
00264da
Compare
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet; its CI and Lint runs wait for someone with write access to approve them.
This refresh re-records the Node test times from main's latest full unit run: the record is the refresh command's exact output over that run's twelve complete Node leg logs, and with it Main's slowest Node leg plans 11.2 minutes on the slower runner, under the twelve-minute line, while a pull request's eight Node legs fit their budget.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: before the refresh the record timed 1,625 of 1,748 Node test files (92.9%), below the 95% bar: verified against the run's Node leg logs.
- Claim: 123 files (7%) had no recorded time, past the 5% line: verified.
- Claim: the ten heaviest unrecorded files and their times in main's run: verified, all ten match the logs.
- Claim: two recorded render tests ran far past their entries (105.2 s against 21 s, 329.6 s against 97.9 s): verified; no other file passes the drift rule.
- Claim: the record is regenerated from the Node legs of a full unit run of main: verified; the run is a successful Main validation of a main commit, and every leg's log is read to its Vitest summary.
- Claim: each leg's times are divided by its slowdown, and a recorded entry changes only when 1.5 times off and at least 5 s away: verified in the refresh code; all 61 re-timed entries meet the rule.
- Claim: durations only: verified; every added line is a test file and its seconds, and the header is unchanged.
- Claim: afterwards 1,746 of 1,748 files are recorded (99.8%): verified; the two left are test files added after the run's commit.
- Claim: new and far-off files take that run's time and every other entry keeps its own: verified; replaying the refresh reproduces the record byte for byte.
- Claim: only the record changes, with no CI impact and better-balanced Node legs: verified; no workflow or script changes and every leg-plan test passes, the only CI effect is that a pull request starts 8 Node legs instead of 9, and on that run's times Main's slowest leg drops from 1,266 s to 1,147 s.
- Claim: no component scope and no API, behavior or policy change: verified.
- File
scripts/vitest-node-durations.json: clear.
3519d68 to
8e43139
Compare
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet; its CI and Lint runs wait for someone with write access to approve them.
This refresh re-records the Node test times from main's latest full unit run: the record is the refresh command's exact output over that run's twelve complete Node leg logs, and with it Main's slowest Node leg plans 11.0 minutes on the slower runner, under the twelve-minute line, while a pull request's eight Node legs fit their budget.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: before the refresh the record timed 1,625 of 1,761 Node test files (92.2%), below the 95% bar: verified against the run's Node leg logs.
- Claim: 136 files (7.7%) had no recorded time, past the 5% line: verified.
- Claim: the ten heaviest unrecorded files and their times in main's run: verified, all ten match the logs.
- Claim: four recorded files ran far past their entries, with the stated times: verified; no other file passes the drift rule.
- Claim: the record is regenerated from the Node legs of a full unit run of main: verified; the run is a successful Main validation of a main commit, and every leg's log is read to its Vitest summary.
- Claim: each leg's times are divided by its slowdown, and a recorded entry changes only when 1.5 times off and at least 5 s away: verified in the refresh code; all 54 re-timed entries meet the rule.
- Claim: durations only: verified; every added line is a test file and its seconds, and the header is unchanged.
- Claim: afterwards 1,761 of 1,761 files are recorded (100%): verified.
- Claim: new and far-off files take that run's time, and every other entry keeps its own: verified; replaying the refresh reproduces the record byte for byte, and the only other change drops two entries for test files that no longer exist.
- Claim: only the record changes, with no CI impact and better-balanced Node legs: verified; no workflow or script changes and every leg-plan test passes; a pull request now starts 8 Node legs instead of 9, and on that run's times, each leg's slowdown taken out, Main's slowest leg drops from 1,111 s to 1,059 s.
- Claim: no component scope, no API, behavior or policy change, and no internal context: verified.
- Claim: a later refresh updates this pull request instead of opening another: verified; the refresh force-updates its fixed branch.
- File
scripts/vitest-node-durations.json: clear.
8e43139 to
da85ae0
Compare
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet; its CI and Lint runs wait for someone with write access to approve them.
This refresh re-records the Node test times from main's latest full unit run: the record is the refresh command's exact output over that run's twelve complete Node leg logs, and with it Main's slowest Node leg plans 11.2 minutes on the slower runner, under the twelve-minute line, while a pull request's nine Node legs fit their budget.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: before the refresh the record timed 1,625 of 1,761 Node test files (92.2%), below the 95% bar: verified against the run's Node leg logs.
- Claim: 136 files (7.7%) had no recorded time, past the 5% line: verified.
- Claim: the ten heaviest unrecorded files and their times in main's run: verified, all ten match the logs.
- Claim: six recorded files ran far past their entries, with the stated times: verified; no other file passes the drift rule.
- Claim: the record is regenerated from the Node legs of a full unit run of main: verified; the run is a successful Main validation of this pull request's base commit, and every leg's log is read to its Vitest summary.
- Claim: each leg's times are divided by its slowdown, and a recorded entry changes only when 1.5 times off and at least 5 s away: verified in the refresh code; all 58 re-timed entries meet the rule.
- Claim: durations only: verified; every changed line is a test file and its seconds, and the header is unchanged.
- Claim: afterwards 1,761 of 1,761 files are recorded (100%): verified.
- Claim: new and far-off files take that run's time, and every other entry keeps its own: verified; replaying the refresh reproduces the record byte for byte, and the only other change drops two entries for test files that no longer exist.
- Claim: only the record changes, with no CI impact and better-balanced Node legs: verified; no workflow or script changes and every leg-plan test passes; on that run's times, each leg's slowdown taken out, Main's slowest leg drops from 1,265 s to 1,129 s and a pull request's from 1,439 s to 1,309 s.
- Claim: no component scope, no API, behavior or policy change, and no internal context: verified.
- Claim: a later refresh updates this pull request instead of opening another: verified; the refresh force-updates its fixed branch and edits the open pull request.
- File
scripts/vitest-node-durations.json: clear.
da85ae0 to
b955260
Compare
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet; its CI and Lint runs wait for someone with write access to approve them or reopen the pull request.
This refresh re-records the Node test times from main's latest full unit run: the record is the refresh command's exact output over that run's twelve complete Node leg logs, and with it Main's slowest Node leg plans 10.9 minutes on the slower runner, under the twelve-minute line, while a pull request's Node legs fit their budget at eight legs.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: before the refresh the record timed 1,625 of 1,763 Node test files (92.1%), below the 95% bar: verified against the run's Node leg logs.
- Claim: 138 files (7.8%) had no recorded time, past the 5% line: verified.
- Claim: the ten heaviest unrecorded files and their times in main's run: verified, all ten match the logs.
- Claim: five recorded files ran far past their entries, with the stated times: verified; no other file passes the drift rule.
- Claim: the record is regenerated from the Node legs of a full unit run of main: verified; the run is a successful Main validation of main's commit just before this pull request's base, which differs from the base only in one spec document, and every leg's log is read to its Vitest summary.
- Claim: each leg's times are divided by its slowdown, and a recorded entry changes only when 1.5 times off and at least 5 s away: verified in the refresh code; all 58 re-timed entries meet the rule.
- Claim: durations only: verified; every changed line is a test file and its seconds, and the header is unchanged.
- Claim: afterwards 1,763 of 1,763 files are recorded (100%): verified.
- Claim: new and far-off files take that run's time, and every other entry keeps its own: verified; replaying the refresh reproduces the record byte for byte, and the only other change drops two entries for test files that no longer exist.
- Claim: only the record changes, with no CI impact from workflows or scripts and better-balanced Node legs: verified; no workflow or script changes and every leg-plan test passes; on that run's times, each leg's slowdown taken out, the gap between Main's slowest and fastest legs narrows from 320 s to 258 s, and a pull request now plans 8 Node legs instead of 9, inside its budget.
- Claim: no component scope, no API, behavior or policy change, and no internal context: verified.
- Claim: a later refresh updates this pull request instead of opening another: verified; the refresh force-updates its fixed branch and edits the open pull request.
- File
scripts/vitest-node-durations.json: clear.
b955260 to
ff44cb6
Compare
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet; its CI and Lint runs wait for someone with write access to approve them or reopen the pull request.
This refresh re-records the Node test times from main's latest full unit run: the record is the refresh command's exact output over that run's twelve complete Node leg logs, and with it Main's slowest Node leg plans 10.7 minutes on the slower runner, under the twelve-minute line, while a pull request's Node legs fit their budget at eight legs.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: before the refresh the record timed 1,625 of 1,765 Node test files (92%), below the 95% bar: verified against the run's Node leg logs.
- Claim: 140 files (7.9%) had no recorded time, past the 5% line: verified.
- Claim: the ten heaviest unrecorded files and their times in main's run: verified, all ten match the logs.
- Claim: three recorded files ran far past their entries, with the stated times: verified; no other file passes the drift rule.
- Claim: the record is regenerated from the Node legs of a full unit run of main: verified; the run is a successful Main validation of this pull request's base commit, and every leg's log is read to its Vitest summary.
- Claim: each leg's times are divided by its slowdown, and a recorded entry changes only when 1.5 times off and at least 5 s away: verified in the refresh code; all 65 re-timed entries meet the rule.
- Claim: durations only: verified; every changed line is a test file and its seconds, and the header is unchanged.
- Claim: afterwards 1,765 of 1,765 files are recorded (100%): verified.
- Claim: new and far-off files take that run's time, and every other entry keeps its own: verified; replaying the refresh reproduces the record byte for byte, and the only other change drops two entries for test files that no longer exist.
- Claim: only the record changes, with no CI impact from workflows or scripts and better-balanced Node legs: verified; no workflow or script changes and every leg-plan test passes; on that run's times, each leg's slowdown taken out, the gap between Main's slowest and fastest legs narrows from 476 s to 441 s, and a pull request now plans 8 Node legs instead of 9, inside its budget.
- Claim: no component scope, no API, behavior or policy change, and no internal context: verified.
- Claim: a later refresh updates this pull request instead of opening another: verified; the refresh force-updates its fixed branch and edits the open pull request.
- File
scripts/vitest-node-durations.json: clear.
ff44cb6 to
b210cc5
Compare
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet. The refreshed record is the refresh job's exact output for main's full unit run, every Node test file now has a recorded time, and with it Main's slowest Node leg plans about 11.3 minutes on the slower runner, under the twelve-minute limit that closed this pull request at an earlier head.
Next step: someone with write access approves the waiting CI and Lint runs, or reopens the pull request, so CI runs on this head.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: the old record timed 1,625 of 1,766 Node test files (92%), below the 95% bar, and 141 (7.9%) had no time: verified by replaying the refresh over the run's Node leg logs.
- Claim: the ten heaviest unrecorded files and their times: verified, identical in the replay.
- Claim: six recorded files ran far past their entries, with the listed times: verified, identical in the replay.
- Claim: the record is regenerated from the Node legs of main's full unit run, each leg's slowdown taken out, and only new or far-off entries change: verified, the replay reproduces the file byte for byte.
- Claim: after the change all 1,766 Node test files have a time and every other entry keeps its own: verified; two entries for test files no longer in the tree also leave the record.
- Claim: only the record changes, with no product behavior or public API change: verified, one data file changes.
- Claim: no workflow, action or CI script changes, and the Node legs balance better: verified; on the run's times the slowest legs shorten and the gap between legs narrows at the same leg counts.
- Claim: the record refresh opened this pull request after main's full unit run, and its public text carries no internal context: verified; the one commit is the refresh bot's on its fixed branch, and the added lines, title and body hold no internal reference.
- File
scripts/vitest-node-durations.json: clear; the leg-plan, split and refresh tests pass on it, including Main's twelve-minute check.
b210cc5 to
59c9db7
Compare
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet. The refreshed record is the refresh job's exact output for main's full unit run, 1,872 of 1,873 Node test files now have a recorded time, and with it Main's slowest Node leg plans about 11.4 minutes on the slower runner, under the twelve-minute limit that closed this pull request at an earlier head.
Next step: someone with write access approves the waiting CI and Lint runs, or reopens the pull request, so CI runs on this head.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: the old record timed 1,716 of 1,873 Node test files (91.6%), below the 95% bar, and 157 (8.3%) had no time, each booked at the ninetieth percentile with nothing failing on it: verified by replaying the refresh over the run's Node leg logs.
- Claim: the ten heaviest unrecorded files and their times: verified, identical in the replay.
- Claim: three recorded files ran far past their entries, with the listed times: verified, identical in the replay.
- Claim: the Node legs split by recorded time and which files run never depends on the record: verified; the split and sequencer tests pass on this record.
- Claim: the record is regenerated from the Node legs of main's full unit run, each leg's slowdown taken out, and only new or far-off entries change: verified, the replay reproduces the file byte for byte.
- Claim: after the change 1,872 of 1,873 Node test files have a time and every other entry keeps its own: verified; the one file left was added after the run, and seven entries for test files no longer in the tree also leave the record.
- Claim: only the record changes, with no product behavior or public API change: verified, one data file changes.
- Claim: no workflow, action or CI script changes, and the Node legs balance better: verified; on the run's times Main's slowest leg shortens and the gap between its legs narrows, and a pull request's legs balance about as before.
- Claim: the record refresh opened this pull request after main's full unit run, and its public text carries no internal context: verified; the one commit is the refresh bot's on its fixed branch, and the added lines, title and body hold no internal reference.
- File
scripts/vitest-node-durations.json: clear; the leg-plan, split and refresh tests pass on it, including Main's twelve-minute check.
- #12013 ci: refresh the recorded Node test times Author: @app/github-actions
|
Landed in #13178. |
Maintainer impact
The Node legs balance by the recorded test times. A missing or low entry costs leg balance and can make a leg run long until the record is refreshed. In main's run:
Early warning: 157 of 1873 Node test files (8.3%) have no recorded time, past the 5% line. Leg balance books each at the ninetieth percentile until the record is refreshed; nothing fails on it.
The heaviest unrecorded files in main's run:
packages/cli/api/theme-edit/theme-how-long-ask-binding.test.mjs: 60.6 spackages/cli/clients/cli/bases.test.mjs: 56.2 spackages/cli/api/integration/large-icon-library.test.mjs: 54.5 spackages/cli/api/doctor/button-actions.test.mjs: 48.9 spackages/cli/api/theme-edit/theme-built-variant-gradient-longhands.test.mjs: 43 spackages/cli/api/doctor/core-props.test.mjs: 40.5 spackages/cli/api/theme-edit/theme-palette-newer-recipe-opens.test.mjs: 31.5 spackages/cli/foundation/render/remote-images.test.mjs: 25.7 spackages/cli/scripts/generate-docs-routes.test.mjs: 24.7 spackages/cli/api/search/search.icons.test.mjs: 18.6 sRecorded files that ran far past their entry in main's run:
packages/cli/api/render/render.test.mjsran 439.9 s against its recorded 97.9 s.packages/cli/api/theme-edit/theme-readers-part-named-color.test.mjsran 184.6 s against its recorded 73.5 s.packages/cli/test/packed-gather-cache.discovery.test.mjsran 187.7 s against its recorded 101.4 s.Intended invariant
The Node legs split by recorded time; which files run never depends on the record.
Change
Regenerates
scripts/vitest-node-durations.jsonfrom the Node legs of main's full unit run (https://github.com/meta/astryx/actions/runs/44857050057). Each leg's times are divided by that leg's slowdown (the median measured ÷ recorded time over its recorded files, never below 1). A file the record lacks takes its time; a recorded file takes it only when it is 1.5 times off its entry, either way, and at least 5 s away. Durations only.Evidence
Scope
Components: none
Testing
Opened by the Node record refresh after a full unit run of main. A later refresh updates this pull request instead of opening another.