chore: Commit automatic lint fixes - #2819
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
🔵 Tier 2 — Low RiskSmall, isolated change with no API route or data model modifications. Why this tier:
Review process: AI review + quick human skim (target: 5–15 min). Reviewer validates AI assessment and checks for domain-specific concerns. Stats
|
58952c6 to
1227e10
Compare
E2E Test Results✅ All tests passed • 269 passed • 1 skipped • 1094s
Tests ran across 4 shards in parallel. |
Greptile SummaryThis PR applies automatic lint cleanup to frontend tests and lowers the app’s accepted ESLint warning count to the current baseline.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| packages/app/package.json | Lowers the ESLint warning ceiling from 740 to 663 without changing runtime dependencies or application behavior. |
| packages/app/src/tests/SessionSidePanel.test.tsx | Removes an obsolete lint-suppression comment from the nuqs test mock. |
| packages/app/src/components/tests/DBRowSidePanel.missingSource.test.tsx | Removes an obsolete lint-suppression comment from the useQueryState mock. |
| packages/app/src/components/tests/DBRowSidePanel.rememberedTab.test.tsx | Removes obsolete lint-suppression comments from mocked hooks without altering test behavior. |
| packages/app/src/components/tests/DBRowSidePanel.spanLinks.test.tsx | Removes obsolete lint-suppression comments from mocked hooks without altering test behavior. |
| packages/app/src/components/tests/DBRowSidePanel.spanLinksBreadcrumb.test.tsx | Removes obsolete lint-suppression comments from mocked hooks without altering test behavior. |
| packages/app/src/components/tests/DBRowSidePanel.staleStack.test.tsx | Removes an obsolete lint-suppression comment from the useQueryState mock. |
| packages/app/src/hooks/tests/useDashboardKioskMode.test.tsx | Removes an obsolete lint-suppression comment from the useQueryState mock. |
| packages/app/src/hooks/tests/useSidePanelStack.test.tsx | Removes an obsolete lint-suppression comment from the useQueryState mock. |
Reviews (2): Last reviewed commit: "Merge branch 'main' into drew/run-lint-f..." | Re-trigger Greptile
|
<!-- deep-review --> Deep Review
|
|
<!-- deep-review --> Deep ReviewThe multi-agent review was dispatched but could not reach Stage 1 (scope detection). The diff for this PR was never read, so this comment asserts nothing about the correctness of the change. Treat it as a tooling failure report, not as a clean bill of health. What blocked it
Confirmed repository state, for whoever re-runs this: What a re-run should targetNot findings — these are the areas left uncovered, listed so the next pass is not starting cold. An automated
How to unblockRe-dispatch once Bash is functional, or grant Reviewers (0): none — all reviewer sub-agents were withheld because no diff could be supplied to them. Dispatching them against an unreadable scope would have produced unfounded findings. Testing gaps: not assessed — requires the diff. |
…nt budget main's automatic lint-fix pass (#2819) tightened the app --max-warnings budget to exactly the current count (663), so any new warning fails the merge-tree lint. Disable the rule for the two new grandfathered-pattern instances (partial test fixture, parseTimeQuery default-range idiom that main already carries in ClickhousePage/DBChartPage).
…t budget main's automatic lint-fix pass (#2819) tightened the app --max-warnings budget to exactly the current count (663), so any new warning fails the merge-tree lint. Disable the rule for the partial test fixture.
…nt budget main's automatic lint-fix pass (#2819) tightened the app --max-warnings budget to exactly the current count (663), so any new warning fails the merge-tree lint. Disable the rule for the two new grandfathered-pattern instances (partial test fixture, parseTimeQuery default-range idiom).
…nt budget main's automatic lint-fix pass (#2819) tightened the app --max-warnings budget to exactly the current count (663), so any new warning fails the merge-tree lint. Disable the rule for the two new grandfathered-pattern instances (partial test fixture, parseTimeQuery default-range idiom).
…nt budget main's automatic lint-fix pass (#2819) tightened the app --max-warnings budget to exactly the current count (663), so any new warning fails the merge-tree lint. Disable the rule for the two new grandfathered-pattern instances (partial test fixture, parseTimeQuery default-range idiom).
…t budget main's automatic lint-fix pass (#2819) tightened the app --max-warnings budget to exactly the current count (663), so any new warning fails the merge-tree lint. Disable the rule for the partial test fixture.
…nt budget main's automatic lint-fix pass (#2819) tightened the app --max-warnings budget to exactly the current count (663), so any new warning fails the merge-tree lint. Disable the rule for the two new grandfathered-pattern instances (partial test fixture, parseTimeQuery default-range idiom).
Summary
This PR commits the results of running
make dev-lintafter a lint rule was previously added to the ignore list for test files. This PR also reduces the limit on lint warnings in the app to the current number, after these fixes.Screenshots or video
How to test on Vercel preview
N/A - no behavior changes
References