From 7020d680400db5b096e82f77cababfedbf9040cc Mon Sep 17 00:00:00 2001 From: Istvan Matejcsok <119620946+matejcsok-ee@users.noreply.github.com> Date: Thu, 2 Jul 2026 17:51:53 +0200 Subject: [PATCH] =?UTF-8?q?docs(wasm):=20Part=202=20record=20=E2=80=94=20r?= =?UTF-8?q?ebase=20onto=20main=20done,=203d-viewer=20drag=20deadlock=20res?= =?UTF-8?q?olved=20(7630c7e=20pool=20pre-warm),=20rerun=20green?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- .../06-part2-implementation.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/features/editor-unification/06-part2-implementation.md b/docs/features/editor-unification/06-part2-implementation.md index 6abbddc..a12485c 100644 --- a/docs/features/editor-unification/06-part2-implementation.md +++ b/docs/features/editor-unification/06-part2-implementation.md @@ -148,16 +148,18 @@ submodule bump** — a new upstream same-name class ships as silent corruption o This is the same path the symbol chooser's footprint preview uses, and a user-visible improvement: the other engine's preference pages now populate. -### Known pre-existing failure (NOT a merge regression) +### Pre-existing failure, RESOLVED by the rebase (was NOT a merge regression) -`3d-viewer.spec.ts` "draggable, X-closable DOM title bar": dragging the 3D viewer -re-renders via the raytracer, which needs fresh pthread workers from a drained pool — -the on-demand worker boot deadlocks the main thread. Fixed on `origin/main` by -`7630c7e` ("raytrace deadlock — pre-warm 2N+8 pthread Workers", a `PTHREAD_POOL_SIZE` -link-flag change this branch predates; branch base is 14 commits behind). Goes green -when the branch is synced with main (`/git-feature-sync`) and `kicad_editor` is -relinked. Everything else in the 3d-viewer spec (open over a loaded board, raytrace -render) passes. +`3d-viewer.spec.ts` "draggable, X-closable DOM title bar" failed during initial +validation: dragging the 3D viewer re-renders via the raytracer, which needs fresh +pthread workers from a drained pool — the on-demand worker boot deadlocks the main +thread. The fix pre-dated on `origin/main` as `7630c7e` ("raytrace deadlock — pre-warm +2N+8 pthread Workers", a `PTHREAD_POOL_SIZE` link-flag change the branch base +predated). The branch has since been **rebased onto main** (root + kicad; conflicts +were the kicad gitlink, the boot.ts/WasmTool.tsx additive hunks vs main's lazy-3D-model +work, and the BIG_MODULE_SPECS rename vs main's added 3D specs/reformat) and +`kicad_editor` relinked — **3d-viewer + frame-runtime rerun: all green** (7 passed + +1 flaky-passed under parallel load, 0 failures). ## Build & size facts @@ -172,8 +174,6 @@ render) passes. ## What's next -- Sync the branch with main (picks up `7630c7e` → 3d-viewer drag test green; - relink kicad_editor after). - Run `tests/web/tools-open.spec.ts` against the real web app once ports 3048/3060 are free (at validation time another worktree's dev stack held them; the frontend path itself — `resolveWasmBase`→`TOOL_BUNDLE`→boot→`--frame` — is