Archilyzer · Source

archilyzer

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

commit 92edc930fce4b6ca78f48935ace08a60e984a537
parent c16aaab6a4a5b30d7329cabc357999db41016213
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Tue, 10 Nov 2026 13:24:28 -0500

umtool e2e: a redo after another writer's title is refused on the page (its stale token, never retried) and by the redo itself (the draft hash)

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

Diffstat:
Mumtool/e2e/workspace.spec.ts | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/umtool/e2e/workspace.spec.ts b/umtool/e2e/workspace.spec.ts @@ -196,7 +196,14 @@ test("a write since the undo ends the redo: Redo is refused and the write is kep expect(r.ok(), await r.text()).toBe(true); const titled = manifestText(); await page.locator("[data-ws-redo]").click(); - await expect(page.locator("[data-ws-undo-said]")).toContainText("the draft changed since the undo"); + // Refused: on the page's token (the draft moved since it was read), never retried on a fresh one... + await expect(page.locator("[data-ws-undo-said]")).toHaveAttribute("data-ws-undo-said", "error"); + await expect(page.locator("[data-ws-undo-said]")).toContainText("changed since"); + expect(manifestText()).toBe(titled); + // ...and by the redo itself, asked with no token at all (the CLI's way): the draft is not as the undo left it. + const again = await request.post("/api/report/timeline", { data: { project: P, op: "redo" } }); + expect(again.ok()).toBe(false); + expect(await again.text()).toContain("the draft changed since the undo"); expect(manifestText()).toBe(titled); expect(order()).toBe(before); await expect(page.locator("[data-ws-redo]")).toBeDisabled();