pcbjam/docs/features
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Gergő Törcsvári 210b079ed9
fix(asyncify): ownership-scoped root deferral — the recorded nested self-rewind, cured
The v0.1.23 flight recorder caught the kill live (console-export-2026-8-1_19-16-8):
dozens of benign fiber round-trips at w=0, the yield cycling healthily on its
buffer — then "fcs … ROOT w=1" and the trap, state frozen at Rewinding with
currData=root+20. The fatal condition, observed rather than inferred: a fiber
round-trip inside the ROOT's OWN sleep-wake continuation re-suspends and
re-rewinds the root nested inside its live wake rewind. Consume-once passed
correctly — it guards a different corruption and stays.

The round-3 deferral was aimed right but unscoped (taxed fiber-owned wakes,
flaked S4). Final form: every fresh sleep is tagged root- or fiber-owned
(fiber ⇔ started inside a finishContextSwitch fiber slice or a fiber-owned
wake; root entries don't count as slices); finishContextSwitch(root) defers
one macrotask ONLY while a root-owned wake is live (Asyncify.__wakingRoot).
Beacon: root-entry-deferred. Verified inert where it must be: zero beacons
across all 13 drift-trio-scenarios logs (26/26 + 25/26-then-26/26 stress —
the single miss carried no beacons, i.e. the pre-existing under-load flake).

Also: resume re-entries no longer push sleep contexts (the v0.1.23 dump
carried ~380 leaked zero-linked entries), and wake events in the recorder are
tagged R/f for ownership.

.ci-cache-epoch 5→6.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019SE4o46Lnq3hF574FFq8x4
2026-08-01 19:49:38 +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 fix(asyncify): ownership-scoped root deferral — the recorded nested self-rewind, cured 2026-08-01 19:49:38 +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