Repository navigation
test(streamdown): add bounded React parity harness - #504
jonkwheeler wants to merge 23 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
3eff3bc to
d5567df
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.
Refresh lockfileSha256 after merging main. Co-authored-by: Cursor <[email protected]>
Regenerate lockfile hashes and Vitest evidence for streamdown.
…s' into jon/streamdown-react-parity-harness
|
READY FOR REVIEW |
Resolve react-parity evidence conflicts after main landed livestore checks, refresh vitest/lockfile digests, and keep livestore out of the hook-form/streamdown classification verifier. Co-authored-by: Cursor <[email protected]>
|
REVIEW WITHDRAWN Merged origin/main to clear DIRTY; waiting on Cursor Bugbot for the new head before re-signaling ready. |
|
READY FOR REVIEW |
Correct leonidaz review: mark the pinned repository suite present with explicit per-artifact exclusions, isolate parity-owned plugin evidence, and leave framework-contract plus SSR tests on ordinary shards. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
recorded-unverified manifests only validate in react-parity:check, so react-parity ownership was orphaning the differential and adapted cases. Leave those projects unmarked until provenance can execute required lanes. Co-authored-by: Cursor <[email protected]>
|
Addressed leonidaz review + Bugbot orphan finding; branch is current with main. READY FOR REVIEW |
leonidaz
left a comment
There was a problem hiding this comment.
React-parity/Vitest setup review only; tests were not run.
| "artifacts": 104, | ||
| "runtimeTests": 101, | ||
| "support": 3, | ||
| "excluded": 104 |
There was a problem hiding this comment.
No upstream execution: this inventory marks all 104 artifacts excluded, including the core and official-plugin suites, with reasons that repeatedly say “until” future lanes are added. That is a gap, not a rule-supported disposition for an existing pinned suite. Framework-neutral suites should run unchanged; React-facing cases need pristine/one-for-one adapted execution or specific incompatibility reasons. Register those lanes instead of treating wholesale deferral as an explicit exclusion.
There was a problem hiding this comment.
Framework-neutral suites should run unchanged; React-facing cases need pristine/one-for-one adapted execution or specific incompatibility reasons. Register those lanes instead of treating wholesale deferral as an explicit exclusion.
Agreed this inventory disposition is a real gap under the port rules. Closing it means vendoring the pinned upstream suite and registering executable pristine/adapted lanes (remend unchanged; React-facing suites adapted case-by-case or given concrete incompatibility reasons) — that expands this PR past the bounded differential harness and needs an explicit scope call before I do that here vs in a follow-up.
Options:
(a) Expand this PR now into full upstream-suite lane registration/execution.
(b) Keep this PR differential-only and open a follow-up for remend pristine + streamdown pristine/adapted lanes before verified provenance.
Lean: (b), so the differential ownership/execution fixes can land without bundling a multi-package suite port.
Address leonidaz feedback by routing the generic harness on required executable lanes, owning streamdown-differential under react-parity, and dropping the octane-only adapted lane from parity evidence. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Resolve mechanical vitest/lockfile evidence-hash conflicts and keep required-lane harness routing with the new solana-react verifier. 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 801143d. 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
Low Risk
Changes are mostly test harness, audit metadata, and documented rendering corrections against upstream 2.5.0; no auth, security, or core infrastructure paths.
Overview
Introduces a bounded React parity harness for
@octanejs/streamdown: a newreact-parity.jsonlane, upstream suite inventory, per-test classifications, and a dedicatedstreamdown-differentialVitest project under thereact-parityjob. Eight same-fixture differential scenarios compare pinned[email protected](and official plugins) to Octane; comparisons use explicit per-element assertions for known differences instead of broad HTML normalization.Documented intentional divergences (also reflected in binding status/CLI data): per-block animation timing (upstream shares sibling progress), balanced Tailwind arbitrary-value classes on code blocks, and icon
sizemapped to SVG width/height. Small source comments mark these inanimate, code-block body, and icons.Octane-only contracts stay on the main
streamdowntest project (divergences.test.ts,parity-plugins.test.ts, fixture compile limited to parity fixtures). React-parity check now verifies classifications for any binding withtest-classifications.jsonand runs required lanes viaselectHarnessAction(not gated on provenanceverified).Reviewed by Cursor Bugbot for commit 0287206. Bugbot is set up for automated code reviews on this repo. Configure here.