Repository navigation
Run app Stylelint in CI; cover all apps in make typecheck and test - #1373
Merged
Merged
Conversation
CI's Lint and format job ran app's ESLint but never its Stylelint, which `bun run lint` (and so `make lint`) runs locally. Add a Stylelint step after ESLint (app) in both pr.yaml and push.yaml, keeping the two jobs identical. `make typecheck` and `make test` ran only in app/, while CI type-checks app, website and calculator-app and tests app and website. Make the targets match CI, say what they cover in `make help`, and list them in the before-committing steps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
MaxGhenis
marked this pull request as ready for review
October 20, 2026 20:08
Contributor
Author
|
Merge audit for head
|
This was referenced Oct 20, 2026
This branch was successfully deployed
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.
Follow-up to #1366, which left two gaps.
Stylelint in CI
CI's Lint and format job ran
bun run eslintinapp/but neverbun run stylelint, whichbun run lint(and somake lint) runs locally. This adds a Run Stylelint (app) step right after Run ESLint (app) in bothpr.yamlandpush.yaml.bun run stylelintpasses on current main (32a84b5). It covers one source file,app/src/app.css; the only other.cssfile underapp/is a post asset that.stylelintrc.jsonignores. As a negative control, a probe file with an unknown property (colr: red) made it exit 2, so the step fails on real errors.Make targets match CI
make typecheckandmake testran only inapp/, whilemake lintandmake formatcover all three apps since #1366. Now:make typecheckrunsbun run typecheckinapp/,website/andcalculator-app/, the same three steps as CI's Type checking job.make testrunsbun run testinapp/andwebsite/, the same two steps as CI's Tests job.calculator-app/has no test script.make helpnow says what each covers,typecheckandtest-allare added to.PHONY, and the before-committing steps indocs/engineering/skills/repository-guidance.mdlist both targets.Invariants
jobs:sections ofpr.yamlandpush.yamlare identical (checked withdiff).make typecheck/make testcommand is a step in the matching CI job, and vice versa.Verification
Run locally at 294303e:
make typecheck:tsc --noEmitpasses inapp/,website/andcalculator-app/.make test:app/436 test files, 5,326 tests passed (10 skipped);website/39 files, 337 tests passed.make lint: ESLint and Stylelint inapp/, ESLint inwebsite/andcalculator-app/, all clean.Independent review (GPT-6.1 Sol, Subfleet job
20261020-155944-pr1373-review, at 294303e): APPROVE, no blocking findings. It re-ran the workflowjobs:diff, actionlint,make -n, a fail-fast check of each target, the Stylelint negative control (with and without the cache),make typecheckand the website tests.Not in this PR
Some older agent guidance is narrower than the Makefile; this PR didn't make any of it wrong:
.claude/commands/typecheck.mdtype-checks onlyapp/..claude/agents/lint-format-validator.mddoesn't mention Stylelint.docs/engineering/skills/testing.mdlists app commands without naming the directory.CI's Tests job pins Node 26 (vitest runs on Node, and
Intlnumber formatting differs between versions).make testuses whatever Node is installed locally (app/.nvmrcsays 24.3.0), so the commands match CI but the runtime can differ.🤖 Generated with Claude Code