Repository navigation
test(cmdk): add React parity harness - #533
jonkwheeler wants to merge 47 commits into
Conversation
Pin and checksum the canonical cmdk 1.1.1 source and Playwright suite, register bounded differential and audit lanes, and keep unadapted upstream coverage explicit instead of overstating parity.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Resolve inventory, eval manifest, hook-form parity lockfile, and root package scripts while keeping cmdk coverage. Co-authored-by: Cursor <[email protected]>
Regenerate lockfile hashes and inventory for cmdk. Co-authored-by: Cursor <[email protected]>
Regenerate lockfile hashes and inventory for cmdk. Co-authored-by: Cursor <[email protected]>
|
REVIEW WITHDRAWN |
Isolate duplicate-value warnings and dialog portals per runtime, and drop unauthenticated registration/unscored ledger divergence claims. Co-authored-by: Cursor <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
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 b83b5e0. Configure here.
Align the ledger and differential case with the authenticated React rethrow vs Octane console.error behavior, not unproven sibling flush work. Co-authored-by: Cursor <[email protected]>
|
READY FOR REVIEW |
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
|
REVIEW WITHDRAWN Restoring merge currency with origin/main; prior ready signal is void until Bugbot clears the new head. |
|
READY FOR REVIEW |
Merge origin/main (CommonJS package conditions, parity execution group fix), resolve react-parity digest conflicts via pnpm sync, and stop claiming the differential lane pins ref-as-prop behavior without a paired observation. Co-authored-by: Cursor <[email protected]>
|
READY FOR REVIEW Checklist:
|
|
REVIEW WITHDRAWN Branch is DIRTY vs main (Version Packages #682 + react-parity docs plan). Merging origin/main and refreshing parity digests before re-signaling. |
Merge Version Packages (octanejs#682) and react-parity docs plan; regenerate evals manifest via pnpm sync after conflict resolution. Co-authored-by: Cursor <[email protected]>
|
READY FOR REVIEW Checklist:
|
|
Thank you for your contribution! This pull request was incorporated into |

Summary
cmdk now has auditable, binding-local React parity evidence instead of an implicit differential test directory. The harness pins cmdk 1.1.1, checksum-verifies the canonical source and complete Playwright suite, inventories every upstream spec, and keeps the result
recorded-unverifiedbecause those canonical cases have not yet been adapted exhaustively.The existing same-fixture React/Octane scenarios are now exact required cases with structured divergence markers. Separate differential and audit projects preserve all ordinary package coverage while making evidence-integrity contracts executable through the generic parity runner.
Session-settled decisions carried from planning: one master ledger with one PR per binding (user-approved); incomplete retrofits default to
recorded-unverified; binding-local evidence and upstream suites take priority; available required lanes fail CI regardless of verification status.Validation
pnpm format:check— scoped formatter check passed for every changed non-vendored file; vendored upstream bytes remain checksum-exactpnpm typecheck— no runtime or public type implementation changedpnpm test— cmdk projects: 6 files, 59 tests passed; React parity harness: 77 tests passedRisk / follow-ups
This intentionally remains
recorded-unverified. The seven canonical Playwright specs and their Next.js fixtures are vendored and individually dispositioned, but the current behavioral claim is limited to two repo-authored differential scenarios. This draft also changes shared Vitest integrity; it must be refreshed from the latest base and recomputed after preceding parity-harness PRs merge.Provenance
agent-authored)Note
Low Risk
Mostly documentation, test layout, and CI parity metadata; no production API changes beyond existing cmdk port behavior already covered by tests.
Overview
Adds binding-local React parity infrastructure for
@octanejs/cmdk: pinned[email protected]upstream ledger (UPSTREAM.md, vendored sources + Playwright specs,check-upstream-ledger.mjs),audit/react-parity.jsonwith declared differential lanes and divergence records, andtest-classifications.jsonso every package test is classified once. Provenance is explicitlyrecorded-unverifieduntil canonical Playwright cases are adapted.Evidence and tests: Expands shared differential fixtures and parity cases (force-mount, batcher,
asChild, dialogdefaultOpen, SSR empty, etc.), wires OCTANE DIVERGENCE markers in implementation sources to case IDs, splits the monolithic command test file into focused suites plus_command-helpers, and hardens differential React precompile (declared fixtures only, cache wiped each run, compile errors fail closed). Dev dependency React for cmdk tests moves to a dedicatedcatalog:cmdk-react-oraclepin.Docs and metadata: Updates
bindings-status,status.json, CLIoctane-data.json, and README to reflect bounded differential evidence, revised divergence wording, and 2026-08-03 verification date. Apollo-client audit lockfile SHA is refreshed in passing.Reviewed by Cursor Bugbot for commit ef78651. Bugbot is set up for automated code reviews on this repo. Configure here.