Repository navigation
chore(deps): bump react-router from 7.14.2 to 8.5.1 - #2798
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
Merging this PR will not alter performance
Comparing Footnotes
|
Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 7.14.2 to 8.5.1. - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router@8.5.1/packages/react-router) --- updated-dependencies: - dependency-name: react-router dependency-version: 8.5.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
bdfaef4 to
e4fbfc2
Compare
…rn/react-router-8.5.1
React Router 8 requires Node >= 22.22.0. Raise the root engines floor and the local-development guide to match, and add a real-BrowserRouter test for deep links, index replace-redirects and Back/Forward traversal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@coderabbitai review |
Action not completed
|
…rn/react-router-8.5.1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|



Summary
react-routercatalog pin from 7.14.2 to 8.5.1 (apps/web,packages/ui), completed by SAM task01M7MPMWG0B3D8PSN7QGSTTYEPunder policy 1b930820.react-router, and SAM uses declarative mode only (BrowserRouter,MemoryRouter,Routes,Route,Link,NavLink,Navigate,Outlet, hooks,matchPath). Nothing importsreact-router-domorreact-router/dom. Nothing usesfuture.v8_*,hasErrorBoundary,UNSAFE_*contexts, metadata,AppLoadContext,viewTransitionor data/framework routers.node-version: '22'(latest 22.x) and the devcontainer runs Node 24.engines.noderaised to^22.22.0 || >=24.0.0BrowserRouterguard test inapps/web/tests/unit/app-routes.test.tsxmainby merge. History is preserved and nothing was force-pushed.@remix-run/route-pattern@0.22.1andcookie-es@3.1.1(no dependencies of their own), and dropscookieandset-cookie-parser2.x from react-router's dependency tree. None of these reach the API worker.Validation
pnpm lint(22/22)pnpm typecheck(36/36)pnpm test: web 5379/5379, ui 139/139.pnpm format:checkpasses and the webvite buildsucceeds.keeps deep links, replace redirects and Back/Forward coherentdrives the realAppandBrowserRouterthrough the History API (deep link, index<Navigate replace>, push, Back, Back, Forward). Discrimination check: removingreplacefrom the project index redirect turns it red on the "Back leaves the project" assertion. I restored it afterwards.Staging Verification (REQUIRED for all code changes — merge-blocking)
Deploy Stagingto staging2 on head67ff7fbd4f5789d1f15b7f1a745fff50cb7c0ee3, run https://github.com/raphaeltm/simple-agent-manager/actions/runs/44111594275 (Validate Configuration and Deploy to Cloudflare passed; workflow smoke-tests result below)app.sammy2.partywith workload identity (targetstaging2-agent-user), cookie added to a Playwright Chromium contextStaging Verification Evidence
Scripted Playwright run against staging2 (2026-11-17, 15:43–15:46Z), run once at desktop 1280×800 and once at mobile 375×667. 36/36 checks passed, 0 console errors:
/settingslands on/, not on the protected page./dashboardrenders./projects/:idlands on/projects/:id/overview./projects/:id/chat, and the chat surface renders ("What do you want to build?", the composer and the chat list). This was re-checked after the lazy chunk loaded, both via the link click and via a direct deep link with a reload./dashboard, which shows the redirect replaced its history entry rather than looping./projects/:id/knowledgegoes to/projects/:id/agent-context(<Navigate to="../agent-context" replace>)./settingsresolves to/settings/agents, and a reload keeps the deep link.Screenshots are in
.codex/tmp/playwright-screenshots/pr2798-staging2/(desktop/mobile 01–08). I opened and reviewed them, and the pages are visibly distinct.Unrelated issue found: in the chat empty state, the suggestion card with a long repository URL overflows its card. This existed before and is independent of the router; filed as SAM Idea
01M7N318YJF6Y6631CJNGPGWKB.UI Compliance Checklist (Required for UI changes)
N/A: no UI source changes. Only the router library version changes, plus a unit test. Routed surfaces were re-verified on staging at desktop (1280×800) and mobile (375×667); see Staging Verification Evidence. CI Playwright Visual Tests also passed on this branch.
End-to-End Verification (Required for multi-component changes)
apps/web/src/App.tsxBrowserRouter→Routes→ project shellRoute path="/projects/:id"→ index<Navigate to="overview" replace>. Covered by the newapp-routestest and by the staging browser run.Approute table through browser history.Data Flow Trace
window.history→BrowserRouter(apps/web/src/App.tsx) →Routes/Routematch →Navigate replace/Outlet→ page. Prefetch matching usesmatchPathinapps/web/src/lib/project-route-prefetch.ts.Untested Gaps
Local Playwright could not launch Chromium in this workspace: the system library
libnspr4is missing and installing it needssudo. Browser coverage comes from CI's Playwright Visual Tests job and the staging browser run.Post-Mortem (Required for bug fix PRs)
N/A: not a bug fix
Specialist Review Evidence (Required for agent-authored PRs)
needs-human-reviewlabel added and merge deferred to human (N/A: all completed)isActive; relativeNavigatetargets,matchPathpatterns and navigate targets are unaffected. LOW: unrelated Prettier reflow, now reverted in 43458ef.CodeRabbit Review Evidence (Required for agent-authored PRs)
CodeRabbit Notes
Requested at 12:41Z by applying the
coderabbit-reviewlabel when the candidate was ready. The label-triggeredpull_request_targetrun was skipped. I dispatchedcoderabbit-bot-review.ymlfrommainonce at 12:57Z (run 44087935603, success). CodeRabbit replied at 12:57:20Z: "Action not completed — Review skipped". Its earlier status comment says the PR "was authored by a bot without an assigned CodeRabbit review seat". So no review arrived, and the wait ended at once on the skip reply (rule 25 / policy 73ed7a68). Merging on the remaining gates.Exceptions (If any)
Agent Preflight (Required)
Classification
External References
CHANGELOG.md(v8.0.0 "Major Changes" through v8.5.1), read from the published npm tarball: https://github.com/remix-run/react-router/blob/main/CHANGELOG.mdpackage.json: node>=22.22.0, react/react-dom>=19.2.7, optional@types/react*>=19.2.0.Codebase Impact Analysis
apps/web(router consumer, 253 imports, declarative mode) andpackages/ui(peer and dev dependency,TabsNavLink). No API worker or other package imports react-router.Documentation & Specs
apps/www/src/content/docs/docs/guides/local-development.md: Node version line updated to 22.22+. No spec changes.Constitution & Risk Check
Principles X (simplicity) and XI (no hardcoded values) checked: no new configuration or values. Risk: navigation behaviour changes in the 8.x patch releases (URL validation, NavLink pending, matchPath optional segments). The reviewers traced each one against SAM's call sites and found no impact, and staging navigation covers the remainder.
Original Dependabot description
Bumps react-router from 7.14.2 to 8.5.1.
Release notes
Sourced from react-router's releases.
... (truncated)
Changelog
Sourced from react-router's changelog.
... (truncated)
Commits
a2783e6Release v8.5.1 (#15656)69465b0docs: prepare 8.5.1 release notes393d7c1Bound server route manifest processing (#15703)18e1fbdImprove turbo-stream decoding validation and object property handlingcc0b62eAdd Await unstable_promise and preserve streamed content during hydration (#1...a7db797fix(react-router): retry rejected lazy route imports (#15689)3ef3deffix(react-router): preserve pending mutation revalidation (#15686)6cdc3fafix(react-router): revalidate when an ignored fetcher action redirect is not ...b0a4477chore: format4f788dbFix 404 on hard load of non-prerendered param route served via SPA fallback (...Bounded batch disposition — November17 04:56Z
HELD on original branch
dependabot/npm_and_yarn/react-router-8.5.1, reconciled heade4fbfc2be724d00b1868c09baead8779690fb516. Current GitHub checks have no pending/failing results. No submitted reviews or competing URL+branch owner; all association pages read, sole task01M7J4DRVF3H4CF5Y5905NJ2AW, hasMore=false. Comments are bot reports; #2796 sole human-identity comment is the trusted CodeRabbit workflow request, with no human hold.Serially HELD behind #2796's concrete staging noise gate blocker (SAM Idea01M7KE1VAKJTKGV21CAAK6MQMG; owner staging installation/bootstrap maintenance). This PR has not undergone batch upstream/consumer compatibility review, local focused tests, requested CodeRabbit gate, specialist/completion review or real staging. Release condition: clear predecessor's noise gate, finish #2796 merge plus actual production deploy/minimalhealth, then reconcile this current head/owners/reviews/checks and perform all applicable gates. No review/test/staging success inferred from existing bot CI. Preserve original PR/branch/history; no force push or defaults change. Major strategy for #2798/#2799 and Go/security/real-VM gates for #2800–#2802 remain required when reached. This records a genuine serial blocker, not a human draft/show-me-first hold.
🤖 Generated with Claude Code