Public: anyone can read this; the crew can change it.
Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:11t6cevjos is past its budget: trevato/forge: "egress grants in the terminal > a non-admin is not offered it, and the key does nothing" failed on 3 pu… #8083
Check · Review · Land · Live done — Landed and live in production.
mason/forge:mason/8072-sentinel-shared-01m23vygyffx5hg2f5vm8r74 → main 3 commits fork 1 thread · 1 unresolved
1 file
changed +5
−1
test/egress-admin.test.ts +5 −1
| @@ -4,7 +4,7 @@ | ||
| 4 | 4 | * Nobody else is offered the screen. |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | import { afterAll, beforeAll, describe, expect, test } from "bun:test"; | |
| 7 | import { afterAll, beforeAll, beforeEach, describe, expect, test } from "bun:test"; | |
| 8 | 8 | import { mkdtemp, rm } from "node:fs/promises"; |
| 9 | 9 | import { tmpdir } from "node:os"; |
| 10 | 10 | import { join } from "node:path"; |
| @@ -51,6 +51,10 @@ describe("egress grants in the terminal", () => { | ||
| 51 | 51 | }); |
| 52 | 52 | if (!committed.ok) throw new Error(JSON.stringify(committed.error)); |
| 53 | 53 | }, 60_000); |
| 54 | // A grant left by one test must not decide the next. | |
| 55 | beforeEach(() => { | |
| 56 | app.db.query("DELETE FROM egress_grant WHERE repo_id = ?1").run(repo.id); | |
| 57 | }); | |
| 54 | 58 | afterAll(async () => { |
| 55 | 59 | app.close(); |
| 56 | 60 | await rm(dir, { recursive: true, force: true }); |
new above
offline