diff --git a/AGENTS.md b/AGENTS.md index 94de5052..ba2cf722 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -283,7 +283,8 @@ around one. GIL option since the leader's instruction of 2026-11-13 ("flip the desktop default to 3.15t now"); Android (arm64-v8a and x86_64), androidNative and iOS embed the project's own 3.15t builds with no opt-in flag (#328; leader decision 2026-11-13, owner approval of the x86_64 build the same day); - wasm embeds a GIL build until #175. Which build a platform embeds is the per-platform + wasm (wasmJs) embeds 3.15t with pthreads and shared memory since #175 (#542, merged 2026-11-26). + Which build a platform embeds is the per-platform `embedsFreeThreadedPython`, never one build-wide flag (SPEC T-1, ROADMAP §9). 9. **Do not add PanamaPort as a dependency** (licence and dependence on ART internals). diff --git a/docs/SPEC.md b/docs/SPEC.md index bdd9614e..093203f3 100644 --- a/docs/SPEC.md +++ b/docs/SPEC.md @@ -1313,9 +1313,10 @@ All in `PM/commonTest`, so they run wherever the interpreter loads. among them; the iOS simulator ran the library suite on 3.15t, 513 tests, 0 failed, `IosFreeThreadedBuildTest` among them, and the plugin-staged `ios-consumer` app printed `IOS_CONSUMER_PROBE stdlib=ok ext=ok payload=ok ft=ok`; jobs `android-native.yml` `emulator` and `ios.yml` `ios-consumer`, owner-approved 2026-11-21, #328); - `partial` on androidNative (compiled against 3.15t, its `artTest` not run on a device or emulator) and - wasm (3.15t `wasmJsNodeTest` run locally only; `wasm.yml`'s test job, which builds the runtime itself, - has not run in CI yet, ROADMAP 10.1), + and on wasm (`ci.yml` batch run 45848955214, 2026-11-26, `wasm.yml`'s test job building the runtime itself: + `wasmJsNodeTest` 599 tests with `WasmFreeThreadedBuildTest` among them, the one failure the expected + `WasmCompiledWheelTest`, Decision 10 (c) c1; `wasmJsBrowserTest` 10 tests, 0 failures; #542); + `partial` on androidNative (compiled against 3.15t, its `artTest` not run on a device or emulator), `PM/desktopTest/.../DesktopFreeThreadedBuildTest.kt` (ABI flags, `Py_GIL_DISABLED` of the loaded interpreter, checkpoint default), `PM/desktopNativeTest/.../DesktopNativeFreeThreadedBuildTest.kt`, `PM/androidInstrumentedTest/.../AndroidFreeThreadedBuildTest.kt` (ABI flags, stdlib path, the AAR's diff --git a/docs/roadmap/ROADMAP.md b/docs/roadmap/ROADMAP.md index a39b74b8..14fdaa2b 100644 --- a/docs/roadmap/ROADMAP.md +++ b/docs/roadmap/ROADMAP.md @@ -212,14 +212,16 @@ cycles, interning and `Py_ssize_t` are closed (`PM/wasmJsTest/`: `WasmFinalizati (`docs/platforms/wasm-design.md`). Old §10c/§10d (browser test, CI split) are closed; their open remainder is 10.1. -- **10.1 The wasm test suite does not run in CI, in progress (#175).** `.github/workflows/wasm.yml` +- **10.1 The wasm test suite does not run in CI, closed by #542 (#175).** The batch run 45848955214 + (2026-11-26) ran it: `wasmJsNodeTest` 599 tests, the one failure the expected + `WasmCompiledWheelTest`, and `wasmJsBrowserTest` 10 tests, 0 failures. Before that: `.github/workflows/wasm.yml` ran the `test` job only when the repository variable `WASM_RUNTIME_URL` was set, and it never was (observed 2026-10-03: `gh variable list` empty; "WasmJS Node + browser tests: skipped"). Leader, Decision 11 (a), 2026-11-26: "wasm.yml's test job runs build-cpython.sh itself, output in actions/cache keyed on the script and _pm_upcall.c hashes. No release asset." The job now does that; it closes when a dispatched `ci.yml` shows the job green. Until pypackpack #82 ships a cp315t wheel, `WasmCompiledWheelTest` fails it by name (Decision 10 (c) c1). -- **10.2 `suspend` upcalls and `asyncio` on wasm, open.** SPEC U-5 is `planned` on wasm (no threads), +- **10.2 `suspend` upcalls and `asyncio` on wasm, open.** SPEC U-5 is `planned` on wasm (the runtime has pthreads since #542; the suspend path is not built there), and `import asyncio` traps the instance (`asyncio.run` wants `socketpair`); the sample skips section 7 there (`sample/src/wasmJsMain/.../bindings/ProxyDemo.wasmJs.kt`). - **10.3 A wasm consumer must hand-write the `pmp_invoke` export, open.** `@WasmExport` is honoured