Skip to content

ci: make format, lint and doc lint blocking - #76

Merged
carlrafting merged 2 commits into
devfrom
claude/ci-blocking-lint
Nov 23, 2026
Merged

carlrafting merged 2 commits into
devfrom
claude/ci-blocking-lint

Conversation

@carlrafting

@carlrafting carlrafting commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Draft: do not merge until #64, #65, #66 and #67 have merged. dev still has lint and format findings in middleware/, so this PR's own format and lint checks are expected to fail until then. Merging it earlier would make CI red and block publishing.

Summary

format, lint and the feeds leg of doc lint were advisory (continue-on-error) while the clean-up PRs landed. The .zed exclude (#75), feeds (#74) and the other packages are now merged, so this removes the exemptions. A failure in any of them now fails the CI run, and because publish.yml calls ci.yml, it also blocks the JSR publish.

  • Removes continue-on-error from the fmt, lint and doc-lint jobs, and the explanatory comments.
  • Drops the per-package advisory flag from the doc-lint matrix; it is now a plain package: [manage, feeds] list.
  • Updates the CI note in the root readme: everything must pass before a push to main is published.

Why it is safe once the stack merges

I checked a scratch merge of dev with the middleware stack (the head of #67). It merges with no conflicts, and all of these exit 0 repo-wide:

  • deno lint, deno fmt --check, deno check
  • deno task doc:lint in feeds and manage
  • all seven test suites (cli 5, feeds 61, html 10, manage 34, middleware 57, routes 4, ui 1)

On dev today, deno lint fails with 15 findings and deno fmt --check with 8, all in middleware/, which the stack fixes.

After merging

  • Rerun this PR's checks once the stack is in (or rebase onto dev), and mark it ready for review when format and lint are green.
  • If branch protection requires specific checks, format, lint and doc lint (feeds) can now be added to the required list.

Test plan

🤖 Generated with Claude Code

carlrafting and others added 2 commits November 22, 2026 22:48
fmt, lint and the feeds doc lint were advisory (continue-on-error) while
the clean-up PRs landed. Every package is now clean, so remove the
exemptions: a failure in any of them fails the run, and because
publish.yml calls ci.yml, it blocks the JSR publish too.

Also drop the per-package `advisory` flag from the doc-lint matrix and
update the readme's CI note.

Verified on a scratch merge of dev with the middleware clean-up stack:
`deno lint`, `deno fmt --check`, `deno check`, both doc:lint tasks and
all seven test suites exit 0. Until that stack merges, `dev` still has
findings in middleware/, so this must not be merged before it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@carlrafting
carlrafting marked this pull request as ready for review November 23, 2026 08:36
@carlrafting
carlrafting merged commit bca94ef into dev Nov 23, 2026
12 checks passed
@carlrafting
carlrafting deleted the claude/ci-blocking-lint branch November 23, 2026 11:52
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