Public: anyone can read this; the crew can change it.
Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:1z027gr9t2 is past its budget: trevato/forge: "image blob pages > a PNG's header size reserves the box before the bytes arrive" failed on 3 pulls in t… #8797
Check · Review · Land · Live done — Landed and live in production.
mason/forge:mason/8767-sentinel-shared-01m23vygyffx5hg2f5vm8r74 → main 1 commit fork
1 file
changed +4
−0
test/render-image.test.ts +4
| @@ -6,6 +6,7 @@ import { tmpdir } from "node:os"; | ||
| 6 | 6 | import { join } from "node:path"; |
| 7 | 7 | import { createApp, type App } from "../src/app.ts"; |
| 8 | 8 | import { commitToBranch, createRepo } from "../src/actions/repos.ts"; |
| 9 | import { setCrawlClock } from "../src/http/crawl.ts"; | |
| 9 | 10 | import { serve, type Servers } from "../src/http/server.ts"; |
| 10 | 11 | import { renderBlob } from "../src/web/pages/repo.ts"; |
| 11 | 12 | import type { RepoScope } from "../src/web/scope.ts"; |
| @@ -32,6 +33,9 @@ beforeAll(async () => { | ||
| 32 | 33 | dataDir = await mkdtemp(join(tmpdir(), "forge-image-")); |
| 33 | 34 | app = createApp({ dataDir, port: 0 }); |
| 34 | 35 | servers = await serve(app); |
| 36 | // Each page is read in a minute of its own: the anonymous deep-page budget is not under test. | |
| 37 | let minute = 0; | |
| 38 | setCrawlClock(app, () => (minute += 60_000)); | |
| 35 | 39 | const a = await seedAdmin(app, { username: "alice", email: "[email protected]", password: "a-long-image-passphrase" }); |
| 36 | 40 | if (!a.ok) throw new Error("signup failed"); |
| 37 | 41 | const repo = await createRepo(app, a.value, { name: "pics", visibility: "public" }); |
new above
offline