Repository navigation
docs(plans): plan Phase 1 of the CI split, the migration - #251
Merged
Merged
Conversation
phases/0002-migration.md plans the refactor-only move of today's jobs out of ci.yml: what "the same" means and how each pull request proves it (a parity table, a script that compares the steps of two sets of workflows with a control, a full and an affected-only run, and two probes that must turn the real gate red), what exists today, the order of the stages, the first stage in detail, and four questions for the owner. Reading the files for it found three things the first plan did not know, each stated in the document with its evidence: - flake-hunt.yml cannot be folded into test.yml without bending two of ADR-0102's own rules: it sets a workflow-level concurrency (R8) and tells a scheduled run by an empty `inputs` (R9). - Renaming a job id (docs, ci-scripts) costs about 60 lines of the planner, the gate, the tests and the mutants and 20 to 40 of documentation per job, and ci-scripts is not one-to-one with the owner's `bash` job. - The first real callee should be the simplest job (docs: one job, no matrix, no markers), so that whatever the spike could not show is found where there is least to move; test.yml, with its matrix and cell markers, moves fifth. PLAN.md's status table is rewritten for the present: Phase 0 done, Phase 1 planned and waiting on the owner. The README map gains the phase document. Docs only: plan-ci.py plans no job for this diff. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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.
What
Phase 0 of the CI split is done (#223, #225, #230, #236, #239, #245, #249). This is the plan for Phase 1, the migration:
phases/0002-migration.md, plus the plan's status table rewritten for the present. Docs only; nothing in.github/changes.The phase in short
A refactor is only a refactor if something shows it, so every stage's pull request carries: a parity table; a mechanical
check of it (a script that compares the steps of two sets of workflows, treating a job as the same job wherever it lives,
with a control: a dropped step and a changed command must each be reported); a full run and an affected-only run, both green;
and two probes (draft pull requests closed unmerged) that make the real wiring fail: a planned job skipped inside the new
workflow, and the new workflow's
verdictjob skipped. Each must turn the realgatered.M1 is written out in full; M2 to M6 are listed with why they sit where they do and are planned when they start.
What reading the files found, and what it changes
flake-hunt.ymlhas a workflow-levelconcurrency:and reads an emptyinputsas "a scheduled run"test.ymlbreaks R8 and sits on the edge of R9, the rules this very plan added in #249ci-scriptsis not one-to-one withbash(it also runs the planner's Python tests and the mutants)docsis one job: no matrix, no cell markers, no secrets, no Dockertest.ymlis the worst (the matrix call and the markers)VERDICT_JOBSmust not come from the planner'sworkflowsoutputci.ymlsets it as a static list, and a test holds it equal to the keys ofWORKFLOWSFour questions for you
Each has a recommendation, in the document; none blocks writing M1, and each changes what M1 contains.
documentation.ymlfirst andtest.ymlfifth (recommended), ortest.ymlfirst as the plan listed it?docs,ci-scripts,lint,denythrough the migration and rename them in the phase that owns theworkflow (recommended), or rename as each moves?
flake-hunt.yml. Fold it intotest.ymlin M5 as planned; keep it as it is and make it a stage of the Test phase(recommended); or leave it a workflow of its own for good?
name:. The repository's convention is lowercase (documentation,security,test), which is what thecheck list and
workflow_run'sworkflows:show (recommended); your tree has them capitalised.Also by your rule, and not a question: the
verdictcomposite action is made in M2, where the same steps stand in two files(M1 has one callee, and an action drawn from one example guesses its inputs). The
verdictjob oftest.ymlalso downloads thecell markers, so it is not an exact copy; I will ask about it when M5 starts, with the two side by side.
Verification
plan-ci.pyon this diff, run locally:0 jobs, 0 of 26 cells, so onlychangesandgateshould run.depsjob's 16 steps, thewebjob's two job-level variables, the lines a rename touches)were taken from
mainatf263ab4on 2026-11-17.🤖 Generated with Claude Code