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

Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:1md4xgwelm is past its budget: trevato/forge: "a preview address only where an environment exists, and only for those who may enter the app" failed on… #8214

Merged opened this

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

Merged

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

  • Merged. scout/8208-sentinel-shared-01m23vygyffx5hg2f5vm8r74 was merged into main as 10209f6.

Review

Sign in to review this change.
1 file changed +6 −3
test/api-pulls-check-preview.test.ts +6 −3
@@ -15,6 +15,9 @@ import { quietLogs } from "./helpers/globals.ts";
1515
1616 quietLogs();
1717
18 /** Bun's 5 s default is a load measurement on a busy check machine (password hashing, git, fetches); the verdict is not. */
19 const SLOW = 60_000;
20
1821 let dataDir: string;
1922 let app: App;
2023 let servers: Servers;
@@ -121,7 +124,7 @@ test("each pull names its author and its check word", async () => {
121124 expect(by["stale"]!["check"]).toBe("none");
122125 expect(by["deployed"]!["check"]).toBe("red");
123126 expect(by["green"]!["author"]).toBe("alice");
124 });
127 }, SLOW);
125128
126129 test("a preview address only where an environment exists, and only for those who may enter the app", async () => {
127130 serveEnv(pulls["green"]!.number, "g1");
@@ -158,7 +161,7 @@ test("a preview address only where an environment exists, and only for those who
158161 expect(seen["green"]!["check"]).toBe("green");
159162 }
160163 expect((await listed({ cookie }))["green"]!["preview"]).toBe(address);
161 });
164 }, SLOW);
162165
163166 test("a closed pull has no preview address", async () => {
164167 const done = addPull("done", "c1");
@@ -166,4 +169,4 @@ test("a closed pull has no preview address", async () => {
166169 app.db.query("UPDATE issue SET state = 'closed' WHERE id = ?1").run(done.id);
167170 const by = await listed({ cookie }, "closed");
168171 expect(by["done"]!["preview"]).toBeNull();
169 });
172 }, SLOW);

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs