pcbjam/docs/features
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Gergő Törcsvári 54e6560037
docs 22: Phase E first attempt (K1 as a context wait) - REVERTED, with the post-mortem
Converting the symbol-library bridge from one EM_ASYNC_JS into
beginWait -> start -> wxWasmYieldUntil -> take_result made the app hang after
every library request: the KiCad suite went from 7 minutes to 1.2 HOURS, 111
passed with the rest timing out, and the log goes silent right after a lib
request - a parked context nobody resumes. Reverted; the tree keeps the
working EM_ASYNC_JS and no code from the attempt.

Recorded for the next attempt:

- The PRECONDITION it found (four lines, quoted in the doc, deliberately NOT
  landed): wxWasmYieldUntil must not park a context whose wait is already
  resolved, because resolveWait deletes the entry. The in-place form had no
  such window; every bridge in this pattern re-opens it. It was not the hang,
  but it has only ever existed in the broken build, so it lands WITH the
  conversion it protects, not before.
- Three hypotheses in evidence order, cheapest first: the resolve never
  reaching the registry (this is the first KiCad-side caller of the wait
  registry - check Module["_wxWasmSchedResolveContextWait"] exists in the
  KiCad link); the lib request running inside the chooser's modal where the
  dispatch context is ALREADY parked on a nested wait (a context holds one
  park); or the Asyncify instrumentation closure shifting when the
  EM_ASYNC_JS left that translation unit.
- Process: gate a bridge conversion on a SINGLE spec, never the full suite.
  This cost a 1.2-hour run to learn one bit.

Tree is unchanged from the last verified landing state (STAR_DISPATCH=0,
kicad 139 passed / 1 pre-existing occ-probe) - docs only.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LBjomQfKyRa3jBdeAKpmTw
2026-08-10 10:14:19 +02:00
..
3d-raytracer fix: 🐛 raytrace deadlock - pre-warm 2N+8 pthread Workers 2026-07-02 13:01:02 +02:00
archive docs: ✏️ cleanup and organize docs 2026-06-05 12:16:13 +02:00
async docs 22: Phase E first attempt (K1 as a context wait) - REVERTED, with the post-mortem 2026-08-10 10:14:19 +02:00
asyncify-arbiter test(asyncify): red-green race harness + ablation flags, unwind-catch shim, spec tightening, decisions docs 2026-06-12 17:02:59 +02:00
browser-tools config: 🔧 move submodules to ee 2026-06-05 13:36:44 +02:00
editor-unification docs(wasm): Part 2 record — rebase onto main done, 3d-viewer drag deadlock resolved (7630c7e pool pre-warm), rerun green 2026-07-02 17:56:02 +02:00
fix-asyncify-O2-and-modal-promise-rejection docs: ✏️ cleanup and organize docs 2026-06-05 12:16:13 +02:00
fork-cleanup eeschema simulator: lazy ngspice_service worker — static sharedspice (XSPICE registry + CIDER), init_dll ifdef, e2e both engines 2026-07-19 15:59:21 +02:00
gerbview docs: ✏️ cleanup and organize docs 2026-06-05 12:16:13 +02:00
hoist-cpp-catches-simplification docs(hoist): pass-simplification dossier; bump binaryen (FindAll/BranchUtils refactor) 2026-07-01 16:52:17 +02:00
libraries docs: library management feature design notes 2026-06-11 07:50:57 +02:00
ngspice-split eeschema simulator: lazy ngspice_service worker — static sharedspice (XSPICE registry + CIDER), init_dll ifdef, e2e both engines 2026-07-19 15:59:21 +02:00
occ-split feat(wasm): occ-split — lazy occ_service worker; kicad_editor drops OCC (−31%) 2026-07-03 12:39:58 +02:00
perf feat(wasm-eh): migrate the WASM build to native wasm exceptions (+ 3D viewer default-on) 2026-06-30 09:40:26 +02:00
pl-editor docs: ✏️ cleanup and organize docs 2026-06-05 12:16:13 +02:00
schematic docs: ✏️ cleanup and organize docs 2026-06-05 12:16:13 +02:00
symbol-editor docs: ✏️ cleanup and organize docs 2026-06-05 12:16:13 +02:00
threading feat(wasm-eh): migrate the WASM build to native wasm exceptions (+ 3D viewer default-on) 2026-06-30 09:40:26 +02:00
wasm-exceptions docs(wasm-eh): add native-EH vs JS-EH runtime benchmark report 2026-07-01 14:43:54 +02:00
web-e2e-rot e2e/CI: dual-engine suites, per-engine screenshots, SwiftShader retired, prod web suite, CI-coverage gate 2026-07-17 12:21:54 +02:00
web-init docs: ✏️ cleanup and organize docs 2026-06-05 12:16:13 +02:00
wx-dom-port fix: 🐛 kicad aui resize 2026-06-22 08:49:22 +02:00
wx-parity-bugs e2e/CI: dual-engine suites, per-engine screenshots, SwiftShader retired, prod web suite, CI-coverage gate 2026-07-17 12:21:54 +02:00
ysync-review feat(collab): local-ops-only undo — remote applies skip the undo stack (ysync miss 09) 2026-07-08 11:09:26 +02:00