Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 45fc64badf1580c3f6e7772ac71dcee7342bc187
parent 9c6f421c94d892471c209c357ce97a86f6a3a35b
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed,  4 Nov 2026 19:24:23 -0500

umtool: play-preload.spec reads the holds as none when the engine has no `waits` (the code before the gate), so the table prints on either side

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Mumtool/e2e/play-preload.spec.ts | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/umtool/e2e/play-preload.spec.ts b/umtool/e2e/play-preload.spec.ts @@ -78,7 +78,8 @@ async function coverage(page: Page, ids: string[]): Promise<{ items: Report[]; w const w = window as unknown as { __pp: Sample[]; __ppStop?: boolean; __umtoolPlayEngine?: { plan: { items: { id: string; start: number; from: number; to: number }[] }; stats: { waits: { count: number; ms: number; last: unknown[] } } } }; w.__ppStop = true; const e = w.__umtoolPlayEngine!; - return { samples: w.__pp, items: e.plan.items.map((x) => ({ id: x.id, start: x.start, from: x.from, to: x.to })), waits: e.stats.waits }; + // (No `waits` before the gate existed: none counted.) + return { samples: w.__pp, items: e.plan.items.map((x) => ({ id: x.id, start: x.start, from: x.from, to: x.to })), waits: e.stats.waits ?? { count: 0, ms: 0, last: [] } }; }); const out: Report[] = []; for (const id of ids) {