Repository navigation
test,docs: close the still-open CodeRabbit findings from the last five days - #411
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThe changes document Playwright snapshot updates, clarify fixed wall layout behavior, strengthen wall fade assertions across viewports, report selectors skipped for missing glyph pixels, and recognize Chromium’s 3D identity transform as settled. ChangesWall regression coverage
Painted-contrast diagnostics
Reveal settling detection
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed: dependency version conflict. Check your lock file or package.json. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…e days Triaged every bot review on the 60 PRs merged since 2026-07-24. Copilot was quota-limited on all of them and Codex's one finding (#340 Linux baselines) was handled by #342, so everything actionable is CodeRabbit's. Most of its findings were already closed by #378/#380 or superseded by later work; two were false positives. These five were still open and worth taking. - frontend.e2e: pin the tablet wall fade (#399). The 2.75rem override IS that PR, and nothing asserted it — the existing fade check runs at 390px, outside the 640-1023px query, so deleting the rule stayed green, and the overrun ceiling is deliberately loose enough (60px) to swallow the 44px residue too. Asserted exactly, because matching the residue is the point. - templates-a11y: accept the 3D identity as settled (#394). A reveal written with translate3d, or carrying a translateZ(0) compositor hint, serialises as matrix3d — the check saw only the 2D identity and would have failed the gate for a reveal sitting exactly where it belongs. - painted-contrast: name the no-glyph-pixel skips (#394). unresolvedSelectors already exists so a skip cannot hide which node it dropped; this is the other way an unmeasurable node leaves the run, and it was a bare count. - ComponentWall: fix the zoom comment (#396). It claimed every card shows true desktop proportions at every size. zoom pins the 1280px layout width, not the breakpoint — frontend.e2e's own comment says as much — and that claim is exactly what would mislead the next person curating frame heights. - CONTRIBUTING: document the changed-vs-all snapshot trap (#375). A bare --update-snapshots skips baselines whose diff lands under tolerance, which is the same stale-baseline half-mint the section warns about, minus the missing file that would have revealed it. visual-baselines.yml explains this at length; the local instructions did not. Skipped, with reasons: tokenising the wall fade heights and the mask-image black stops (#399/#396/#370) — the token rule scans component utilities, not globals.css, which defines tokens and carries raw lengths throughout, and a mask's black is an alpha keyword rather than a colour; fading only confirmed-overflow cards (#396) — the valve exists for content that has not changed yet; moving privacy copy into site.ts (#372) — real per AGENTS.md, but about/blog/brand-guide hold local copy too, so this belongs in one deliberate pass; subset-aware blog visual validation (#375) — outputRoot defaults to the repo, so a --slug render is incremental against committed assets and the full-catalog gate is the correct final check. Verified: lint, tsc, the three affected int specs, and both e2e specs green (frontend 44 passed, templates-a11y 43 passed) in production mode. Co-Authored-By: Claude Opus 5 <[email protected]>
df3007c to
a66e420
Compare
…dening, dependency refresh (#416) Brings main level with dev ahead of publishing 1.2.1. - wall fit guard tightened from 60px to 50px, and the fumadocs int spec no longer pins prettier's line breaks (#413) - CodeRabbit findings from the last five days closed (#411) - tsconfig drops the redundant react types path that blocked every vite 8 bump (#412), unblocking vite 8.1.5; dependency refresh for lucide-react, fumadocs and the test tooling (#365, #366, #367) - shadcn bumped to 4.15.0 with the CLI pin single-sourced, so a version bump no longer has to be written in four places (#401) Tree is identical to dev by construction: branched from dev, reparented onto main, so the diff is exactly the main..dev delta with no squash-divergence conflicts.
Summary
Triaged every bot review across the 60 PRs merged since 2026-07-24. Copilot was quota-limited on all of them, and Codex's single finding (#340, Linux baselines) was already handled by #342 — so everything actionable came from CodeRabbit. Most of its findings were already closed by #378/#380 or superseded by later work, and two were false positives. Five were still open and worth taking:
frontend.e2e: pin the tablet wall fade (fix(landing): close the wall's tablet overflow, and assert the fit #399). The2.75removerride is that PR, and nothing asserted it. The existing fade check runs at 390px — outside the 640–1023px query — so deleting the rule stayed green, and the overrun ceiling is deliberately loose enough (60px) to swallow the 44px residue too. Asserted exactly, because matching the residue is the point.templates-a11y: accept the 3D identity as settled (test(templates): axe every concept, and measure gradient plates in pixels #394). A reveal written withtranslate3d, or carrying atranslateZ(0)compositor hint, serialises asmatrix3d. The check saw only the 2D identity and would have failed the gate for a reveal sitting exactly where it belongs.painted-contrast: name the no-glyph-pixel skips (test(templates): axe every concept, and measure gradient plates in pixels #394).unresolvedSelectorsalready exists so a skip cannot hide which node it dropped; this is the other way an unmeasurable node leaves the run, and it was a bare count.ComponentWall: fix the zoom comment (PinZheng(release): promote dev to main — CodeQL entity fix, wall overflow, template a11y #396). It claimed every card shows true desktop proportions at every size.zoompins the 1280px layout width, not the breakpoint —frontend.e2e's own comment says as much — and that claim is exactly what would mislead the next person curating frame heights.CONTRIBUTING: document the changed-vs-all snapshot trap (release: promote dev to main — CodeRabbit follow-ups (#380) #375). A bare--update-snapshotsskips baselines whose diff lands under tolerance, which is the same stale-baseline half-mint the section already warns about, minus the missing file that would have revealed it.visual-baselines.ymlexplains this at length; the local instructions did not.Two false positives, for the record. CodeRabbit flagged
hidden={!open}alongside an unconditionalflexon thecommerce-brand(🔴 Critical) andfintech-trust(🟠 Major) mobile nav panels, reasoning thatflexoverrides the UA[hidden]rule so the panels never hide. Tailwind v4's Preflight ships[hidden]:where(:not([hidden='until-found'])) { display: none !important; }, which wins — andtemplates.e2e.spec.ts:402already asserts the panel hides after Escape for every concept, including those two, green on every gate run. No change needed; seven components share the pattern.Skipped, with reasons. Tokenising the wall fade heights and the
mask-imageblack stops (#399/#396/#370) — the token rule scans component utilities, notglobals.css, which defines tokens and carries raw lengths throughout, and a mask'sblackis an alpha keyword rather than a colour. Fading only confirmed-overflow cards (#396) — the valve exists for content that has not changed yet. Moving privacy copy intosite.ts(#372) — real per AGENTS.md, butabout/blog/brand-guidehold local copy too, so it belongs in one deliberate pass rather than one page. Subset-aware blog visual validation (#375) —outputRootdefaults to the repo, so a--slugrender is incremental against committed assets and the full-catalog gate is the correct final check.Verification
pnpm test:releaseGreen end to end (
EXIT=0, captured to a file rather than piped —| tailreports tail's status): 32 int files passed, and the e2e batches at 44, 69, 102, 43, 133 passed. No renders change, so no baselines move — the onlysrc/edit is a JSX comment.Registry Checklist
public/routput out of git.No registry, component, or Payload target code touched — the changes are two e2e specs, one e2e support module, its int spec, a JSX comment, and
CONTRIBUTING.md.Notes
Both new assertions were checked for teeth rather than just for green: the tablet fade is pinned to exactly
44px, which only resolves if the media query applies (the base is28px), and the int spec now asserts theno glyph pixels:line names its node.🤖 Generated with Claude Code
Summary by CodeRabbit
Documentation
Tests