Skip to content

test(remix-router): add bounded React parity harness - #498

Closed
jonkwheeler wants to merge 27 commits into
octanejs:mainfrom
jonkwheeler:jon/remix-router-react-parity-harness
Closed

jonkwheeler wants to merge 27 commits into
octanejs:mainfrom
jonkwheeler:jon/remix-router-react-parity-harness

Conversation

@jonkwheeler

@jonkwheeler jonkwheeler commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add pinned react-router 8.2.0 provenance, complete upstream runtime/test inventory, classifications, and a bounded parity manifest
  • authenticate nine exact client differential cases and five exact static SSR cases, with semantic async settling and isolated fail-closed fixture caches
  • generalize the repository React parity audit so recorded-unverified required lanes and per-binding classification ledgers execute and propagate failures

Verification

  • Remix Router projects: 26 files, 279 tests passed
  • combined client + SSR stress run: 17 files, 113 tests passed
  • both required parity lanes passed exact selection
  • exact-selection rename negative control passed
  • Remix Router typecheck and formatting passed
  • generated bindings status and CLI data are current
  • global React parity audit passed: stable 5,345 cases; canary 5,413 cases
  • independent correctness, testing, and adversarial reviews are clean

Provenance

  • An agent produced this diff (agent-authored)

Note

Low Risk
Changes are test infrastructure, audit manifests, and documentation; runtime router code is untouched, with fail-closed exact test selection reducing parity drift risk.

Overview
Adds a bounded React parity harness for @octanejs/remix-router against pinned [email protected], and tightens how repo-wide parity CI runs required lanes.

Remix-router evidence: New UPSTREAM.md, audit/react-parity.json, and test-classifications.json document provenance (recorded-unverified), a full upstream test inventory, and two required differential lanes—nine shared-fixture client scenarios and five SSR/hydration cases—with manifest-pinned test identities (@parity-case). Client differential setup compiles only declared fixtures; SSR uses a separate cache via _setup-ssr.ts and _compile-fixtures.ts. Differential tests replace fixed timeouts with semantic waitForBoth polling before byte comparisons. Vitest splits conformance, remix-router-differential, and remix-router-ssr (react-parity group).

Docs/status: Bindings docs, status.json, and CLI data now describe bounded evidence instead of claiming exhaustive upstream suite execution or full React parity.

Shared parity tooling: check.mjs runs required lanes when any exist, even if provenance is recorded-unverified; per-binding test-classifications.json is validated via generalized verifyPortTestClassifications. CI workflow tests match that behavior.

Reviewed by Cursor Bugbot for commit 62c3bd2. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Aug 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
octane-website Ready Ready Preview Aug 7, 2026 3:57pm
octane-website-mcp Ready Ready Preview Aug 7, 2026 3:57pm

Request Review

@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent test PR: tests only labels Aug 2, 2026
@jonkwheeler
jonkwheeler marked this pull request as ready for review August 2, 2026 17:36
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 2, 2026 17:37 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 17:38 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 2, 2026 18:13 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 18:13 Inactive
@jonkwheeler
jonkwheeler marked this pull request as draft August 3, 2026 01:48
@jonkwheeler
jonkwheeler force-pushed the jon/remix-router-react-parity-harness branch from 2e67edf to f23a6df Compare August 3, 2026 07:35
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 07:37 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 07:37 Inactive
Follow the hook-form pattern: tag parity lanes with
testExecution group react-parity, move differential tests into a
dedicated project with globalSetup precompile, and drop per-file
beforeAll compile hooks.
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 7, 2026 15:56 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 7, 2026 15:57 Inactive
Comment thread vitest.config.js Resolved
Comment thread vitest.config.js Resolved
@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

Comment thread vitest.config.js Resolved
Comment thread vitest.config.js Resolved
jonkwheeler and others added 2 commits August 9, 2026 01:34
Add testExecution group markers so the parity harness owns these lanes and ordinary shards exclude them.

Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>

# Conflicts:
#	packages/hook-form/audit/react-parity.json
#	packages/react-map-gl/audit/react-parity.json
@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@leonidaz leonidaz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React-parity review only; tests were not run.

jonkwheeler and others added 2 commits August 9, 2026 11:32
Provenance completeness was mapping recorded-unverified manifests to validate
only, which suppressed remix-router required differential execution in CI.

Co-authored-by: Cursor <[email protected]>
@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Addressed leonidaz required-lane routing feedback and updated the branch onto latest main.

Checklist:

  • Still draft
  • No unresolved review threads (including Cursor Bugbot)
  • Current with main / mergeable (CLEAN)
  • Cursor Bugbot completed on current head with no open findings

READY FOR REVIEW

jonkwheeler and others added 2 commits August 9, 2026 15:37
Treat mount.find misses as unsettled during waitForBoth retries, and use
optional text checks for the /users/42 navigation settle predicate.

Co-authored-by: Cursor <[email protected]>
@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@leonidaz leonidaz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React-parity conformance review.

- React oracle: `[email protected]` and `[email protected]`

The published package omits the repository test suite. The complete pinned
runtime suite has not been vendored and executed one-for-one, so the manifest

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documented parity workflow requires the complete test suite from the canonical tagged repository when the npm archive omits it; recording the omission and leaving the package recorded-unverified does not satisfy that deliverable. Please vendor the pinned suite/support files, execute the pristine lane unchanged, and provide a one-for-one adapted/classified disposition (with justified non-applicable cases) for every upstream file/case. The bounded differential lanes can supplement that evidence, but cannot replace it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documented parity workflow requires the complete test suite from the canonical tagged repository when the npm archive omits it; recording the omission and leaving the package recorded-unverified does not satisfy that deliverable.

Acknowledged — that is a scope call I do not want to silently reverse on this PR.

This branch deliberately documented the npm-archive omission, kept provenance recorded-unverified, and shipped bounded required differentials plus selected vendored-core suites instead of a full pristine pin (see UPSTREAM.md / status.json). Expanding to vendor the full pinned suite + support files, run the pristine lane unchanged, and produce a one-for-one adapted/classified disposition for every upstream file/case is a much larger deliverable than the current harness PR.

Need a maintainer call before proceeding:

  1. Expand this PR (or a follow-up) to the full pristine/adapted inventory as requested, or
  2. Accept the bounded differentials + inventory as interim evidence while provenance stays recorded-unverified.

Lean: treat full pristine vendoring as a dedicated follow-up so this PR can stay the bounded harness + CI routing fixes already landed — but I will not re-signal ready until that call is settled.

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Babysit run report (pipeline)

Status: blocked-needs-human — not ready to re-signal.

Checked: merge state CLEAN, Bugbot completed on 2e8bb99 with no open Bugbot findings, draft left alone.

Residual (parity scope): UPSTREAM.md thread — leonidaz requires full pristine vendoring + one-for-one disposition; this PR deliberately shipped bounded differentials under recorded-unverified. Thread left open with options; no READY FOR REVIEW posted.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.

Reviewed by Cursor Bugbot for commit 8d50315. Configure here.

Update-branch brought a newer pnpm-lock.yaml; keep the remix-router
manifest digest aligned so verifyLaneEnvironment can authenticate.

Co-authored-by: Cursor <[email protected]>
@leonidaz

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! This pull request was incorporated into main as commit 622184f94d50 through consolidated PR #699.

@leonidaz leonidaz closed this Aug 12, 2026
kotarotaniguchi0523 pushed a commit to kotarotaniguchi0523/octane that referenced this pull request Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-authored Diff or issue body substantially produced by an AI agent test PR: tests only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants