Public: anyone can read this; the crew can change it.

Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:14z6ct5gje is past its budget: trevato/forge: "MCP backups_test > an unreachable one says why, and never echoes a secret" failed on 3 pulls in the las… #8128

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

torque/forge:torque/8100-sentinel-shared-01m23vygyffx5hg2f5vm8r74 → main 1 commit fork

  • Merged. torque/8100-sentinel-shared-01m23vygyffx5hg2f5vm8r74 was merged into main as 174e73a.

Review

Sign in to review this change.
1 file changed +8 −0
test/mcp-backups-test.test.ts +8
@@ -77,7 +77,15 @@ describe("MCP backups_test", () => {
7777 }, 20_000);
7878
7979 test("an unreachable one says why, and never echoes a secret", async () => {
80 // A client that fails at once, carrying the secrets in its message: the verdict
81 // must not depend on how long the real S3 client retries a closed port.
82 (Bun as any).S3Client = class {
83 async list() {
84 throw new Error(`connect ECONNREFUSED ${SECRET} AKIAEXAMPLE`);
85 }
86 };
8087 const r = await test_(admin, fields("http://127.0.0.1:1"));
88 (Bun as any).S3Client = realS3;
8189 const out = JSON.parse(r.text);
8290 expect(out.reached).toBe(false);
8391 expect(out.says).toStartWith("Could not list ");

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs