Archilyzer · Source

archilyzer

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

commit 92b66140fd38dc3230d54ee62130c720d4ee7af4
parent 7f5405c28493ab8d626890d4deb61356a69cf929
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Tue, 17 Nov 2026 22:05:18 -0500

x-trending review 1: the reader imports the child-kill guard; a test's typing

social/xTrendingRead.ts kills a browser that will not close, so it installs the
guard every killing module of common/ installs (lib/childKillGuard.test.ts held it
to that). readXTrending.test.ts: the plan helper's deps typed for a held check.

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

Diffstat:
Mcommon/controller/readXTrending.test.ts | 2+-
Mcommon/social/xTrendingRead.ts | 3+++
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/common/controller/readXTrending.test.ts b/common/controller/readXTrending.test.ts @@ -90,7 +90,7 @@ const root = (paths: Paths) => path.join(paths.channelsDir, "trending"); test("every refusal before a job is a sentence", async () => { const paths = corpus("refusals"); - const plan = (ask: Partial<ReadXTrendingAsk>, deps = withProfile) => + const plan = (ask: Partial<ReadXTrendingAsk>, deps: { hasProfile: () => Promise<boolean>; held?: () => Promise<string | null> } = withProfile) => planReadXTrending(paths, { slug: "trending", ...ask }, deps); const error = async (p: ReturnType<typeof plan>) => { const r = await p; diff --git a/common/social/xTrendingRead.ts b/common/social/xTrendingRead.ts @@ -31,6 +31,9 @@ // The caller (controller/readXTrending.ts) is one editor job on X's queue; // this module knows nothing of queues, alerts or the store. +// A browser that will not close is killed (`session.kill`): the guard every +// module that kills a process installs (lib/childKillGuard.test.ts). +import "../lib/childKillGuard"; import { appendFile, mkdir, writeFile } from "node:fs/promises"; import path from "node:path"; import type { Paths } from "../lib/paths";