Skip to content

Keep main green: run the catalogue tests on documentation-only PRs - #583

Merged
repeat98 merged 1 commit into
mainfrom
keep-main-green
Oct 14, 2026
Merged

repeat98 merged 1 commit into
mainfrom
keep-main-green

Conversation

@repeat98

Copy link
Copy Markdown
Owner

`main` has failed `npm run check` since #580, so every pull request that changes code inherits a failure it did not cause (#573 and #555 both hit it).

Cause. #580 changed only Markdown, so its check skipped the test suite. The module-guides test checks that every `sdk/...` path the guides name exists, and the guide named `sdk/machines/octatrack/events.json`, which has not landed yet.

Fix.

  • The guide now says the registry will be `events.json` beside `compatibility.json`, instead of naming a path that does not exist.
  • A documentation-only check also runs `src/catalog` (about 15 seconds), where the tests that read Markdown live. `src/tooling/check.test.ts` pins the new step and its failure.

`npm run check -- --base origin/main` passes on this branch.

🤖 Generated with Claude Code

…ink that broke main

#580 changed only Markdown, so its check skipped the test suite. The module-guides test
checks that every `sdk/...` path the guides name exists, and the guide named
sdk/machines/octatrack/events.json, which has not landed. main has failed
`npm run check` since, so every PR that touches code inherited a failure it did not cause.

The guide now says the registry will be `events.json` beside compatibility.json instead of
naming a path that does not exist. A documentation-only check also runs `src/catalog`
(about 15 seconds), where the tests that read Markdown live.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@repeat98
repeat98 merged commit b40dc77 into main Oct 14, 2026
7 checks passed
repeat98 pushed a commit that referenced this pull request Oct 14, 2026
Brings #583: documentation-only checks also run the catalogue tests, and
the module guide's registry link. The guide's Events section is rewritten
next, now that events.json exists on this branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Fg4pq2GsTYaZktv9UzetGu
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