Skip to content

test(QA-03): verify shared compiler targets against CPython - #36

Merged
ellainng merged 3 commits into
mainfrom
test/QA-03-target-parity
Oct 20, 2026
Merged

ellainng merged 3 commits into
mainfrom
test/QA-03-target-parity

Conversation

@ellainng

Copy link
Copy Markdown
Member

Closes #25.

The compiler now checks a shared, versioned corpus under isolated CPython and as identical emitted modules in Node and a real browser worker. It compares 24 supported cases for typed results, output order, error classes/messages/original spans and mapped source frames, plus 10 explicit rejected/deferred boundaries. Native JavaScript API observations are recorded separately, and the compatibility matrix describes profile limits.

CI pins CPython 3.14.7 and Node 24.19.0, retains the actual Chromium version and both parity/host reports, and runs the Node/reference gate against installed wheel and source distributions on all three platforms. Borrowed text-metrics artifacts and the runnable browser example retain Shimify's exact MIT notice. The example writer supports the notice subdirectory and rolls it back on failure.

Validation: 82 local tests; 24/24 Node and Chrome 152.0.7977.76 parity cases, 10/10 diagnostic boundaries, 13 real browser-host lifecycle/Fetch/cancellation checks; wheel and sdist build plus isolated installed-wheel conformance.

Depends on #35 for preconstructed exception source origins. Full Python traceback objects, broader Python syntax and runtime source parsing remain separate roadmap tasks. No package was released.

@ellainng
ellainng changed the base branch from fix/ERR-01-raised-source-spans to main October 20, 2026 20:25
@ellainng
ellainng merged commit 35fbe6e into main Oct 20, 2026
4 checks passed
@ellainng
ellainng deleted the test/QA-03-target-parity branch October 20, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QA-03: Verify CPython, Node and browser execution parity

1 participant