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

Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:2uprnlv3zi is past its budget: trevato/forge: "the releases page > a writer gets a button on a kept release, not on the live or a pruned one" failed o… #4670

Merged opened this

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

Merged

scout/forge:scout/4668-sentinel-shared-01m23vygyffx5hg2f5vm8r74 → main 1 commit fork

  • Merged. scout/4668-sentinel-shared-01m23vygyffx5hg2f5vm8r74 was merged into main as a299892.

Review

Sign in to review this change.
1 file changed +5 −1
test/releases-page.test.ts +5 −1
@@ -5,7 +5,7 @@
55 * else gets none and a 403; a cross-origin POST is refused; the home links
66 * the live release.
77 */
8 import { afterAll, beforeAll, describe, expect, test } from "bun:test";
8 import { afterAll, beforeAll, describe, expect, setDefaultTimeout, test } from "bun:test";
99 import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
1010 import { tmpdir } from "node:os";
1111 import { join } from "node:path";
@@ -21,6 +21,8 @@ import { proveAll } from "./helpers/verified.ts";
2121 import { quietLogs } from "./helpers/globals.ts";
2222
2323 quietLogs();
24 // A loaded check machine can take seconds over a cold page; the verdict is the markup, not the clock.
25 setDefaultTimeout(30_000);
2426
2527 const LIVE = "a".repeat(40);
2628 const KEPT = "b".repeat(40);
@@ -81,6 +83,8 @@ describe("the releases page", () => {
8183 servers = await serve(app);
8284 // Password hashing is the slow step under a loaded check machine: do it once, here, with room.
8385 aliceCookie = await login("alice", "a-good-passphrase");
86 // Warm the page (the first render imports the kept release's schema module) outside any test's clock.
87 await (await fetch(`${servers.url}/releases`, { headers: { cookie: aliceCookie } })).text();
8488 }, 60_000);
8589 afterAll(() => {
8690 if (was === undefined) delete process.env["FORGE_COMMIT"];

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs