pcbjam/tests/apps/standalone
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi 14ca16cbd3 test(asyncify): red-green race harness + ablation flags, unwind-catch shim, spec tightening, decisions docs
The asyncify single-slot work, executed red-green (full ledger:
docs/features/asyncify-arbiter/redgreen.md; decisions record:
docs/features/async/07-decisions-and-outcome.md):

- tests/apps/standalone/asyncify-races/ + tests/asyncify/ + dedicated
  playwright config: 8 scenarios reproducing the KiCad asyncify failure
  family with the kicad-faithful startup topology (pre-park fiber swap →
  park throw through the live trampoline). Built in 3 variants; the
  SHIM_DISABLE_TRAMPOLINE_HEAL / SHIM_DISABLE_HANDLESLEEP ablation builds
  keep the historical hang and index-out-of-bounds crash reproducible
  forever (mutation-style pins for the existing shims).
- scripts/common/shims/handlesleep.js: catch the "unwind" park sentinel
  in the wakeUp path — when main's last pre-park suspension was a sleep,
  the main-loop park throw escaped through that sleep's promise reaction
  as an uncaught rejection (the calculator/gerbview console errors).
- scripts/common/inject-dyncall-shims.sh: SHIM_DISABLE_* ablation knobs.
- Spec tightening (the acceptance bar): 'uncaught exception: unwind'
  tolerance DELETED from pcbnew/eeschema specs; load-pcb gained a hard
  clean-console gate over 5 asyncify corruption signatures.
- wxwidgets pointer bump: modal LIFO resolvers, pump resolve-on-error,
  sync clipboard IsSupported (014f67e6c1).

Final state: asyncify suite 7/7, wx e2e 291/292 (1 skip), KiCad e2e 40
passed / 2 skipped with ZERO corruption signatures in any log across all
six apps.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 17:02:59 +02:00
..
asyncify-races test(asyncify): red-green race harness + ablation flags, unwind-catch shim, spec tightening, decisions docs 2026-06-12 17:02:59 +02:00
aui Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
auinotebook Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
bitmapbuttons Clean up test infrastructure and fix test assertions 2026-01-01 20:18:19 +01:00
bitmask Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
calendar Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
clipboard Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
collapsible Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
coroutine wip: nested-asyncify fix, wxAuiToolBar registration, tests, research docs 2026-04-21 13:58:16 +02:00
coroutine-nested wip: nested-asyncify fix, wxAuiToolBar registration, tests, research docs 2026-04-21 13:58:16 +02:00
coroutine-pthread diagnostics: configurable --diag logging flags + asyncify setupUIConditions fix 2026-05-27 16:14:03 +02:00
dataview Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
dataviewvirtual Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
dialog Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
dnd Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
earlysize Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
filedialog Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
fontenum Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
grid Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
gridedit Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
gridrenderers Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
htmlwin Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
infobar Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
layout Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
listctrl Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
logerror Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
maximize Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
menu Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
ownerdrawn Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
pickers Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
popup Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
print Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
printpreview Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
propgrid Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
regions Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
retinascale wasm: validate kicad hi-dpi scaling 2026-03-22 12:48:05 +01:00
specialized Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
stc Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
textdecor Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
threadpool Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
timer Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
toolbar Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
tree Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
validators Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
wasmedge Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
wizard Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00
xml Reorganize project structure for clarity 2025-12-27 14:06:23 +01:00