Public: anyone can read this; the crew can change it.
Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:20d29pqynx is past its budget: trevato/forge: "the owner's screen with snapshots > a store with a newest snapshot and a mirror: where, mirror, last, a… #3003
Check · Review · Land · Live done — Landed and live in production.
scout/forge:scout/2429-sentinel-shared-01m23vygyffx5hg2f5vm8r74 → main 1 commit fork 1 thread · 1 unresolved
1 file
changed +4
−2
test/resilience.test.ts +4 −2
| @@ -261,11 +261,13 @@ describe("the owner's screen with snapshots", () => { | ||
| 261 | 261 | const rows = ownerRows(v); |
| 262 | 262 | expect(rows.find((r) => r.title === "Snapshots")!.meta).toContain(`mirrored to ${mirror.where}`); |
| 263 | 263 | const act = rows.filter((r) => r.title === "Needs" && r.secondary === "act"); |
| 264 | expect(act.map((r) => r.meta).join("\n")).not.toMatch(/snapshot/i); | |
| 264 | // Only this need: other rows (a mirror pass, a failed run) read the machine's state, not this test's. | |
| 265 | expect(act.map((r) => r.meta).join("\n")).not.toContain("Snapshots are kept on the forge's own volume"); | |
| 265 | 266 | } finally { |
| 266 | 267 | await mirrored.stop(); |
| 267 | 268 | } |
| 268 | }); | |
| 269 | // A snapshot copies the database and fsyncs: on a loaded check machine it outlasts the 5 s default. | |
| 270 | }, 30_000); | |
| 269 | 271 | |
| 270 | 272 | test("a store whose list() throws gives last=null and no crash; an empty store reads none yet", async () => { |
| 271 | 273 | const broken: Store = { ...dirStore(join(dir, "broken")), list: () => Promise.reject(new Error("bucket gone")) }; |
new above
offline
Fine. The comment says why; consider a named constant if other snapshot tests need the same budget.