ci(frontend): lint changed files on pull requests#7748
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
Docker builds report
|
0dd58f1 to
66cf73f
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7748 +/- ##
==========================================
+ Coverage 98.48% 98.54% +0.06%
==========================================
Files 1453 1453
Lines 55809 55836 +27
==========================================
+ Hits 54964 55026 +62
+ Misses 845 810 -35 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Adds a lint job to the frontend PR workflow that runs eslint on only the files changed in the PR. The frontend has a large pre-existing eslint/tsc backlog, so a whole-repo gate isn't viable — diff-scoping stops new violations without blocking on legacy debt. eslint extends plugin:prettier/recommended, so this also catches formatting issues. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
66cf73f to
a51a1ec
Compare
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
|
Visual Regression19 screenshots compared. See report for details. |
Thanks for submitting a PR! Please check the boxes below:
docs/if required so people know about the feature.Changes
Adds a
lintjob to the frontend PR workflow that runseslinton only the files changed in the PR, hard-failing on errors.Diff-scoped because the frontend has a large pre-existing backlog (~1,650
tscerrors + eslint violations), so a whole-repo gate isn't viable yet — this stops new lint/format debt without blocking on legacy. eslint extendsplugin:prettier/recommended, so formatting is covered too. Fails on error-level rules only (conservative v1).How did you test this code?
Pushed a temp nested-ternary into a changed
.tsfile on this branch: the job hard-failed with a file/line annotation; removing it made the job skip and pass. Also ran the diff-scoped command locally against #7733 (caught 7 real errors).