Skip to content

chore(deps): bump react-router from 7.14.2 to 8.5.1 - #2798

Merged
simple-agent-manager[bot] merged 6 commits into
mainfrom
dependabot/npm_and_yarn/react-router-8.5.1
Nov 17, 2026
Merged

simple-agent-manager[bot] merged 6 commits into
mainfrom
dependabot/npm_and_yarn/react-router-8.5.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Dependabot bump of the react-router catalog pin from 7.14.2 to 8.5.1 (apps/web, packages/ui), completed by SAM task 01M7MPMWG0B3D8PSN7QGSTTYEP under policy 1b930820.
  • Decision: a narrow, supported upgrade, not a coordinated migration. Every v8.0.0 major change was checked against SAM's real consumers. All 253 imports come from react-router, and SAM uses declarative mode only (BrowserRouter, MemoryRouter, Routes, Route, Link, NavLink, Navigate, Outlet, hooks, matchPath). Nothing imports react-router-dom or react-router/dom. Nothing uses future.v8_*, hasErrorBoundary, UNSAFE_* contexts, meta data, AppLoadContext, viewTransition or data/framework routers.
  • Peer floors: React is 19.3.1 (the floor is 19.2.7). The Node floor is now 22.22.0: CI and deploy use node-version: '22' (latest 22.x) and the devcontainer runs Node 24.
  • Consumer changes (commit 3371873):
    • root engines.node raised to ^22.22.0 || >=24.0.0
    • the local-development guide updated to match
    • a new real-BrowserRouter guard test in apps/web/tests/unit/app-routes.test.tsx
  • The branch was updated from main by merge. History is preserved and nothing was force-pushed.
  • Transitive changes: adds @remix-run/route-pattern@0.22.1 and cookie-es@3.1.1 (no dependencies of their own), and drops cookie and set-cookie-parser 2.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:check passes and the web vite build succeeds.
  • Additional validation: the new test keeps deep links, replace redirects and Back/Forward coherent drives the real App and BrowserRouter through the History API (deep link, index <Navigate replace>, push, Back, Back, Forward). Discrimination check: removing replace from the project index redirect turns it red on the "Back leaves the project" assertion. I restored it afterwards.
  • N/A: no sweep/cron candidate selection change

Staging Verification (REQUIRED for all code changes — merge-blocking)

  • Staging deployment green — Deploy Staging to staging2 on head 67ff7fbd4f5789d1f15b7f1a745fff50cb7c0ee3, run https://github.com/raphaeltm/simple-agent-manager/actions/runs/44111594275 (Validate Configuration and Deploy to Cloudflare passed; workflow smoke-tests result below)
  • Live app verified via Playwright — signed in to app.sammy2.party with workload identity (target staging2-agent-user), cookie added to a Playwright Chromium context
  • Existing workflows confirmed working — dashboard, projects list, project overview, project chat and settings pages load with zero console errors
  • New feature/fix verified on staging — router behaviour under v8, details below
  • Infrastructure verification completed — N/A: no infra changes
  • Mobile and desktop verification notes added for UI changes (375×667 and 1280×800 runs below)

Staging 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:

  • Auth gate: a signed-out deep link to /settings lands on /, not on the protected page.
  • Signed-in deep link: /dashboard renders.
  • Index replace-redirect: a deep link to /projects/:id lands on /projects/:id/overview.
  • In-app navigation: clicking the Chat link moves to /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.
  • Back/Forward:
    • Back returns to overview.
    • A second Back returns to /dashboard, which shows the redirect replaced its history entry rather than looping.
    • Forward returns to overview.
  • Relative redirect: /projects/:id/knowledge goes to /projects/:id/agent-context (<Navigate to="../agent-context" replace>).
  • Settings: /settings resolves to /settings/agents, and a reload keeps the deep link.
  • Overflow: no document-level horizontal overflow on dashboard, overview, chat, settings or projects at either width.

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)

  • Data flow traced: apps/web/src/App.tsx BrowserRouter → Routes → project shell Route path="/projects/:id" → index <Navigate to="overview" replace>. Covered by the new app-routes test and by the staging browser run.
  • Capability test exercises the real App route table through browser history.
  • Assumptions verified: consumer API usage checked by grep, and peer and engine floors checked against the lockfile and CI.
  • Remaining manual verification is on staging, described above.

Data Flow Trace

window.history → BrowserRouter (apps/web/src/App.tsx) → Routes/Route match → Navigate replace / Outlet → page. Prefetch matching uses matchPath in apps/web/src/lib/project-route-prefetch.ts.

