Repository navigation
MR-30: ci.yml with verify, nightly.yml, slow-checks.yml (draft, shadow) - #798
Closed
michaeljgrimm wants to merge 6 commits into
Closed
michaeljgrimm wants to merge 6 commits into
michaeljgrimm wants to merge 6 commits into
Conversation
michaeljgrimm
force-pushed
the
codex/mr-30-ci
branch
from
October 22, 2026 12:20
3b6c4a6 to
04a2606
Compare
michaeljgrimm
changed the base branch from
monorepo/import
to
codex/mr-23a-root-gallery
October 22, 2026 12:20
One required check `verify` aggregating scoped jobs driven by scripts/ci-scope.mjs (lint, gallery, core, cli, render, pptx, editor, integration, goldens, gallery-gates, pack-shape), Linux and the pinned Playwright image only, sharded from the RR-57 weights, cancel-in-progress per pull request, no merge_group, no labeled trigger. nightly.yml: Windows and macOS legs, Node 22 and 26, packed-install, registry consumers, audit, platform residual, flake measurement; opens or updates the nightly-red issue; also workflow_call for the release gate and the full-ci label. slow-checks.yml: full goldens, published matrix with the determinism grid, installed parity. Support: setup-workspace action, ci-verify.mjs (verdict), ci-report-issue.mjs, `legs` in ci-scope.mjs, `--shard` for quarantine.mjs and run-checks.mjs, `--package` for ci-test-shards.mjs, check:ci-workflows. Design notes, job graph, timing budget and the MR-34 deletion list: docs/programs/monorepo/ci-design.md. No workflow is deleted here. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…st from the first Actions run pnpm exits 0 when a filter matches no package, so integration and gallery-gates passed without running anything before MR-23. Timing budget revised with the numbers of run 39775979434 (scope 9 s, checkout 6-11 s, setup 7-15 s, container init 26 s). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…l creation, two macOS editor shards Docs-only changes run one lightweight lint leg (check-changed: Biome, check:text and the mapped checks, no build). pnpm audit is its own PR job when the lockfile or a package.json changed (always in the nightly). integration depends on gallery, core, render and pptx only, so editor-only and CLI-only changes skip it. ci-report-issue creates the label before opening an issue. Editor playground on macOS in two shards (five macOS jobs). owner-steps O6 says removing the queue and requiring verify is one edit. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… MR-31 The renderer fetches its archived fixtures itself (no checkout step), pnpm build is every package, the packed-linux dry run is covered by pack:ecosystem, the platform-residual leg runs fetch-archive-fixtures, and ci-design.md's assumptions from MR-23 are now satisfied. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ests path, build:deps repeated in every shard) check:ci-shards failed on the MR-23 stack: render, pptx and editor call node ../../scripts/run-tests.mjs and start with pnpm run build:deps. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
michaeljgrimm
force-pushed
the
codex/mr-30-ci
branch
from
October 22, 2026 14:24
04a2606 to
046e689
Compare
michaeljgrimm
changed the base branch from
codex/mr-23a-root-gallery
to
codex/mr-31-goldens
October 22, 2026 14:24
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MR-30, draft. Base is
codex/mr-23a-root-gallery(MR-23a, opf#797: the wired workspace), notmain; retarget tomainonce #797 has landed. It was first drafted onmonorepo/importand rebased onto #797. The old workflows are untouched and keep running next to the new ones.Design notes, the full job graph, the estimated timing budget and the MR-34 deletion list:
docs/programs/monorepo/ci-design.md.What is in it
.github/workflows/ci.yml:pull_request,pushtomain,workflow_dispatch; nomerge_group, nolabeledtype (an unrelated label must not re-run, and so possibly replace, a required check;scopereads the labels when it runs).scoperunsscripts/ci-scope.mjs; each package job is gated on its key of the scope output; the jobverifyneeds all of them, runs always, and fails unless every job the scope selected succeeded (scripts/ci-verify.mjs: skipped by scope is success, skipped otherwise is failure). Concurrency cancels per pull request; a push to main is never cancelled and a red main opens the issuemain-red..github/workflows/nightly.yml: Windows and macOS (CLI and core, installed candidates, PPTX with the native harness, editor playground), Node 22 and 26 over all six packages, packed-install on Linux, registry consumers,pnpm audit, platform residual (non-blocking), flake measurement (Sundays or on demand). Opens or updates the issuenightly-red, closes it when green, never blocks a PR. Alsoworkflow_call:ci.ymlcalls it for the labelfull-ci, and MR-40'snpm-publish.ymlcan call it as the pre-release gate (report: false)..github/workflows/slow-checks.yml: Tuesday, dispatch, or the labelslow-checks: full goldens with every slide kept, published matrix with the determinism grid, installed parity (ports ofpublished-matrix.ymlandinstalled-parity.yml). Issueslow-checks-redon a red schedule..github/actions/setup-workspace: pnpm, Node 24, store cache keyed by the lockfile, frozen install of the whole workspace (a filtered install would seed an incomplete cache), optional build of one package's dependencies. pnpm comes from npm inside the Playwright container (the old logs showpnpm/action-setuptaking 2.5 to 5 minutes there).legsinci-scope.mjs(the matrix per package and tier);scripts/ci-verify.mjs;scripts/ci-report-issue.mjs;--shard i/nforquarantine.mjs(browser suites) andrun-checks.mjs(root checks);ci-test-shards.mjs --package render|pptx|editor. Tests:pnpm check:ci-workflows(shape of the workflows against the plan andci-scope), plus additions to the existing suites.Job graph
scope->lint(static, checks 1/2, checks 2/2),gallery,core,cli,render(tests 1..4 + browser; contract tier tests 1..3),pptx(tests 1..4 + browser; contract 1..4),editor(tests 1..2, playground 1..4, browser; contract tests 1..2),integration,goldens,gallery-gates,pack-shape,slow(labelfull-ci) ->verify. A docs-only change runsscope, the 3 legs oflintandverify(5 jobs); an editor-only change 14; a render change 21; everything forced (tooling, lockfile, push to main,full-ci) 29.Timing budget (estimate)
The first run on Actions (run 39775979434, before MR-23: only core and the CLI in the workspace, package jobs failed at their first test step) measured:
scope9 s, checkout 6 to 11 s,setup-workspace7 to 15 s, core and CLI build 14 s, container init 26 s. With a six-package install assumed at 35 s, the fixed cost is about 1.3 min per host job and 1.8 min per Playwright-container job. Shards are sized fromci-test-weights.json(render 901 s, pptx 948 s, editor 157 s) and the editor playground suite (839 s). Estimatedverifywall-clock: docs only about 3.4 min (target p50 2), leaf packages 6.3 to 8.1 (target 5), render or pptx 6.7 to 8.0 (target 7), core, gallery, spec 6.3 to 8.0 (target 8), forced about 8 (target 11); overall inside 5 to 8. The unmeasured long pole isintegration(core's 13 engine tests, assumed 3 to 5 min). Remedies in order, if MR-32 measures a miss: build-oncedistartifact, narrow or shardintegration, a docs-only fast path inlint, sparse checkout.Found on that run:
pnpm --filter X run testexits 0 when X matches no package, sointegrationandgallery-gates"passed" without running anything. All script runs now use--fail-if-no-match(guarded bycheck:ci-workflows).What must change once MR-23 lands
Listed in
ci-design.md, section "What the workflows assume from MR-23": the workspace lists all seven packages with the plan's edges;pnpm --filter @openpresentation/integration run testexists (MR-23a's roottest:integrationalready points at it); the root pack and registry scripts still exist and pack from the workspace; the package scripts the legs call; the variable-font gate's../archivefixtures (the draft checks them out of the old repository intopackages/archive);test/golden.mjsis part oftestandtest:contract(thegoldensjob repeats it; MR-31 may exclude it);release-plan.jsonstays until MR-34 forslow-checks.yml.What MR-33, MR-34 and MR-40 delete
Nothing is deleted here. Next to the new files the old ones keep running:
published-matrix.ymlandinstalled-parity.yml(Monday) andflake-repeat.yml(nightly) overlap the new weekly and nightly jobs (the new slow-checks run Tuesday, the flake job Sundays). Per the plan: MR-33 deletesopf-ci.yml,ecosystem-ci.yml,cli-windows.yml,engines-range.yml,flake-repeat.ymland the actionpaths-changed; MR-34 deletesecosystem-roll.yml,candidate-gallery-qualification.yml,published-gallery-control.yml,published-matrix.yml,installed-parity.ymland the actionscandidate-galleryandcandidate-gallery-stage; MR-31 deletesregenerate-core-golden.yml; MR-40 replacesrelease-train.yml,cli-publish.ymland the oldnpm-publish.ymlwith onenpm-publish.yml;tracker-refresh.ymlstays;ecosystem-refsis the frozen shim until MR-60. The imported packages' own.github/(14 workflows andpackages/gallery/.github/bootstrap-engines.json) is inert (GitHub reads only the root) and goes in the MR-23 cleanup commit; full file list inci-design.md.Verification
actionlint 1.7.12 clean on the three workflows and the action (not run: shellcheck);
pnpm check:ci-workflows,check:ci-scope,check:ci-shards,check:ci-diet,check:runners,check:playwright-pin,pnpm check:changedand the fullpnpm test(73 of 73 root checks, core and CLI suites) pass locally. Dry run of the scope on eleven change classes (docs, editor, CLI, render, pptx, core, spec and examples, gallery records, lockfile,full-ci, push) and of the shard planner on the real render, pptx and editor suites (--dry-run: every listed test in exactly one shard). Actions: the first run ofci.ymlon this branch (run 39775979434) passedscope, expanded all matrices and ran the setup action in both host and container jobs; the package jobs fail as expected until MR-23, and the full run of any job is not verified.Open questions
lint(the checkscheck:changedmaps)?pnpm auditmoved from the required PR path to the nightly (a new advisory should not fail an unrelated pull request). OK?integrationis selected by any package change becauseci-scope's target graph makes it depend on all six; it imports core, render, pptx and the gallery. Narrow the edge so editor-only and CLI-only changes skip it?slow-checks(new, for pull requests) andfull-ci; the issue labelsnightly-red,slow-checks-redandmain-redare created by the first issue (to verify). The oldecosystem-ci.ymlnightly also usesmain-reduntil MR-33.docs/evidenceis read by core, the CLI andlint). Sparse checkout is the last remedy, not the first..github/removal is in MR-23 per plan section 2; confirm MR-34 only picks up what MR-23 leaves.🤖 Generated with Claude Code
Update 2026-10-22 (coordinator decisions)
linthas onedocsleg (scripts/check-changed.mjs: Biome,check:textand the other mapped checks, no build), estimated about 2.3 min.auditis a PR job when the lockfile or apackage.jsonchanged (not merely because a run was forced); the nightly audits every night.integrationdepends on gallery, core, render and pptx only (its manifest says the same), so editor-only and CLI-only changes skip it (13 and 7 jobs). Test inci-scope.test.mjs.nightly-red,slow-checks-red,slow-checkscreated (full-ci,main-redexisted);ci-report-issue.mjsalso creates the label before opening an issue.owner-steps.mdO6: removing the queue and requiringverifyis one edit..github/removed by MR-23a: root wiring and gallery (six packages, one version, workspace edges, integration) #797, package tests that read it (candidate-gallery-ciand its siblings, README finding 6) fail in the render and editor shards until MR-23 deletes them.