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 |
| .. |
|
public
|
feat(site,demo): OG share cards + demo page meta ahead of the HN post
|
2026-07-04 09:14:44 +02:00 |
|
scripts
|
e2e/CI: dual-engine suites, per-engine screenshots, SwiftShader retired, prod web suite, CI-coverage gate
|
2026-07-17 12:21:54 +02:00 |
|
src
|
jspi: migration phases 0-7 — build knob, scheduler shim, test successor suite
|
2026-08-13 07:06:24 +02:00 |
|
.env.example
|
feat(editor): report uncaught errors to Better Stack
|
2026-08-03 12:24:30 +02:00 |
|
index.html
|
comments-ux: figma bubble pins, floating panel, seen/reactions/mentions UI, theme follow (0001 A–E + 0002)
|
2026-07-24 13:21:22 +02:00 |
|
package.json
|
feat(editor): report uncaught errors to Better Stack
|
2026-08-03 12:24:30 +02:00 |
|
postcss.config.js
|
refactor(web): split into GPL standalone editor + thin reference backend
|
2026-06-09 12:35:46 +02:00 |
|
tailwind.config.js
|
refactor(web): split into GPL standalone editor + thin reference backend
|
2026-06-09 12:35:46 +02:00 |
|
tsconfig.json
|
feat: standalone save/load routing + VITE_DOC_SOURCE ydoc mode
|
2026-06-12 14:05:40 +02:00 |
|
vite.config.ts
|
e2e/CI: dual-engine suites, per-engine screenshots, SwiftShader retired, prod web suite, CI-coverage gate
|
2026-07-17 12:21:54 +02:00 |
|
vitest.config.ts
|
fix(collab): dedupe yjs so @pcbjam/shared + standalone link ONE instance
|
2026-06-30 09:54:50 +02:00 |
|
wrangler.staging.jsonc
|
ci: deploy isolated GPL staging stack
|
2026-08-07 11:52:25 +02:00 |