Skip to content

docs(ci): record the CI split's migration acceptance, and make cicd.md's file table true - #299

Merged
aRustyDev merged 9 commits into
mainfrom
ci/migration-acceptance
Nov 18, 2026
Merged

aRustyDev merged 9 commits into
mainfrom
ci/migration-acceptance

Conversation

@aRustyDev

@aRustyDev aRustyDev commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

What

The acceptance of Phase 1 of the CI split (plan, phase). All six
stages are merged (#254, #258, #264, #269, #275, #281, #289). This records M6 as done, shows each criterion of the plan's "the migration is done when" with a run or a file
(the table at the end of the phase document), measures the cost again (research 0019), and makes
cicd.md's file table true, which it was not. It changes no workflow behaviour.

Commits: the correction to M6's account of probe B that was staged when #289 merged (cherry-picked, and the diff compared byte for byte); the plan documents, the research
document and the evidence scripts; the documentation fixes; the record of the e2e schedule's run; a follow-on to #298 (below); and four merges of main.

What changes in the repository

  • The record: phases/0002-migration.md gets "M6: done" and "The migration's acceptance: done"; PLAN.md and the README say Phase 1 is done and Phase 2 is next.
  • Research 0019 (the baseline after the migration, with the script's output unedited) and three small tools next to ci-baseline.py and ci-commands.py, so that a number in it can be
    recomputed: compare-job-sets.py (the job sets of two runs), critical-path.py (where a run's wall clock goes) and cicd-table-vs-tree.py (cicd.md's table against the files).
  • cicd.md: five rows that were missing (four workflows and the triggerd action). A sixth file without a row, preview-control-tests.yml, was removed by Gate preview control plane checks in CI #298 while this pull request was
    open
    , so its row is not added and the record says so.
  • Two statements that the migration had made false: running.md's row for test.yml (it still said the cells were ci.yml's job) and a comment in flagship.yml (it said deps is in
    ci.yml). A third, the index row of preview-control-tests.yml (it said its tests also run in ci.yml), went with that workflow.

What is particular to this stage

  • It runs nothing new. The evidence is from runs that exist, and I read each one (event, commit, jobs, the lines its judge printed): the full ci dispatch 44216506614 and the e2e
    dispatch 44216510310 were dispatched on main by another session, which told me; the nightly 44230791965; chore(release): v0.3.0 #227's rc/* run 44214903508; the pull-request runs of the stages.
  • Whole-migration parity needs attribution. ci-commands.py from b83ece3 to 564c929 reports 34 jobs before and 53 after, 0 gone, 18 unchanged, 8 moved identical, 10 changed and 17 appeared;
    by itself that is not "PARITY", because other pull requests landed in between. Each of the 10 and 17 is attributed in the document (5 and 9 are the migration's by design), and for the three jobs
    that others also changed a line-by-line comparison finds no line gone and traces each of the 12 added lines to a commit that is not the migration's, except the wiring test, which is M1's.

Proof, in short (the document has the whole table)

ci.yml holds only changes, the calls and gate its jobs: changes, test, lint, web, documentation, security, gate; pinned by a wiring check
a full run is green and runs the same commands 44216506614: 42 of 42. Against the push run on b83ece3 (44008843071, 37 jobs): the same names once the workflow prefix is stripped, the same 26 cells, verdict the only name added; the control reports 27 lost and exits 1
an affected-only run is green #289's: 8 of 15 jobs ran; others since M5b: 5 of 12, 10 of 15
the nightly is green 44230791965, 03:29 UTC on 564c929: no base to diff for 'schedule', 42 of 42, 26 of 26 planned cells reported success
the e2e schedule is green by dispatch 44216510310: 2 of 2
the e2e schedule fires under the new name it did, at 04:45 UTC (cron 04:41), run 44239551503 on main at 40d7fa0: success, e2e-mail / worker-cf e2e-mail in about 11 minutes and e2e / worker-cf e2e in about 15
this pull request's own run 44241263778: success, 8 of 15 jobs ran and 7 were skipped (documentation, lint with deps only, test with ci-scripts only), assert-required-contexts.sh certified the one required context
an rc/* pull request still plans a staging dispatch 44214903508: running everything: release candidate ..., 42 of 42; deploy.yml planned the dispatch (44217103734), see below
flake-hunt.yml is unchanged git diff b83ece3 564c929 of it is empty
fourteen probes two per stage, each closed unmerged after turning the real gate red

The cost (research 0019): a full run costs 931 runner-seconds more at the median (20%), of which 43 s (0.8%) are the five verdict jobs, the migration's own; the rest is a bigger
ci-scripts and a 26th cell, both of which came before the migration. The migration adds 15 to 19 s to the critical path (1.2 to 2%).

What it found

  • cicd.md's table had drifted by six files (five after Gate preview control plane checks in CI #298), which other work added with a row in the indexes (guarded by check-ci-index.sh) and none in the table (guarded by nothing). Rows added;
    cicd-table-vs-tree.py failed before (6 files without a row) and passes now (23 of 23). An offer, not built: the same guard could hold the table to the tree.
  • What I ran locally, on which tree. On the head of this pull request (merged with main through refactor(html): move the sanitiser into crates/core/html #300): the deps guards, Cargo.lock steps included, all pass; the whole ci-scripts step,
    generated from test.yml so that it cannot go stale, passes (44 commands; mutants=229 killed=229 survived=0 broken=0 equivalent-wrong=0, the gate's 201 cases, the planner's 7,013 checks, the wiring
    test's 136); the index guard (17 workflows and 6 actions) and the table-against-tree check (23 of 23) pass. main moved four times while I worked on this (six commits: feat(edge): say which build of the edge answered, and carry the edge in the attested deploy bundle #294 to Gate preview control plane checks in CI #298 and refactor(html): move the sanitiser into crates/core/html #300). The last merge, with Gate preview control plane checks in CI #298, conflicted: it deleted the
    README row that my branch had edited, and I resolved it by taking main's file (my branch's only change to it was that row, checked against the diff) and then removing the cicd.md row I had added for the deleted workflow.
  • Three of my own stages had left a statement false (M4, M5a and M5b), found by searching the current docs and scripts for ci.yml next to the name of a job that no longer lives there. Gate preview control plane checks in CI #298 then
    removed the workflow that M5a's belonged to, so two corrections remain.
  • My local lists were stale, and I overclaimed because of it. The mechanical comparison of the ci-scripts commands I ran locally for M5b and M6 matched only the .github/scripts/tests/ commands, so it
    never saw the five infra/ commands that Add preview provisioning control plane #279 added: I ran 37 of the 42 and wrote "compared mechanically". CI ran all 42 and was green, so nothing merged is affected; I have now run the five (they pass), and
    the deps list, which had also missed ci: check that Cargo.lock is what cargo writes, so a misplaced entry fails CI and not the next checkout #288's two Cargo.lock steps (they pass). Both lists now match test.yml and lint.yml.
  • Outside the migration: the staging deploy planned for the release candidate (44217103734, plan and build succeeded) has its deploy job queued. deploy and deploy-do share the concurrency
    group deploy-staging with cancel-in-progress: false, and an older staging run (43816740997, 2026-11-16) has had its deploy-do job waiting since 06:26 UTC for the reviewer of staging-do-lifecycle.
    I approved and cancelled nothing; it is yours.
  • One drift I did not touch: running.md's row for the lint job lists two of its four clippy steps.

What this does not show

  • The book build, locally: mdbook is installed here and mdbook-mermaid is not, so documentation / docs is where the two edited pages are built.
  • Why the median wall clock rose 34% beyond the 15 to 19 s: in the three runs I read, the longest job was worker-cf e2e at 916 to 1191 s against a median of 624 s. Runner contention is the first
    suspect and I did not measure it. The sample is 11 full runs over about six and a half hours.
  • Phase 2 onward: not started.

aRustyDev and others added 6 commits November 17, 2026 20:31
The plan said a stale index row would fail lint / deps alone. The run showed that the guard's own test (test-check-ci-index.sh, which runs the guard on the real repository) fails in test / ci-scripts too, as the planner's rule for an index says; the probe had been checked locally against the guard and not against its test.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…asure the cost again

Every criterion of the plan's 'the migration is done when' is shown by a run or a file, in a table in the phase document: ci.yml holds only changes, the calls and gate; a full dispatch run, the nightly, an rc/* run and affected-only pull-request runs are green; the job sets of a full run before and after differ only by the five verdict jobs; flake-hunt.yml is unchanged; and 14 probes turned the real gate red. The parity of the whole migration is attributed, not only counted: 0 jobs gone, and every difference is the migration's by design or another pull request's.

Research 0019 measures the baseline again the way 0017 did: a full run costs 931 runner-seconds more at the median, of which 43 s (0.8%) are the five verdict jobs, and the migration adds 15 to 19 s to the critical path. Three small tools next to ci-baseline.py let a number in it be recomputed.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…t three statements the migration made false

cicd.md's file table named 18 of the 24 workflows and actions on disk: five workflows (the preview control plane and the Cloudflare infrastructure ones) and the triggerd action had a row in the indexes and none in the table. The rows are added, from what each file does.

Three statements the migration had made false are corrected: running.md's row for test.yml (the cells moved into it in M5b), a comment in flagship.yml (deps moved to lint.yml in M4) and the index row of preview-control-tests.yml (its tests run in test.yml since M5a).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@aRustyDev
aRustyDev temporarily deployed to preview-control-plane November 18, 2026 05:01 — with GitHub Actions Inactive
Run 44239551503, at 04:45 UTC on 2026-11-18 (the cron is 04:41), on main at 40d7fa0: success, e2e-mail in about 11 minutes and e2e in about 15. The dispatch of the same workflow cannot show that the schedule moved with the file.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@aRustyDev
aRustyDev temporarily deployed to preview-control-plane November 18, 2026 05:08 — with GitHub Actions Inactive
aRustyDev and others added 2 commits November 18, 2026 00:31
…this was open

#298 moved the provisioner's wasm32 check into lint and deleted the standalone workflow, so the cicd.md row added here for it is removed, the table names 23 of 23 files, and the record in the phase document says five rows were added (four workflows and the triggerd action), that two of the three corrected statements remain (the third went with the workflow), and that the workflow lint passes on 17 workflows and 6 actions on this head.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@aRustyDev
aRustyDev temporarily deployed to preview-control-plane November 18, 2026 05:46 — with GitHub Actions Inactive
@aRustyDev
aRustyDev merged commit 839bc7a into main Nov 18, 2026
18 checks passed
@aRustyDev
aRustyDev deleted the ci/migration-acceptance branch November 18, 2026 06:08

This branch was previously deployed

1 inactive deployment
preview-control-plane — 0f6f4ebe Deployed Nov 18, 2026 by aRustyDev via reconcile #85
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant