Repository navigation
ci: make format, lint and doc lint blocking - #76
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
format,lintand thefeedsleg ofdoc lintwere advisory (continue-on-error) while the clean-up PRs landed. The.zedexclude (#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 becausepublish.ymlcallsci.yml, it also blocks the JSR publish.continue-on-errorfrom thefmt,lintanddoc-lintjobs, and the explanatory comments.advisoryflag from thedoc-lintmatrix; it is now a plainpackage: [manage, feeds]list.mainis published.Why it is safe once the stack merges
I checked a scratch merge of
devwith themiddlewarestack (the head of #67). It merges with no conflicts, and all of these exit 0 repo-wide:deno lint,deno fmt --check,deno checkdeno task doc:lintinfeedsandmanagecli5,feeds61,html10,manage34,middleware57,routes4,ui1)On
devtoday,deno lintfails with 15 findings anddeno fmt --checkwith 8, all inmiddleware/, which the stack fixes.After merging
dev), and mark it ready for review whenformatandlintare green.format,lintanddoc lint (feeds)can now be added to the required list.Test plan
continue-on-errororadvisoryreferences remaindevand the stack passes every CI command (above)🤖 Generated with Claude Code