Skip to content

refactor(manual): give each suite its own automation coverage file - #4600

Merged
yannickmonney merged 1 commit into
mainfrom
refactor/manual-automation-shards
Oct 9, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
refactor/manual-automation-shards

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

Why

Every PR that retired a manual box added its row at the end of services/platform/tests/manual/reference/automation.md (92 touches in 4 days). On 2026-10-09, 9 of the 26 open PRs with conflicts against main conflicted on that one end-of-file hunk. Server-side merge=union is not an option: GitHub's mergeability check does not run custom merge drivers.

What

  • The "Moving a box here" rows (57 rows plus 1 paragraph) move to reference/automation/<suite>.md, one file per suite. The content is byte-identical except that links are rewritten one level deeper. The old trailing table also had blank lines that broke it into stray paragraphs; it now renders as real tables.
  • lint:manual reads the shards: it resolves the box IDs they cite, checks their BL-n citations, and refuses a shard that names no suite (layout, references, collect, plus tests).
  • Updated automation.md, the platform manual readme.md and template.md, .agents/repo.md, and the lint-manual README.

Rebasing an open PR that adds a row

If your PR conflicts at the end of automation.md, drop your row from there and append it to reference/automation/<suite>.md instead, linking ../../suites/<suite>.md.

Proof

bun test tools/lint-manual passes 51 tests. bun run lint:manual, bun run lint:links and the oxfmt check are clean.

Every PR that retired a manual box appended its row to the end of the platform's
reference/automation.md, so parallel PRs collided on the same lines (9 of the
26 open PRs with conflicts on 2026-10-09). The rows now live in
reference/automation/<suite>.md, one file per suite; lint:manual reads the
shards, resolves the boxes they cite and refuses a file that names no suite.
@yannickmonney
yannickmonney merged commit ac4333f into main Oct 9, 2026
@yannickmonney
yannickmonney deleted the refactor/manual-automation-shards branch October 9, 2026 02:35
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