Skip to content

test(tiptap): add React parity harness - #517

Closed
jonkwheeler wants to merge 49 commits into
octanejs:mainfrom
jonkwheeler:jon/tiptap-react-parity-harness
Closed

jonkwheeler wants to merge 49 commits into
octanejs:mainfrom
jonkwheeler:jon/tiptap-react-parity-harness

Conversation

@jonkwheeler

@jonkwheeler jonkwheeler commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • pin and document the @tiptap/react 3.28.0 provenance used by the binding
  • add fail-closed differential, adapted divergence, SSR, hydration, browser, and type evidence lanes
  • generalize binding classification checks and run required lanes for recorded-unverified manifests
  • allow plain TypeScript for adapted declaration suites that do not contain TSRX source

Verification

  • Tiptap Vitest runtime and SSR projects: 12 files, 28 tests passed
  • all six Tiptap parity lanes passed, including 5 real Chromium cases
  • React parity harness unit tests passed
  • generated binding status and parity-gap indexes are current
  • global React parity audit passed (stable: 5,345 cases; canary: 5,413 cases)

Provenance

  • An agent produced this diff (agent-authored)

Note

Low Risk
Changes are mostly test harness, audit metadata, and CI setup; production binding code only adds divergence documentation comments, not new runtime behavior in this diff.

Overview
Adds a verified React-parity evidence stack for @octanejs/tiptap against @tiptap/[email protected]: vendored upstream specs with upstream:verify, pristine/adapted runtime inventories, differential and type lanes in audit/react-parity.json, test classifications, and dedicated scripts/react-parity/tiptap-* validators wired into react-parity:check.

CI installs Playwright Chromium before react-parity:check so browser parity lanes can run; integration shard ordering for packages/tiptap/tests/browser is unchanged aside from list order.

Harness plumbing allows adapted-types lanes to compile with plain tsc (tiptap pristine type probes). Workspace lockfile SHA-256 pins refresh across binding parity manifests; eval user-apps manifests pick up the new overlay hash and updated grader digests.

Binding status/docs bump @octanejs/tiptap scope/evidence to 2026-08-02; NodeViewWrapper / ReactMarkViewRenderer gain OCTANE DIVERGENCE[…] citations tied to recorded parity case IDs.

Reviewed by Cursor Bugbot for commit b50ac6b. 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
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 2, 2026 23:39 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 2, 2026 23:39 Inactive
@jonkwheeler
jonkwheeler marked this pull request as draft August 3, 2026 01:49
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 06:10 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 06:10 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 06:43 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 06:44 Inactive
@jonkwheeler
jonkwheeler force-pushed the jon/tiptap-react-parity-harness branch from 6e13841 to 641b5f0 Compare August 3, 2026 07:52
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp August 3, 2026 07:54 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website August 3, 2026 07:54 Inactive
Comment thread .github/workflows/ci.yml Resolved
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:57 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
jonkwheeler marked this pull request as ready for review August 7, 2026 17:43
Comment thread scripts/react-parity/check.mjs Resolved
@jonkwheeler
jonkwheeler marked this pull request as draft August 7, 2026 19:49
Comment thread packages/tiptap/audit/react-parity.json Resolved
Restore overlayLockfileHash to the current pnpm-lock.yaml after the main merge, and normalize TipTap upstream inventory paths for Windows.

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

Copy link
Copy Markdown
Contributor Author

Addressed Bugbot findings after updating onto main: regenerated evals overlayLockfileHash to match the current pnpm-lock.yaml, and normalized TipTap upstream inventory paths for Windows.

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

REVIEW WITHDRAWN

Merged origin/main to clear DIRTY conflicts; prior ready signal is void until Bugbot and the ready checklist pass on the new head.

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Merge currency restore voided prior ready signal after merging origin/main.

REVIEW WITHDRAWN

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

Ready checklist re-verified after origin/main merge on 05d2cc1: merge CLEAN, no unresolved review threads, Cursor Bugbot completed successfully on current head with no open findings.

READY FOR REVIEW

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

REVIEW WITHDRAWN

origin/main advanced again (DIRTY); merging and resyncing evals manifest before re-signaling.

Resolve evals manifest conflict via pnpm sync after Version Packages (octanejs#682).

Co-authored-by: Cursor <[email protected]>
Comment thread scripts/react-parity/check.mjs Resolved
… verifier

livestore and tanstack-hotkeys use bespoke classification dispositions and
already have dedicated validators; exclude them from verifyPortTestClassifications.

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

Copy link
Copy Markdown
Contributor Author

Fixed: livestore and tanstack-hotkeys are now excluded from the shared verifyPortTestClassifications loop alongside tiptap (each has a dedicated verifier).

@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 f7a55b5. Configure here.

Comment thread scripts/react-parity/check.mjs Resolved
Wire a dedicated verifier with upstream-suite dispositions so the binding
stays authenticated after excluding it from the shared port classifier.

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

Copy link
Copy Markdown
Contributor Author

Currency restored after merging origin/main (Version Packages #682); evals manifest resynced via pnpm sync. Addressed Bugbot on classification verification (livestore/tanstack-hotkeys specialized verifiers). Merge CLEAN on b50ac6b; no unresolved threads; Cursor Bugbot SUCCESS on current head. Still draft.

READY FOR REVIEW

@leonidaz

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! This pull request was incorporated into main as commit 081ae0c7b855 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 READY FOR REVIEW REVIEW COMPLETE test PR: tests only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants