From 6f67b5028a073480cf9dd96afbebfe97909c1730 Mon Sep 17 00:00:00 2001 From: garrytan Date: Sat, 24 Oct 2026 20:25:49 +0000 Subject: [PATCH] test(ship-queue): register the #3345 CHANGELOG fixtures; placeholder credential URLs (GSTA-67) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- test/helpers/free-fixtures-data.ts | 1 + test/ship-queue-train-logic.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/helpers/free-fixtures-data.ts b/test/helpers/free-fixtures-data.ts index 4fcd60246..d8b7c8440 100644 --- a/test/helpers/free-fixtures-data.ts +++ b/test/helpers/free-fixtures-data.ts @@ -138,6 +138,7 @@ export const FREE_FIXTURES: Readonly> = { 'test/fixtures/investigate-owned-question-39195396438.json': ['test/workflow-boundaries-fixture.test.ts'], 'test/fixtures/judge-calibration/**': ['scripts/judge-calibration.ts', 'test/judge-calibration.test.ts'], 'test/fixtures/judge-panel-replay-2026-10-05.json': ['test/judge-panel-median.test.ts'], + 'test/fixtures/merge-train-3345/**': ['test/changelog-merge-damage.test.ts', 'test/compare-pr-version.test.ts'], 'test/fixtures/module-size-ratchet.json': ['test/helpers/module-size.ts', 'test/module-size-ratchet.test.ts'], 'test/fixtures/module-size/**': ['test/helpers/module-size.ts', 'test/module-size-ratchet.test.ts'], 'test/fixtures/multi-agent-wave/**': ['test/headless-artifacts.test.ts', 'test/helpers/autoplan-run-fixture.ts', 'test/plan-reality.test.ts'], diff --git a/test/ship-queue-train-logic.test.ts b/test/ship-queue-train-logic.test.ts index 8995dca6f..15bae88b2 100644 --- a/test/ship-queue-train-logic.test.ts +++ b/test/ship-queue-train-logic.test.ts @@ -80,10 +80,10 @@ describe('repo identity (GSTA-67, #3331 on 2026-10-21)', () => { test("every URL form of one GitHub repository gives one key, the github.com key gstack's records already use", () => { const canonical = 'https://github.com/garrytan/gstack'; for (const url of ['https://github.com/garrytan/gstack', 'https://github.com/garrytan/gstack.git', 'https://git.capy.ai/garrytan/gstack', 'https://git.capy.ai/garrytan/gstack.git/', - 'git@github.com:garrytan/gstack.git', 'ssh://git@github.com/garrytan/gstack.git', 'ssh://git@ssh.github.com:443/garrytan/gstack.git', 'https://x-access-token:REDACTED@github.com/garrytan/gstack.git', + 'git@github.com:garrytan/gstack.git', 'ssh://git@github.com/garrytan/gstack.git', 'ssh://git@ssh.github.com:443/garrytan/gstack.git', 'https://x-access-token:PASSWORD@github.com/garrytan/gstack.git', 'http://www.github.com/GarryTan/GStack']) expect(normalizeRemoteUrl(url)).toBe(canonical); expect(normalizeRemoteUrl('https://gitlab.com/acme/widget.git')).toBe('https://gitlab.com/acme/widget'); - expect(normalizeRemoteUrl('https://user:secret@gitlab.com/acme/widget.git')).toBe('https://gitlab.com/acme/widget'); + expect(normalizeRemoteUrl('https://user:PASSWORD@gitlab.com/acme/widget.git')).toBe('https://gitlab.com/acme/widget'); expect(normalizeRemoteUrl('/tmp/fixture/origin.git')).toBe('/tmp/fixture/origin'); });