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

Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:1pyf6ayylw was degraded 58 minutes today: trevato/forge: "migrate: after > mirror: a source that moved on its own is not overwritten, and the error is recorded a… #4567

Merged opened this

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

Merged

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

  • Merged. scout/4557-sentinel-shared-01m23vygyffx5hg2f5vm8r74 was merged into main as c449eef.

Review

Sign in to review this change.
1 file changed +3 −3
test/migrate-after.test.ts +3 −3
@@ -215,7 +215,7 @@ describe("migrate: after", () => {
215215 expect(target.tips["refs/heads/main"]).toBe(mine!);
216216 expect(target.lastError).toBe("");
217217 expect(JSON.stringify(target)).not.toContain("token");
218 }, 60_000);
218 });
219219
220220 test("mirror: the crew's work branches never go to the source", async () => {
221221 const { name, copy } = await migrate("mirror");
@@ -228,7 +228,7 @@ describe("migrate: after", () => {
228228 const sourceDir = repoDir(app.reposRoot, "octo", name);
229229 expect(await resolveOid(sourceDir, "refs/heads/scout/unreviewed")).toBeUndefined();
230230 expect(await resolveOid(sourceDir, "refs/heads/main")).toBe(mine);
231 }, 60_000);
231 });
232232
233233 test("mirror: a source that moved on its own is not overwritten, and the error is recorded and shown", async () => {
234234 const { name, copy } = await migrate("mirror");
@@ -256,7 +256,7 @@ describe("migrate: after", () => {
256256 expect(getMirrorTarget(app.db, getRepo(app.db, "alice", copy)!.id)).toBeDefined();
257257 expect((await stop({ cookie, origin: base })).status).toBe(303);
258258 expect(getMirrorTarget(app.db, getRepo(app.db, "alice", copy)!.id)).toBeUndefined();
259 }, 60_000);
259 });
260260 });
261261
262262 // The handler's refusal needs an app and a token, not the fake GitHub, the

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs