feat(design-system): tokenize mode-nav icons, guard source segment test windows, and add ledger replay tests (#332, #341, #GT8S2K) - #2031
Conversation
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in:40 minutes Limit details: You’ve used all 1 included review currently available under your plan. You completed 95 included PR reviews in the past 7 days; at that activity level, included reviews refill at 1 review per hour. Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (14)
Comment |
CI triageCI failed on this PR. Automated classification of the 2 failed job(s):
Compared with main CI run #11344 (cancelled). Classification is evidence routing, not permission to ignore a failure. Exact quarantined Playwright identities remain governed by the flake ledger. |
Uh oh!
There was an error while loading. Please reload this page.
Summary
This PR implements Group 3 (Design Tokens, Source Contracts & Ledger Hardening) resolving issues #332, #341, and #GT8S2K / #325:
Production platform: deployment architecture, nightly eval canary, capacity review #332 (Mode-Nav Icon Glyphs onto Design System
--spacing-icon-mdScale):src/components/mode-nav/mode-nav.tsxandsrc/components/mode-nav/nav-slot-ink.tsx, replaced non-standardh-[1.0625rem] w-[1.0625rem](17px) literal classes with standard design-token utilitysize-icon-md(16px).rag.ts decomposition — part 1: quote verification, source block, numeric verification, context selection #341 (Unguarded Source-Slice Test Windows Migration):
.slice(..., indexOf)patterns across 10 test suites to guardedsourceSegmentandsourceFromhelpers fromtests/helpers/source-contract.ts, converting silent-1slice indexing failures into explicit throws with marker context:tests/css-delivery-contract.test.tstests/site-map.test.tstests/document-viewer-pdf-reader-lazy.test.tstests/mobile-chrome-paint-contract.test.tstests/mode-nav-contract.test.tstests/search-route-ownership.test.tstests/indexing-v3-agent.test.tstests/ci-cache-safety.test.tstests/global-v2-activation.test.tstests/ckb-v2-token-contract.test.tstests/design-token-contract.test.ts#GT8S2K / Universal search: fix core RAG search defects and federate medications/services/forms/differentials/tools into one cross-entity search #325 (Stale / Archived Row Rejection Coverage in Ledger Inbox):
tests/repo-hygiene.test.tsensuringapplyRequestinscripts/ledger-inbox.mjsthrows whendoneorupdaterequests target archived or nonexistent issue records.Verification
npx vitest run tests/css-delivery-contract.test.ts tests/site-map.test.ts tests/document-viewer-pdf-reader-lazy.test.ts tests/mobile-chrome-paint-contract.test.ts tests/mode-nav-contract.test.ts tests/search-route-ownership.test.ts tests/indexing-v3-agent.test.ts tests/ci-cache-safety.test.ts tests/global-v2-activation.test.ts tests/ckb-v2-token-contract.test.ts tests/design-token-contract.test.ts tests/repo-hygiene.test.tsnpm run check:design-system-contractnpm run check:outstanding-issuesnpm run check:skillsnpm run typecheck:internalnpm run lint:internalnpm run formatnpm run verify:uiRisk and rollout