Skip to content

Epic: every test file audited once by a test-health push #3855

Closed
35 of 35 issues completed
Closed

Description

@schlessera

Outcome

Every test file in the suite is audited once, at its current content, through the eight test-health lenses. The proven fixes land on main as one pull request from an integration branch, merged as a merge commit so each batch stays one revertable commit.

Why now

The recurring run (.agents/skills/test-health/SKILL.md) reaches about 25 files per run, and the ledger shows 13 of 1835 files audited. At that rate, coverage of the whole suite takes months. The first batch landed on main through the regular path on 2026-11-10 (#3848), and the landing fixes from #3851 are on main, so the push repeats a proven run.

Shared context

  • Procedure: .agents/skills/test-health-push/SKILL.md, which wraps the regular skill unchanged under --profile push (scripts/test-health/config.json).
  • Integration branch: epic/3855-test-health, cut from main at 0129244ad. Shards and every worker checkout use that tooling for the whole push.
  • Scale: 12 workers at a time, over 24 disjoint shards from bun scripts/test-health.ts shards --profile push.
  • Cut-off: 2026-11-11 18:00 UTC. Shards unfinished at the cut-off return to the recurring run. Their claims expire, and their files stay unaudited in the ledger.

Constraints and non-goals

  • Test code only, under the regular skill's rules that do not bend: no new skip, retry or longer timeout, and no test removed without its obligation map.
  • Out of scope: the planner changes in progress under #3852 and #3854. The push keeps the tooling it was cut with and never edits scripts/test-health*.
  • Main turning red stops nothing but the final landing.

Breakdown

  1. Shards from the integration branch; one worker per shard, in its own worktree.
  2. Each worker lands its batch into the integration branch as a squash, after that batch's own hosted proof passes. Merges happen one at a time.
  3. Shake-out: two exhaustive ci.yml runs on the combined branch. A cluster whose changed file fails in either run is restored from main and its audit withdrawn.
  4. One landing on main, as a merge commit, under the main reservation.

Definition of done

  • The push's pull request is merged into main, and main's own run on it is green.
  • bun scripts/test-health.ts report --publish coverage and landing figures are posted here.
  • Every shard is either merged into the integration branch or recorded as abandoned.

Activity

  1. added
    area: ci
    on Nov 10, 2026
  2. 15 remaining items

  3. added a commit that references this issue on Nov 11, 2026
  4. schlessera commented on Nov 11, 2026

    @schlessera
    OwnerAuthor

    The push landed on main in #3979 as the merge commit 8ce26e65f. main's own run on it, 43028165842, passed.

    Batches. All 35 landed in the epic. Eight were merged one at a time after their own proof. The other 27 were combined into one branch, which passed the gate, the typecheck and check:pr as a whole. The first pair of shake-out runs failed on two clusters, and I dropped and voided both, so their files go back into the rotation:

    The second pair, 42996974186 and 42997012467, passed. All 41 issues the batches completed are closed with milestone 0.45.0: the 35 batch issues and #1242, #1630, #2466, #2758, #2769 and #3009.

    Figures from bun scripts/test-health.ts report --profile push, published to the ledger:

    Measure Value
    Rotation audited at current content 1713 of 1835 files (93.4%)
    Findings 2999: 635 fixed, 40 filed, 108 deferred, 2216 accepted
    Tests that could not fail, fixed 203
    Mutations killed 268
    Tests made deterministic 77
    Local seconds saved per run of the changed files 106.5
    Executed assertions in changed files 60226 → 60327
    Batches landed / abandoned 36 / 0 (one older regular-run batch is still open)

    CI cost. The last nightly exhaustive run before the push, 42748763972, took 200.3 job-minutes. The two shake-out runs took 203.6 and 184.8: unit 84.4 against 88.4 and 77.1, browser 37.4 against 35.2 and 30.2, layout 31.1 against 31.3 and 35.0. That spread is within run-to-run variation, and main moved between those runs as well. No change in hosted cost is claimed.

  5. added this to the 0.45.0 milestone on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ciepicpriority: p1type: test

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions