Repository navigation
test(dexie): add React parity harness - #525
jonkwheeler wants to merge 31 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
58d6202 to
6786cec
Compare
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.
…to jon/dexie-react-parity-harness
* perf: skip unchanged conditional keyed rows * fix: exclude Activity boundaries from keyed row memoization
Remove unrelated octane/MCP changesets carried from main integration, refresh lockfileSha256, and omit react-parity ownership markers on recorded-unverified dexie Vitest projects. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
|
Follow-up fixes pushed; parity threads resolved and Bugbot is clean on the current head. READY FOR REVIEW |
|
Branch is conflicting with main again after upstream moved; withdrawing readiness until the merge is clean and Bugbot re-checks the new head. REVIEW WITHDRAWN |
…y-harness Co-authored-by: Cursor <[email protected]> # Conflicts: # scripts/react-parity/check.mjs
|
Merged latest main (resolved react-parity check conflict + refreshed evidence hashes). Bugbot is clean on the current head; draft remains. READY FOR REVIEW |
leonidaz
left a comment
There was a problem hiding this comment.
React parity configuration review.
Point the differential lane at dexie-differential, mark parity-owned Vitest projects, and provision Chromium in react_parity_checks instead of a Dexie-specific lint_checks install. Co-authored-by: Cursor <[email protected]>
…y-harness Co-authored-by: Cursor <[email protected]>
Parity-owned recorded-unverified Dexie lanes were validate-only, so marking them react-parity would have orphaned browser and differential evidence from CI.
|
Addressed Leonidaz parity-ownership feedback, merged latest main, and fixed the Bugbot orphan finding by running required lanes for recorded-unverified manifests. Bugbot is clean on the current head; draft remains. READY FOR REVIEW |
| "testRoot": "libs/dexie-react-hooks/test", | ||
| "license": "Apache-2.0", | ||
| "integrity": "sha256:0bc97caee264afe677503af0d692b97e9bedbbf58e5bfc80b3446f687b165f30", | ||
| "verification": "recorded-unverified" |
There was a problem hiding this comment.
recorded-unverified provenance prevents the required differential, browser, and type lanes from executing. The runtime suite is recorded present, but a wrapper is not the required pristine upstream suite plus a one-for-one adapted copy; types likewise need paired pristine/adapted evidence. Please verify provenance and preserve/adapt the canonical suites.
There was a problem hiding this comment.
recorded-unverified provenance prevents the required differential, browser, and type lanes from executing. The runtime suite is recorded present, but a wrapper is not the required pristine upstream suite plus a one-for-one adapted copy; types likewise need paired pristine/adapted evidence. Please verify provenance and preserve/adapt the canonical suites.
Needs a human call — this is beyond a mechanical babysit fix.
What the review asks: flip provenance.verification to verified and satisfy the harness contract for upstreamSuites.runtime/types: present: required pristine-upstream + adapted-octane full-suite lanes (vitest-full/jest-full, evidenceOrigin: upstream-suite), plus paired pristine-types/adapted-types. Upstream is a Karma/QUnit Chromium suite over the Dexie.js monorepo harness, not a self-contained Vitest/Jest suite, so pristine execution needs vendoring + a real Karma (or equivalent) runner, not the current Playwright wrapper alone.
Options:
- Expand this PR into the full verified program (vendor
libs/dexie-react-hooksat the pin, add pristine Karma/React evidence, restructure the adapted browser suite asadapted-octane+ inventory, add pristine/adapted type evidence, then setverified). - Keep this PR as the recorded harness/differential/browser bootstrap and land verified pristine/adapted evidence in a follow-up dedicated to that scope.
- Reclassify suite presence / evidence origin only if the maintainer agrees the Karma suite cannot be treated as a present full-suite oracle in-repo.
Lean: (2) follow-up PR — same residual class as testing-library #523; the current wrapper is not a substitute for pristine + one-for-one adapted evidence. Leaving the thread open until that call.
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 e49b92d. Configure here.
Co-authored-by: Cursor <[email protected]>
|
Thank you for your contribution! This pull request was incorporated into |

Summary
Verification
Provenance
agent-authored)Note
Medium Risk
Changes CI gating and where browser tests run; parity harness behavior affects all bindings with recorded-unverified manifests, but the diff is test/audit/CI infrastructure rather than production hook implementations.
Overview
@octanejs/dexie gains a full React parity story: upstream pin ledger (
UPSTREAM.md),react-parity.jsonwith differential, browser, and adapted-types lanes, port-test classifications, and@parity-casemarkers on the four upstream Karma scenarios.A same-fixture differential compares
useLiveQueryto[email protected](TSRX → React compile cache, import rewrite, fail-closed setup). Vitest splits dexie-differential and dexie-browser intoreact-parityexecution groups; the ordinary dexie shard no longer runs browser or differential specs.CI drops Dexie from the heavy browser shard, installs Playwright Chromium in
react_parity_checks, andreact-parity:checknow runs required oracle lanes whenever a manifest declares them—even when provenance isrecorded-unverified(validate-only only when there are no required lanes). Port test classification verification is generalized beyond hook-form (binding-classifications-lib).Bindings metadata (
status.json, docs, CLI data) bumps Dexie verified to 2026-08-02.Reviewed by Cursor Bugbot for commit 306e912. Bugbot is set up for automated code reviews on this repo. Configure here.