Untested Gaps

Local Playwright could not launch Chromium in this workspace: the system library libnspr4 is missing and installing it needs sudo. 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)

  • All local reviewers completed and findings addressed before merge
  • If any reviewer did NOT complete: needs-human-review label added and merge deferred to human (N/A: all completed)
Reviewer Status Outcome
ui-ux-specialist PASS No CRITICAL/HIGH/MEDIUM findings. NavLink usage reads only isActive; relative Navigate targets, matchPath patterns and navigate targets are unaffected. LOW: unrelated Prettier reflow, now reverted in 43458ef.
security-auditor PASS New transitive packages carry integrity hashes and have no dependencies of their own; nothing reaches the API worker. No open redirect via router targets. v8 URL validation only adds checks.
constitution-validator PASS No hardcoded values; simplest viable change. Doc-sync: no other references to the 22.14 floor. LOW items addressed (task checklist updated, reflow reverted).
task-completion-validator PASS Checks A–F pass. Independent grep finds no removed v8 API. LOW: cite browser evidence, done in the staging section.

CodeRabbit Review Evidence (Required for agent-authored PRs)

  • CodeRabbit requested when the PR was marked ready for review
  • Waited about 15 minutes (or until a skip, rate-limit or quota reply)
  • Either CodeRabbit reviewed and no CodeRabbit feedback is unresolved, or it did not review and the observed outcome is recorded below

CodeRabbit Notes

Requested at 12:41Z by applying the coderabbit-review label when the candidate was ready. The label-triggered pull_request_target run was skipped. I dispatched coderabbit-bot-review.yml from main once 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)

  • Scope: none
  • Rationale: none
  • Expiration: none

Agent Preflight (Required)

  • Preflight completed before code changes

Classification

  • external-api-change
  • cross-component-change
  • business-logic-change
  • public-surface-change
  • docs-sync-change
  • security-sensitive-change
  • ui-change
  • infra-change

External References

  • Official documentation: react-router@8.5.1 package 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.md
  • Peer and engine metadata from the react-router@8.5.1 package.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) and packages/ui (peer and dev dependency, Tabs NavLink). 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.

v8.5.1

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v851

v8.5.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v850

v8.4.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840

v8.3.1

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v831

v8.3.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v830

v8.2.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v820

v8.1.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v810

v8.0.1

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v801

v8.0.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v800

v7.18.5

See the changelog for release notes: https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7185

v7.18.4

See the changelog for release notes: https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7184

v7.18.3

See the changelog for release notes: https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7183

v7.18.2

See the changelog for release notes: https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7182

v7.18.1

See the changelog for release notes: https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7181

v7.18.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7180

v7.17.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7170

v7.16.0

See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7160

... (truncated)

Changelog

Sourced from react-router's changelog.

v8.5.1

