Repository navigation
ci: Main's Node legs draw the theme editor as a pull request does - #12256
Conversation
…th the shard watchdog Since 35fbc11 the Main unit run set THEME_EDIT_REAL_RENDERS on its Node legs, so every theme-editor file drew its pages for real while the legs are planned from times measured without that drawing; unit run 44038626677 had 7 of 12 Node legs cancelled at the limit. The legs now draw as a pull request's do, and run the shard watchdog that names the files still running before the limit.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
|
/approve-spec c42ce5b |
PR Analysis Report🔎 Preview ·
|
| Before | After | Change | |
|---|---|---|---|
| Job-minutes per PR update | 182 | 182 | 0 |
| Runner pool, runner-minutes a day | 63,754 | 63,754 | 0 (0%) |
| Average concurrent jobs | 44.3 | 44.3 | 0 |
| Time to green (median → this run) | 45.4 min | 53.7 min | +8.2 min |
| Runs a day | 350 | 350 | 0 |
Other workflows: deploy.yml changed: runs on push, workflow_dispatch; standard runners; its minutes are not measured here
Not measured (the jobs that use these keep their recent minutes above): .github/scripts/main-validation-workflow.test.mjs.
Flags: time to green +8.2 min.
Assumptions: before is each job's average over the last 20 pull-request runs; after keeps that for unchanged jobs and uses this run's minutes for added or changed ones, weighted by how often each changed job ran in those runs; runs a day averages the seven whole days before today; time to green compares this run with the median of those runs that ran the same jobs.
Generated by PR Enrichment workflow | View full report
There was a problem hiding this comment.
Changes requested. Dropping THEME_EDIT_REAL_RENDERS puts Main's Node legs back on the times they are planned from, and the new contract test fails on main and passes here. One problem with the added watchdog needs fixing first:
- With the watchdog, a Main Node leg still running at minute 14 ends as a failure (
process.exit(1)inscripts/vitest-shard-watchdog.mjs) instead of being cancelled by the job limit, so the run concludesfailureandmain-heavy-lanes.ymlcounts it as the tip's tested run instead of dispatching the next run at once and reporting it in the "did not complete" issue, as AST-030 FR21 requires; keep a watchdog stop with no failed test incomplete on Main (for example, let the reporter name the files without ending the run, or have the scheduler treat aNode shard stuckstop as incomplete the waycli-minimum-node.ymlalready does), and add a test for it.
The description's "names the files still running before the cancel" should match whichever fix you choose.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim: since #12097, Main's Node legs set the real-drawing flag, so every theme-editor file draws for real on Main while pull-request tests use stand-ins. Verified: the base step's env, the stand-in's flag check, and
ci.ymlsetting no flag. - Claim: Main's legs are planned from recorded times measured without that drawing (#12120). Verified: the record says it comes from pull-request Node legs, and the planner reads it.
- Claim: the 07:25Z Main unit run had Node legs 1, 3, 4, 6, 7, 9 and 11 of 12 cancelled at the fifteen-minute limit inside the test step. Verified from that run's jobs.
- Claim: those legs ran with no watchdog, so their logs do not name the running files. Verified: the base step has no watchdog reporter.
- Claim: dropping the flag restores the stand-ins with per-file real drawing, and the setup file and flag are unchanged. Verified: only two files change.
- Claim: the step sets the watchdog a minute before the limit, counted from the job's start, with the same lines as
ci.yml's Node legs. Verified againstci.yml. - Claim: a leg near its limit names the files still running before the cancel. False: the watchdog ends the leg itself, so no cancel follows.
- Claim: real drawing elsewhere is a separate follow-up filed for triage. Unverified: no issue in this repository names it.
- Claim: the new case fails on
main'sdeploy.yml. Verified: run on the base, it fails with the quoted assertion. - Claim: 207 of 207 tests pass across the seven named files. Verified at this head.
- Claim: prettier and actionlint pass. Prettier verified; actionlint not run here, but shellcheck at error severity on the new block is clean.
- Claim: the slowest leg returns to about 11 minutes on a slow runner. Verified as the planner's projection (12 legs, longest 1113 s of tests).
- Claim: no job, runner, matrix or trigger changes, and pull requests are unchanged. Verified: one step of
deploy.ymlchanges andci.ymlis untouched. - Claim: #12129 edits the same step and test file but keeps the flag and adds no watchdog, and #11921 adds an early-warning step with its own tests. Verified from their files.
- File
.github/workflows/deploy.yml: the finding above. - File
.github/scripts/main-validation-workflow.test.mjs: clear; it matches the new step.
…ll request The watchdog ends a still-running leg with exit 1, so a Main overrun would conclude as failure and main-heavy-lanes would count it as the tip's tested run instead of an incomplete run (AST-030 FR21). It needs a name-only mode first.
|
/approve-spec ece6850 |
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet, and marking the pull request ready for review starts it.
Dropping THEME_EDIT_REAL_RENDERS from Main's Node test step puts those legs back on the drawing mode their recorded times were measured in; the new contract case fails on main and passes here, and the watchdog problem from the last review left with the watchdog. Release re-checks run the same step, so they too stop drawing real theme-editor pages outside the files that opt in until the follow-up lane exists.
Claims and files checked
Review mode: incremental; reason: none
- changed rules (0): none
- Claim: since #12097, Main's Node legs set the real-drawing flag, so every theme-editor test file draws for real on Main while pull-request tests use stand-ins. Verified: the base step's env, the stand-in module's flag check, and
ci.ymlsetting no flag. - Claim: Main's legs are planned from recorded times measured without that drawing (#12120). Verified: the record says it comes from pull-request Node legs, and the leg planner reads it.
- Claim: the 07:25Z Main unit run had Node legs 1, 3, 4, 6, 7, 9 and 11 of 12 cancelled at the fifteen-minute limit inside the test step, so it gave no Node verdict. Verified from that run's jobs.
- Claim: the step now sets no flag, so Main draws as pull-request tests do, with stand-ins plus real drawing in files that call
realRenders(true). Verified: the step's env and the stand-in module's default. - Claim: that was the default before #12097. Verified: the step had no flag and Main and pull-request legs drew alike before it; the shared stand-in itself arrived in that same change.
- Claim: it matches the times the legs are planned from. Verified: the record is measured from pull-request legs, which use the stand-ins.
- Claim: the setup file and the flag are unchanged, so a run that sets the flag still draws everywhere. Verified: only two files change, and the stand-in module still reads the flag.
- Claim: the watchdog, left out here, would end a Main overrun with exit 1, so the scheduler would count it as a tested run instead of an incomplete one. Verified against the watchdog reporter and the scheduler's incomplete list; it is not part of this diff.
- Claim: real drawing moves to a scheduled lane of its own, filed for triage. Unverified: no issue in this repository names it; it is outside this pull request.
- Claim: the new case fails on
main'sdeploy.ymlwith the quoted assertion. Verified: run on the base, it fails with that message. - Claim: 117 of 117 tests pass across the four named files with current
mainmerged in. Verified at this head. - Claim: prettier and actionlint pass. Prettier verified; actionlint not run here.
- Claim: only Main's unit run is affected, and its slowest Node leg returns to about 11 minutes on a slow runner. Verified as the planner's projection (12 legs, longest 1114 s); release re-checks use the same step.
- Claim: no job, runner, matrix or trigger changes, and pull requests are unchanged. Verified: one step's env and comment change, and
ci.ymlis untouched. - Claim: #12129 edits the same step and test file but keeps the flag line as context, and #11921 adds an early-warning step and its own tests on other lines. Verified from their files.
- Claim: ownership and landing route. A process note, not a claim about the code.
- File
.github/workflows/deploy.yml: clear. - File
.github/scripts/main-validation-workflow.test.mjs: clear; it pins exactly the env the step drops.
|
/approve-spec 852c85a |
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet; marking the pull request ready for review starts it.
Dropping THEME_EDIT_REAL_RENDERS from Main's Node test step puts those legs back on the drawing mode their recorded times were measured in, and the new contract case fails on main and passes here. Release re-checks run the same step, so they too stop drawing real theme-editor pages outside the files that opt in until the follow-up lane exists.
Claims and files checked
Review mode: incremental; reason: none
- changed rules (0): none
- Claim: since #12097, Main's Node legs set the real-drawing flag, so every theme-editor test file draws for real on Main while pull-request tests use stand-ins. Verified: the base step's env, the stand-in module's flag check, and
ci.ymlsetting no flag. - Claim: Main's legs are planned from recorded times measured without that drawing (#12120). Verified: the record says it comes from a pull request's Node legs, and the leg planner reads it.
- Claim: the 07:25 Main unit run had Node legs 1, 3, 4, 6, 7, 9 and 11 of 12 cancelled at the fifteen-minute limit inside the test step, so it gave no Node verdict. Verified from that run's jobs.
- Claim: the step now sets no flag, so Main draws as pull-request tests do, with stand-ins plus real drawing in files that call
realRenders(true). Verified: the step's env and the stand-in module's default. - Claim: that was the default before #12097. Verified: the step had no flag before it, so Main and pull-request legs drew alike; the shared stand-in default arrived in that same change.
- Claim: it matches the times the legs are planned from. Verified: the record is measured on pull-request legs, which use the stand-ins.
- Claim: the setup file and the flag are unchanged, so a run that sets the flag still draws everywhere. Verified: only two files change, and the stand-in module still reads the flag.
- Claim: the watchdog, left out here, would end a Main overrun with exit 1, so the scheduler would count it as a tested run instead of an incomplete one, and it needs a pull request of its own. Verified against the watchdog reporter and the scheduler's incomplete list; that pull request is #12263.
- Claim: real drawing moves to a scheduled lane of its own, filed for triage. Unverified: no issue in this repository names it; it is outside this pull request.
- Claim: the new case fails on
main'sdeploy.ymlwith the quoted assertion. Verified: run on the base, it fails with that message. - Claim: 117 of 117 tests pass across the four named files with current
mainmerged in. Verified at this head. - Claim: prettier and actionlint pass. Prettier verified; actionlint not run here.
- Claim: only Main's unit run is affected, and its slowest Node leg returns to about 11 minutes on a slow runner. Verified as the planner's projection (12 legs, slowest 1125 s, about 11.2 minutes); release re-checks use the same step.
- Claim: no job, runner, matrix or trigger changes, and pull requests are unchanged. Verified: one step's env and a comment change, and
ci.ymlis untouched. - Claim: #12129 edits the same step and test file but keeps the flag line as context, and #11921 adds a warning step and its own tests on other lines. Verified from their files.
- Claim: ownership and landing route. A process note, not a claim about the code.
- File
.github/workflows/deploy.yml: clear. - File
.github/scripts/main-validation-workflow.test.mjs: clear; it pins exactly the env the step drops.
Who this helps
Everyone who waits on
main's unit run. Since 35fbc11,deploy.ymlsetsTHEME_EDIT_REAL_RENDERS: '1'on Main's Node legs, so every theme-editor test file draws its pages for real onmain(pull requests' tests use the stand-ins). Main's Node legs are planned from recorded times measured without that drawing (#12120), so the legs now run far longer than planned. Unit run 44038626677 (07:25Z, at 0fbecc6) had 7 of its 12 Node legs cancelled at the fifteen-minute limit insidepnpm test:node(legs 1, 3, 4, 6, 7, 9 and 11), so that unit gave no Node verdict.What changes
.github/workflows/deploy.yml, thetest-nodejob's test step: noTHEME_EDIT_REAL_RENDERS. Main's Node legs draw the theme editor's pages as a pull request's tests do: stand-ins, plus real drawing in the files that ask for it (realRenders(true)). This is the default before 35fbc11, and it matches the times the legs are planned from.vitest.setup.node.mjsand the flag itself are unchanged, so a run that sets the flag still draws everywhere.Not in this pull request:
failure.main-heavy-lanes.ymlwould then count it as the tip's tested run instead of an incomplete one (AST-030 FR21: dispatch the next run at once and report it in the "did not complete" issue). It needs a mode that names the running files without failing the leg first; that is a pull request of its own.Evidence
main-validation-workflow.test.mjscase: test-node's run step, job and workflow set noTHEME_EDIT_REAL_RENDERS. It fails onmain'sdeploy.yml("expected … to not have property THEME_EDIT_REAL_RENDERS").mainmerged in, 117 of 117 pass acrossmain-validation-workflow,ci-test-routing,workflow-pathsandmain-unit-run.prettierandactionlintpass.CI impact: Main's unit run only. Its Node legs return to their planned times (the slowest about 11 minutes on a slow runner). No job, runner, matrix or trigger change; pull requests are unchanged.
Overlap checked: #12129, #11921 (#12129, josephfarina's recorded Node test inputs, edits test-node's test step in deploy.yml and main-validation-workflow.test.mjs too, but keeps the THEME_EDIT_REAL_RENDERS line as context so it does not fix this; whichever lands second merges the two step edits. #11921 adds an early-warning step to test-node and its own test cases, other lines)
Owning session: noopbot (a61f66c2), under CI & Release (ca77f950). Land path: the shipper, through merge-guard.