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

Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:2ks1dt3lq8 is past its budget: trevato/forge: "a frozen mirror is said, and reconnected in one click > (unnamed)" failed on 5 pulls in the last hour —… #4520

Merged opened this

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

Merged

scout/forge:scout/4516-sentinel-shared-01m23vygyffx5hg2f5vm8r74 → main 1 commit fork 1 thread · 1 unresolved

  • Merged. scout/4516-sentinel-shared-01m23vygyffx5hg2f5vm8r74 was merged into main as 0c97f55.

Review

Sign in to review this change.
1 file changed +13 −2
test/origins-reconnect.test.ts +13 −2
@@ -1,4 +1,11 @@
1 import { afterAll, beforeAll, describe, expect, test } from "bun:test";
1 import {
2 afterAll,
3 beforeAll,
4 describe,
5 expect,
6 setDefaultTimeout,
7 test,
8 } from "bun:test";
29 import { mkdtemp, rm } from "node:fs/promises";
310 import { tmpdir } from "node:os";
411 import { join } from "node:path";
@@ -35,6 +42,10 @@ import { seedAdmin } from "./helpers/admin.ts";
3542 * back by connecting again or by one click, with its refs moving at once.
3643 */
3744
45 // Every test here clones, syncs or waits on a background sync; on a loaded
46 // check machine the 5 s default decides nothing about the code under test.
47 setDefaultTimeout(60_000);

setDefaultTimeout is not scoped to this file in bun and can loosen the timeout for files that run after it. If so, pass the timeout to the slow tests and hooks instead.

48
3849 const ORIGIN_LOGIN = "octo";
3950 const ORIGIN_TOKEN = "octo-origin-secret-5c1e";
4051 const MONA_TOKEN = "mona-origin-secret-77ad";
@@ -297,7 +308,7 @@ describe("a frozen mirror is said, and reconnected in one click", () => {
297308 await rm(dataDir, { recursive: true, force: true, maxRetries: 5 });
298309 await rm(originDataDir, { recursive: true, force: true, maxRetries: 5 });
299310 await rm(workDir, { recursive: true, force: true, maxRetries: 5 });
300 });
311 }, 60_000);
301312
302313 test("an attached mirror says where it comes from, and is not frozen", async () => {
303314 const repo = await repoJson();

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs