Skip to content

fix(ci): unbreak docs deploy and catalog lint#543

Merged
aaronsb merged 1 commit into
mainfrom
fix/ci-docs-lint-and-deploy
Jul 2, 2026
Merged

fix(ci): unbreak docs deploy and catalog lint#543
aaronsb merged 1 commit into
mainfrom
fix/ci-docs-lint-and-deploy

Conversation

@aaronsb

@aaronsb aaronsb commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Why

Two CI jobs went red on main after #542 (schema checkpoint consolidation). This is the fast fix to get a clean pass before landing the follow-up docs work.

Changes

  • Deploy Documentation — the workflow ran npm run docs:cli without building the CLI, so cli/dist/cli/commands.js was missing. Now builds the CLI first.
  • Docs Catalog Lint — doclint's retired-range guard (ADR-900 vacated ADR-1..99) flagged old ADR references that the schema generator carries verbatim from COMMENT ON text in the baseline DDL. .sql is already outside the guard's scan, so the generated docs/reference/ tree is now exempted too — those refs belong to the source, not the derived page.

Verification (local)

  • doclint.py --check --enforce-adrs → exit 0 (was 40 errors)
  • Ran the exact CI doc-gen sequence (npm run build && docs:cli && docs:mcp) → all OK

https://claude.ai/code/session_017Her5fGimBvtzYD4q9tNnf

…idation

Two failures surfaced on main after PR #542 (schema checkpoint consolidation):

- Deploy Documentation: the workflow ran `npm run docs:cli` without building
  the CLI first, so `cli/dist/cli/commands.js` did not exist. Build the CLI
  before the doc generators.

- Docs Catalog Lint: doclint's retired-range guard (ADR-900 vacated 1–99)
  flagged old ADR references carried verbatim into the generated schema
  reference from `COMMENT ON` text in the baseline DDL. The `.sql` source is
  already outside the guard's scan, so exempt the generated `docs/reference/`
  tree too — the refs belong to the source, not the derived page.

Claude-Session: https://claude.ai/code/session_017Her5fGimBvtzYD4q9tNnf
@aaronsb aaronsb merged commit ca653bb into main Jul 2, 2026
6 checks passed
@aaronsb aaronsb deleted the fix/ci-docs-lint-and-deploy branch July 2, 2026 06:04
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