Archilyzer · Source

archilyzer

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

commit d633dc58d74c9de5aee0f7f1ed79b1818ed70a28
parent dae773bfc92692452967156f8f94abb5adb5f566
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Mon,  2 Nov 2026 03:41:12 -0500

umtool: Add post e2e -- the fixture's tally label fits beside a post; the fixture path

add-post-fixture is play-cut-fixture's cut, whose "Seizures" tally label the build refuses once
a post narrows the tally's cell (117 px in 112): the fixture gives it a tallyLabel that fits, so
the deck composes and the card shows on its clip. The spec reads the fixture from umtool/.e2e-song.

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

Diffstat:
Mumtool/e2e/add-post.spec.ts | 2+-
Mumtool/e2e/fixtures/intake-fixture.mjs | 7++++++-
2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/umtool/e2e/add-post.spec.ts b/umtool/e2e/add-post.spec.ts @@ -23,7 +23,7 @@ import { POST_IDS } from "./fixtures/intake-fixture.mjs"; // --------------------------------------------------------------------------- const HERE = path.dirname(fileURLToPath(import.meta.url)); -const FIXTURE = path.join(HERE, ".e2e-song"); +const FIXTURE = path.join(HERE, "..", ".e2e-song"); const DIR = path.join(FIXTURE, "reports", "add-post-fixture"); const MANIFEST = path.join(DIR, "video.manifest.json"); const PROJECT = "reports/add-post-fixture"; diff --git a/umtool/e2e/fixtures/intake-fixture.mjs b/umtool/e2e/fixtures/intake-fixture.mjs @@ -20,7 +20,7 @@ // (add-post.spec.ts) // // Synthetic, like every fixture. -import { copyFileSync, mkdirSync, writeFileSync } from "node:fs"; +import { copyFileSync, mkdirSync, readFileSync, writeFileSync } from "node:fs"; import path from "node:path"; import { deflateSync } from "node:zlib"; import { makePlayCutFixture } from "./play-cut-fixture.mjs"; @@ -149,6 +149,11 @@ export function makeIntakeFixture({ reports, channels, deckManifest, cachedWindo // ---- Add post (item 13) ----------------------------------------------------------- makePlayCutFixture({ reports, deckManifest, cachedWindow, name: "add-post-fixture", title: "The Add Post Fixture" }); + // With a post drawn the tally's cell is narrower: a word that fits it (the build refuses "Seizures" there). + const apFile = path.join(reports, "add-post-fixture", "video.manifest.json"); + const ap = JSON.parse(readFileSync(apFile, "utf8")); + ap.render.chrome.factcheck.verdicts.CORROBORATED.tallyLabel = "Fits"; + writeFileSync(apFile, json(ap)); const x = path.join(channels, "testchan-x"); const row = (id, date, text, extra = {}) => JSON.stringify({ id, slug: "testchan-x", channelSlug: "testchan-x", author: "teststreamer", authorName: "Test Streamer", createdAt: `${date}T15:00:00.000Z`, uploadDate: date.replace(/-/g, ""), text, url: `https://x.com/teststreamer/status/${id}`, platform: "twitter", isReply: false, isRepost: false, links: [], ...extra });