Archilyzer · Source

archilyzer

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

commit 3c999157823bd58b5816b9a36c2232ab08a61960
parent be9fbdcc1dbd38e6cabe4612dd50bddcab0771c4
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Sat, 21 Nov 2026 23:33:12 -0500

record-live test: the slice-2 recovery state may be "stopped" when the live edge ends first under load

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

Diffstat:
Mcommon/controller/recordLive.test.ts | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/common/controller/recordLive.test.ts b/common/controller/recordLive.test.ts @@ -1247,7 +1247,8 @@ test("slice 2: the live edge records, a from-start try beside it records from th assert.equal(row.parts.find((p) => p.recovery && (p.seconds ?? 0) > 0)?.provenStart, undefined); assert.ok(row.parts.filter((p) => !p.fromStart).every((p) => p.provenStart === undefined), "nor a live-edge part"); assert.equal(row.coverage?.covers, false); - assert.equal(row.startRecovery?.state, "recorded"); + // (recorded, or stopped when the live edge ends first under load.) + assert.ok(["recorded", "stopped"].includes(row.startRecovery?.state ?? ""), `start recovery ${row.startRecovery?.state}`); assert.ok(row.keptParts?.some((k) => /ytdlp-edge-a4$/.test(k.stem)), "the live-edge part is kept"); assert.equal(row.needsAttention, true); });