Patch Changes

  • Fix URIError: URI malformed when an ssr: false dev server receives a URL path with a malformed percent-encoding (#15649)
  • Bound server route manifest processing for paths with expensive route expansion (#15703)
    • Fall back to initial route discovery during server rendering and RSC document/data requests
    • Account for the number and depth of candidate branches when using regex matching
  • Encode commas within paths sent to the lazy route discovery manifest endpoint so routes with commas in their paths are discovered correctly (#15640)
  • Fix fetcher revalidation errors bubbling to the root error boundary instead of the nearest boundary above the route that owns the fetcher (#15676)
  • Avoid duplicate history entries when posting a <Form> to the current URL with an encoded action (#15679)
    • Replace the current history entry when the action contains characters that get percent-encoded, such as spaces or non-ASCII characters
  • Fix an unhandled promise rejection when the browser skips a viewTransition navigation, for example in a hidden tab (#15582)
  • Bubble rejected lazy.Component imports on loader-less routes to the nearest error boundary (#15658)
    • Render the error boundary instead of a blank page
  • Preserve pending fetcher mutation revalidation when an older navigation or background reload completes to prevent stale loader data (#15686)
    • Keep newer fetcher loads cancellable and preserve them when earlier revalidations finish or abort, preventing older responses from overwriting fresh fetcher data
  • Retry rejected lazy route imports instead of caching failures permanently (#15689)
  • Revalidate loader data when a fetcher action redirect is not followed (#15557)
    • Revalidate when an action redirect is ignored because a newer navigation started or the fetcher unmounted while the action was running
    • Include shared parent loaders when another navigation completed while the action was running
    • Continue to respect shouldRevalidate
    • Return fetchers to idle when a revalidation completes a pending navigation started by another fetcher's redirect
  • Avoid adding an incompatible document.startViewTransition() overload to the global Document type (#15680)
    • Allow transition results to be assigned to the DOM ViewTransition type
  • Skip deleteData in destroySession when the session has no ID (#15639)
    • Avoid failures when destroying a session without a cookie on storage that rejects an empty key
  • Surface the host's 404 response when a SPA fallback route has no prerendered data (#15646)
    • Request single-fetch .data files for hydrating routes with a server loader in an ssr: false app with a prerender config
    • Avoid the internal "No result found for routeId" error for non-prerendered parameterized paths served via the SPA fallback
  • Improve turbo-stream decoding validation and object property handling (18e1fbd)

Unstable Changes

⚠️ Unstable features are not recommended for production use

  • Add an opt-in <Await unstable_promise={promise}> implementation based on React's use() API (#15678)
    • Use React.use instead of React Router's internal promise tracking
    • Accept promise-like values and retain errorElement, useAsyncValue, and useAsyncError support
    • Handle only promise rejections with errorElement when using unstable_promise, allowing child render errors to bubble to the nearest React error boundary
    • Track streamed promises during decoding so settled server content stays visible during hydration updates with either Await API or direct React.use()
  • Fix URIError: URI malformed when an API-only (ssr: "unstable_api-only") server receives a URL path with a malformed percent-encoding (#15649)
  • Fix duplicate headers when throwing a redirect from an RSC server function (#15667)

v8.5.0

Minor Changes

  • Deprecate React Router's view transition APIs in favor of React's <ViewTransition> component, available in React 19.3 and later (#15493)
    • Deprecate the viewTransition props/options, useViewTransitionState, and NavLink's isTransitioning render prop and transitioning class

... (truncated)

Commits
  • a2783e6 Release v8.5.1 (#15656)
  • 69465b0 docs: prepare 8.5.1 release notes
  • 393d7c1 Bound server route manifest processing (#15703)
  • 18e1fbd Improve turbo-stream decoding validation and object property handling
  • cc0b62e Add Await unstable_promise and preserve streamed content during hydration (#1...
  • a7db797 fix(react-router): retry rejected lazy route imports (#15689)
  • 3ef3def fix(react-router): preserve pending mutation revalidation (#15686)
  • 6cdc3fa fix(react-router): revalidate when an ignored fetcher action redirect is not ...
  • b0a4477 chore: format
  • 4f788db Fix 404 on hard load of non-prerendered param route served via SPA fallback (...
  • Additional commits viewable in compare view

Bounded batch disposition — November17 04:56Z

HELD on original branch dependabot/npm_and_yarn/react-router-8.5.1, reconciled head e4fbfc2be724d00b1868c09baead8779690fb516. 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

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 16, 2026
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@codspeed

codspeed Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 5 untouched benchmarks
⏩ 1 skipped benchmark1


Comparing dependabot/npm_and_yarn/react-router-8.5.1 (67ff7fb) with main (606fefe)

Open in CodSpeed

Footnotes

  1. 1 benchmark was skipped, so the baseline result was used instead. If it was deleted from the codebase, click here and archive it to remove it from the performance reports. ↩

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>
raphaeltm and others added 2 commits November 17, 2026 12:21
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>
@simple-agent-manager simple-agent-manager Bot added the coderabbit-review Trigger CodeRabbit review for opt-in PRs label Nov 17, 2026
@github-actions
github-actions Bot requested a deployment to staging2 November 17, 2026 12:45 Abandoned
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@raphaeltm

Copy link
Copy Markdown
Owner

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Action not completed

Review skipped.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

raphaeltm and others added 2 commits November 17, 2026 14:09
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@github-actions
github-actions Bot requested a deployment to staging2 November 17, 2026 15:49 Abandoned
@simple-agent-manager
simple-agent-manager Bot merged commit e74ebe4 into main Nov 17, 2026
50 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/react-router-8.5.1 branch November 17, 2026 16:34

This branch had an error being deployed

1 abandoned and 1 inactive deployments
staging2 — 67ff7fbd Deployed Nov 17, 2026 by github-actions[bot]
staging — 67ff7fbd Deployed Nov 17, 2026 by simple-agent-manager[bot] via lease #3170
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

coderabbit-review Trigger CodeRabbit review for opt-in PRs dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant