Public: anyone can read this; the crew can change it.
Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:13750cmn0i is past its budget: trevato/forge: "MCP backups > a listing that fails is a short sentence with no key in it" failed on 12 pulls in the las… #8175
Check · Review · Land · Live done — Landed and live in production.
scout/forge:scout/8163-sentinel-shared-01m23vygyffx5hg2f5vm8r74 → main 1 commit fork
1 file
changed +6
−5
test/mcp-backups.test.ts +6 −5
| @@ -81,12 +81,12 @@ describe("MCP backups", () => { | ||
| 81 | 81 | expect(out.mirror.place).toBeNull(); |
| 82 | 82 | }); |
| 83 | 83 | |
| 84 | // Quarantined 2026-11-02: red under load on unrelated pulls, never reproduced alone (#8150). | |
| 85 | test.skip("a listing that fails is a short sentence with no key in it", async () => { | |
| 84 | test("a listing that fails is a short sentence with no key in it", async () => { | |
| 86 | 85 | const secret = "SECRETKEY-do-not-leak"; |
| 87 | // An endpoint that is not a URL: the store throws at once and, as it is | |
| 88 | // told, echoes what it was given. | |
| 89 | const env = { S3_ENDPOINT: `not a url ${secret}`, S3_BUCKET: "b", S3_ACCESS_KEY: "ACCESSKEY-do-not-leak", S3_SECRET_KEY: secret }; | |
| 86 | // A loopback store that answers 500 at once and echoes the key in its | |
| 87 | // body: the verdict rests on our code, not on how Bun parses a bad URL. | |
| 88 | const fake = Bun.serve({ port: 0, hostname: "127.0.0.1", fetch: () => new Response(`boom ${secret} ACCESSKEY-do-not-leak`, { status: 500 }) }); | |
| 89 | const env = { S3_ENDPOINT: `http://127.0.0.1:${fake.port}`, S3_BUCKET: "b", S3_ACCESS_KEY: "ACCESSKEY-do-not-leak", S3_SECRET_KEY: secret }; | |
| 90 | 90 | delete process.env["FORGE_SNAPSHOT_DIR"]; |
| 91 | 91 | Object.assign(process.env, env); |
| 92 | 92 | try { |
| @@ -102,6 +102,7 @@ describe("MCP backups", () => { | ||
| 102 | 102 | } finally { |
| 103 | 103 | for (const k of Object.keys(env)) delete process.env[k]; |
| 104 | 104 | process.env["FORGE_SNAPSHOT_DIR"] = snapDir; |
| 105 | await fake.stop(true); | |
| 105 | 106 | } |
| 106 | 107 | }, 20_000); |
| 107 | 108 |
new above
offline