Viktor Vaczi
3f09a46ff5
jspi: migration phases 0-7 — build knob, scheduler shim, test successor suite
Toolchain: emsdk 6.0.6 (versions.sh; cache-hash keys on it). Build knob
PCBJAM_ASYNC_BACKEND=jspi|asyncify: build-kicad-target.sh links editors with
-sJSPI + -sJSPI_EXPORTS=@scripts/common/jspi-exports.txt + --pre-js
jspi-scheduler.js (no DYNCALLS, no post-link asyncify pipeline); wx build
stamps the backend and forces clean on flip or unknown provenance;
docker/build.sh passes the knob, seeds the emscripten ports cache from the
volume every launch, jspi postprocess = patch-env-shim only.
scripts/common/shims/jspi-scheduler.js: the JSPI successor scheduler —
token-wait registry, resume turnstile (one armed resume between engine
re-entries, SP swaps only at microtask boundaries), green-region spill
stacks (16-aligned tops), S1 embind mutator FIFO lane + parker wraps, S6
shutdown, libctx integration hooks (suspend/end/quarantine + g_current
arm/clear), SuspendError attributor, lost-wake + stuck-window watchdogs,
__wxWaitDump observability.
Embind: PARKER registrations get emscripten::async() under PCBJAM_JSPI
(wasm/bindings/pcbjam_async_policy.h). nanosleep yields route via the shim.
Tests: tests/asyncify -> tests/jspi successor suite (jspi-stack red/green
shadow-stack battery, jspi-coroutine MiniCoro harness, suspend-races
semantic scenarios + __wxWaitDump books coherence); projects jspi-firefox/
jspi-chrome (asyncify-webkit retired — no JSPI in WebKit); unconditional
Firefox JSPI pref; guard-beacons -> wait-beacons (+wxScheduler/libctxJspi
families); Makefile.wasm links test apps against JSPI with the shim as a
tracked link prerequisite.
Web: WasmTool setRo await + __wxWaitDump forensics, open-flow contained
promise, scheduler-shim.test.ts retargeted (8 green).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NDeBaKKhQztd8KiVtHuyXr
|
2026-08-13 07:06:24 +02:00 |
| .. |
|
bench
|
bench VM: use SSH key auth only, drop the shared password
|
2026-07-16 12:46:17 +02:00 |
|
binaryen-hoist-pass
|
fix(ci): binaryen tools cache also needs lib/ — bin-only restore broke every post-process
|
2026-07-02 14:29:20 +02:00 |
|
common
|
jspi: migration phases 0-7 — build knob, scheduler shim, test successor suite
|
2026-08-13 07:06:24 +02:00 |
|
config
|
Add autom4te wrapper to keep submodules clean
|
2025-12-27 09:21:31 +01:00 |
|
deploy
|
jspi: migration phases 0-7 — build knob, scheduler shim, test successor suite
|
2026-08-13 07:06:24 +02:00 |
|
deps
|
jspi: migration phases 0-7 — build knob, scheduler shim, test successor suite
|
2026-08-13 07:06:24 +02:00 |
|
git-workflow
|
chore: add binaryen submodule to git-workflow
|
2026-06-30 10:06:34 +02:00 |
|
kicad
|
jspi: migration phases 0-7 — build knob, scheduler shim, test successor suite
|
2026-08-13 07:06:24 +02:00 |
|
build-3d-native-test.sh
|
test(3d): screenshot-baseline TDD suite for the 3D viewer OpenGL->WebGL port — 47 native goldens + red-state WebGL harness
|
2026-07-03 15:45:58 +02:00 |
|
build-3d-webgl-test.sh
|
feat(3d): gl1 shim M4+M6+M7 — GLU quadrics, production link, stub retired; 47/47 parity
|
2026-07-03 15:45:58 +02:00 |
|
build-gal-native-test.sh
|
feat(webgl): Add GAL native test harness for visual regression testing
|
2026-01-07 09:42:31 +01:00 |
|
build-gal-webgl-test.sh
|
perf(build): use all cores in host builds — wx lib, test apps, gal-webgl
|
2026-07-02 10:54:14 +02:00 |
|
build-monitor.sh
|
fix(wasm-eh): build wasm-emscripten-finalize from the Binaryen submodule (unbreak CI)
|
2026-06-30 11:55:52 +02:00 |
|
build-wasm-test.sh
|
jspi: migration phases 0-7 — build knob, scheduler shim, test successor suite
|
2026-08-13 07:06:24 +02:00 |
|
build-wx-wasm.sh
|
jspi: migration phases 0-7 — build knob, scheduler shim, test successor suite
|
2026-08-13 07:06:24 +02:00 |
|
create-feature-patches.sh
|
feat(schematic): eeschema WASM build + e2e harness
|
2026-05-29 16:01:17 +02:00 |
|
kicad-diff-stats.sh
|
chore: 🔧 fork-cleanup tooling + bump kicad submodule
|
2026-06-22 12:17:46 +02:00 |
|
setup-emsdk.sh
|
fix(wasm): Fix asyncify rewind with asyncify-aware dynCall shims
|
2026-03-13 12:26:48 +01:00 |
|
setup-worktree.sh
|
chore: 🤖 add new worktree setup script
|
2026-06-16 14:46:18 +02:00 |
|
test-3d-regression.sh
|
test(3d): screenshot-baseline TDD suite for the 3D viewer OpenGL->WebGL port — 47 native goldens + red-state WebGL harness
|
2026-07-03 15:45:58 +02:00 |
|
test-gal-regression.sh
|
refactor(webgl): Move WebGL GAL from test harness to KiCad source tree
|
2026-01-10 13:15:58 +01:00 |
|
test-gal-webgl.sh
|
refactor(webgl): Move WebGL GAL from test harness to KiCad source tree
|
2026-01-10 13:15:58 +01:00 |
|
tsconfig.json
|
chore: repoint .gitmodules at the PCBJam org
|
2026-07-28 12:52:01 +02:00 |