Archilyzer · Source

archilyzer

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

commit d486648015307ab5778eec1ebca3180cdb72daa2
parent f8ce52920923e179f9e00d64eb5f34dcc8301dab
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed, 11 Nov 2026 00:04:41 -0500

umtool e2e: usage's "confirming the drop writes it through" waits until the page knows the clip is in a build ("used in N builds") before judging it, as the test above it does -- judged before its usage arrived, the verdict writes with no question, and the confirm the spec clicks never comes (a 30 s timeout under load, whole suite at 4ac8b3b8). The spec was wrong: it raced the page's own read

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Diffstat:
Mumtool/e2e/usage.spec.ts | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/umtool/e2e/usage.spec.ts b/umtool/e2e/usage.spec.ts @@ -114,6 +114,9 @@ test("confirming the drop writes it through", async ({ page, request }) => { test.skip(!hit, "no planned clip in the fixture"); await page.goto(`/sort?only=${encodeURIComponent(hit!.key)}`); + // The page knows the clip is in a build before it is judged: until its usage has arrived, a verdict writes with + // no question asked (the confirm the spec waits for never comes). The state the page shows, as the test above. + await expect(page.getByText(new RegExp(`used in ${hit!.builds.length} builds?`))).toBeVisible(); const before = await (await request.get("/api/clips?mode=sort&limit=50")).json(); await page.locator('[data-verdict="0"]').click();