Public: anyone can read this; the crew can change it.
Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:1sq3qvly0n is past its budget: trevato/forge: "a forge snapshotted again and again > another passphrase reads nothing, and no name on the bucket is th… #12629
Check · Review · Land · Live done — Landed and live in production.
mason/forge:mason/12628-sentinel-shared-01m23vygyffx5hg2f5vm8r74 → main 1 commit fork
1 file
changed +4
−4
test/snapshot-incremental.test.ts +4 −4
| @@ -433,7 +433,7 @@ describe("a forge snapshotted again and again", () => { | ||
| 433 | 433 | accessKeyId: "a", |
| 434 | 434 | secretAccessKey: "s", |
| 435 | 435 | }; |
| 436 | store = sealedStore(s3Store(target, 1), PASS); | |
| 436 | store = sealedStore(s3Store(target, 3), PASS); | |
| 437 | 437 | const puts = (): string[] => seen.filter((l) => l.startsWith("PUT ")).map((l) => l.slice(4)); |
| 438 | 438 | const bytesOf = (keys: readonly string[]): number => |
| 439 | 439 | keys.reduce((n, k) => n + (objects.get(k)?.byteLength ?? 0), 0); |
| @@ -556,14 +556,14 @@ describe("a forge snapshotted again and again", () => { | ||
| 556 | 556 | accessKeyId: "a", |
| 557 | 557 | secretAccessKey: "s", |
| 558 | 558 | }; |
| 559 | const store = sealedStore(s3Store(target, 1), PASS); | |
| 559 | const store = sealedStore(s3Store(target, 3), PASS); | |
| 560 | 560 | const m3 = await takeSnapshot( |
| 561 | 561 | forge(), |
| 562 | 562 | store, |
| 563 | 563 | new Date("2026-11-03T09:00:00Z"), |
| 564 | 564 | ); |
| 565 | 565 | // Refused at the lane's header, for a listing, a verify and a restore alike. |
| 566 | const wrong = sealedStore(s3Store(target, 1), "another passphrase", { | |
| 566 | const wrong = sealedStore(s3Store(target, 3), "another passphrase", { | |
| 567 | 567 | create: false, |
| 568 | 568 | }); |
| 569 | 569 | await expect(listSnapshots(wrong)).rejects.toThrow( |
| @@ -831,7 +831,7 @@ describe("a forge snapshotted again and again", () => { | ||
| 831 | 831 | accessKeyId: "a", |
| 832 | 832 | secretAccessKey: "s", |
| 833 | 833 | }; |
| 834 | mirror = sealedStore(s3Store(target, 1), PASS); | |
| 834 | mirror = sealedStore(s3Store(target, 3), PASS); | |
| 835 | 835 | const primary = dirStore(fresh("primary")); |
| 836 | 836 | const state = fresh("mirror-state"); |
| 837 | 837 | mkdirSync(state, { recursive: true }); |
new above
offline