Skip to content

docs(plans): plan phase 2 of the CI split (Test), with the owner's four decisions - #307

Merged
aRustyDev merged 2 commits into
mainfrom
docs/ci-phase-2-test
Nov 18, 2026
Merged

aRustyDev merged 2 commits into
mainfrom
docs/ci-phase-2-test

Conversation

@aRustyDev

Copy link
Copy Markdown
Owner

What

Phase 2 of the CI split, Test, planned (plan, the phase document). Phase 1, the migration, was accepted in #299, so this is the first workflow that goes
through the eight passes. It changes no workflow and starts no stage: it is the phase document the plan requires before a phase starts, with the owner's four questions asked and answered.

The document holds: the workflow's purpose and uses; what test.yml and flake-hunt.yml run today, when the planner plans each job and what each costs (research 0019's medians); the interface and a state machine; the acceptance
criteria for the phase; the stages in a proposed order; the action candidates; and the questions. PLAN.md and the README carry the status.

What the reading found (each from the file or the run, and named in the document)

  • hermetic is not affected-only. plan-ci.py plans ci-scripts, deps, lint and hermetic for any crate change, and hermetic runs the whole workspace. The crate graph is computed (affected()), but only pg-adapter, mutants and the
    cells use it.
  • Four nextest profiles run in no job (deep, oracle, load, prof), and gap G-5 records that CI does not run the oracle_ tests, stage 2, the blast and bench passes or the probes; G-6 (no wasm32 unit tests) and G-3 (cargo-mutants runs in no job) are
    the other two that are CI's.
  • The book has no Rust code samples (no ```rust fence in docs/src), so the mdbook stage of the owner's sample would have run mdbook test on nothing.
  • No step is an exact duplicate across test.yml, contract-cell.yml, flake-hunt.yml and e2e.yml except actions/checkout (seven places, one pinned line each), which is not worth an action; the near-duplicates are listed to be asked when a stage reaches them.
  • The sample's smoke and mutant categories do not exist (AGENTS.md rule 4 lists the repository's); that question belongs to stage 2.

Decisions (owner, 2026-11-18, all four as recommended)

Question Decision
mdbook Left out of this phase; revisited in Phase 9 (Docs), when the book has Rust samples to test
workers A stage of this phase, the last, beginning with a survey of public solutions (G-6, wasm32 unit tests of the Worker)
The shape of hermetic, the name of ci-scripts Split where the measurements say it pays; the id ci-scripts stays
flake-hunt Stays its own workflow, never gated, and goes through the passes there

The stages, in my proposed order (the owner may change it): ci-scripts, crates, doctest, pg-adapter, mutants, contract, flake-hunt, workers. The first is ci-scripts.

What this does not show

  • No new measurement. The costs are research 0019's medians of 11 full runs from one busy night. In particular I do not know where ci-scripts's 305 s go (44 commands run in sequence); stage 1 measures it first.
  • The order of the stages is a judgement (cheapest and most settled first, so the first stage is the template, and the biggest costs once it works), not a result.
  • Pass 4 (MVP), "in the gate", cannot apply to flake-hunt.yml as the plan words it; the document says its stage will define what it means, as the migration did for e2e.yml.
  • The state machine is not rendered: the book does not publish .agents/plans/, so the diagram is checked only by reading.
  • Two questions are deferred to stage 2 on purpose: the smoke and mutant categories, and whether deep and oracle run nightly (G-5).

I ran the deps guards locally on this tree, as the rule says, though nothing here is code or a workflow. The pull request's own run shows what the planner makes of a change that touches only .agents/plans/.

🤖 Generated with Claude Code

aRustyDev and others added 2 commits November 18, 2026 12:45
…ur decisions

The phase document for Test: what test.yml and flake-hunt.yml run today and what each costs (research 0019), the interface and a state machine, the acceptance criteria, the eight stages in a proposed order, the action candidates (no exact duplicate worth an action; the near-duplicates are to be asked when a stage reaches them) and the questions for the owner.

The owner answered all four as recommended: mdbook is left out of this phase (the book has no Rust samples, so mdbook test would pass with nothing to test) and revisited in Phase 9; workers (wasm32 unit tests of the Worker, G-6) is the last stage and begins with a survey; the id ci-scripts stays and the split of hermetic is decided by measurement; flake-hunt stays its own workflow and goes through the passes there.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@aRustyDev
aRustyDev temporarily deployed to preview-control-plane November 18, 2026 17:47 — with GitHub Actions Inactive
@aRustyDev
aRustyDev merged commit 1100801 into main Nov 18, 2026
10 checks passed
@aRustyDev
aRustyDev deleted the docs/ci-phase-2-test branch November 18, 2026 17:57
aRustyDev added a commit that referenced this pull request Nov 18, 2026
Main moved four commits while #310 was open (#307, #308, #309 and the lettre fix #312), and two files conflicted:

- crates/adapters/postgres/src/lib.rs: #308 made `Migration` borrow its strings (`Migration<'a>`), and this branch added migration 0020 to
  the list. The list is `[Migration<'static>; 20]`: #308's type, this branch's twentieth entry.
- docs/src/testing/status.md: #309 rewrote the G-46 row and this branch added G-47 after it. G-46 is main's row, byte for byte
  (compared with `diff`), and G-47 follows it.

Merged, not rebased, because a force-push is blocked on this repository and #310 is already published.

The lettre bump of #312 comes in with the merge, which is what turns the `security / deny` job green on this branch (it failed on lettre
0.11.23 alone).

Checked on the merged tree before this commit: no conflict markers left, `scripts/check-contract-counts.sh` (74, 6; stage 2: 68, 4),
`cargo fmt --all --check`, `cargo clippy --workspace --all-targets -- -D warnings` and the wasm32 clippy of the Worker crates. The
test batteries are re-run on the merge commit and listed in the pull request.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

This branch was previously deployed

1 inactive deployment
preview-control-plane — 491818ec Deployed Nov 18, 2026 by aRustyDev via reconcile #143
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