You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(pyodide): add real WASM execution and browser smoke coverage #341
Verify PyodideBridge with actual Pyodide execution before extending browser behavior.
The reviewed conformance suite executes the embedded bootstrap under CPython. Other Pyodide unit tests mock loadPyodide. This is a coverage gap, not a reproduced runtime defect.
Acceptance criteria:
Add a dedicated CI job with a pinned Pyodide version and actual PyodideBridge.
Fail explicitly when required packages or runtime assets are missing.
Keep the CPython conformance test as a fast shared-core check.
Add a real browser smoke for browser loading and a generated call. Node-hosted Pyodide alone does not establish browser behavior.
Documentation distinguishes mocked tests, CPython checks, Node-hosted WASM, and real browser coverage.
Land this evidence before claiming browser coroutine support in #338.
Architectural approach:
Supply actual Pyodide and browser evidence for #344 where those environments are claimed. Keep backend-specific coverage distinctions explicit. Coordinate through #345.
Required CI now runs pinned actual Pyodide and a real Chromium generated call. Coverage includes stdlib, bytes, scientific JSON, structured errors, bootstrap failure, disposal, missing packages/assets, coroutine execution, and cancellation. Missing runtime assets fail the checks. The browser guide distinguishes mocked, CPython, WASM, and browser coverage and documents JSON-only scientific transport.
Evidence: test/runtime_pyodide_real.conformance.ts, test/runtime_pyodide_browser.conformance.ts, .github/workflows/ci.yml, and docs/guide/runtimes/browser.md.
Verified release evidence:
Implementation #362 and release #354 merged after independent review, green checks, and resolved CodeRabbit findings. Final candidate 0861ebe and merge f6f811d have identical trees.
Final full CI passed, including check:all, scientific 103/103, clean consumer 20/20, real Pyodide/browser 8/8, performance 25/25, and Node/Python/Bun/OS checks. Performance budgets remained unchanged.
Fresh published-consumer run passed 20/20 checks with exact registry versions, isolated imports, and generated calls. It used no local-package fallback.
Activity
bbopen commentedon Sep 20, 2026
Required CI now runs pinned actual Pyodide and a real Chromium generated call. Coverage includes stdlib, bytes, scientific JSON, structured errors, bootstrap failure, disposal, missing packages/assets, coroutine execution, and cancellation. Missing runtime assets fail the checks. The browser guide distinguishes mocked, CPython, WASM, and browser coverage and documents JSON-only scientific transport.
Evidence:
test/runtime_pyodide_real.conformance.ts,test/runtime_pyodide_browser.conformance.ts,.github/workflows/ci.yml, anddocs/guide/runtimes/browser.md.Verified release evidence:
0861ebeand mergef6f811dhave identical trees.The architecture decision records the accepted scope and prototype limits.
Closing with the implemented and verified 0.11 release outcome.