From 73a678eb89723d0a6335b2fc09d42eadbc9d6a65 Mon Sep 17 00:00:00 2001 From: garrytan Date: Tue, 27 Oct 2026 16:55:29 +0000 Subject: [PATCH] test: type the saved fixture PR row for the test-code ratchet (GSTA-129) CI's typecheck:test ratchet refused one new TS2698 (spread of a loosely typed fixture row) in the slot-1 freeze test; the row is read as any, as the neighbouring state writes already do. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- test/ship-queue-train.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ship-queue-train.test.ts b/test/ship-queue-train.test.ts index 0a4d106bf..cbf3f3a3d 100644 --- a/test/ship-queue-train.test.ts +++ b/test/ship-queue-train.test.ts @@ -1033,7 +1033,7 @@ describe('verify, freeze, repair and clear', () => { const smuggled = fx.repo.git('show', `${t.prefixes[0].commit}:CHANGELOG.md`).replace('# Changelog\n', '# Changelog\n\n## [1.2.4.0] - 2026-10-18\n\n- #1 change\n- added after the gate\n') + '\n'; const broken = publishMain(fx, t.prefixes[1].commit, '1.2.4.0', { file: 'CHANGELOG.md', text: smuggled }); // While GitHub's answer for #1 cannot be read, the verify neither freezes nor says "nothing merged": it refuses and asks to be rerun. - const row = fx.read().prs['1']; + const row = fx.read().prs['1'] as any; fx.write(d => { delete d.prs['1']; }); const unreadable = v('1'); expect(unreadable.status).toBe(EXIT.refused);