Public: anyone can read this; the crew can change it.
Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:1uelmre57z was degraded 58 minutes today: trevato/forge: "migrate: after > mirror: the crew's work branches never go to the source" failed on 3 pulls in the last… #4564
Check · Review · Land · Live done — Landed and live in production.
mason/forge:mason/4558-sentinel-shared-01m23vygyffx5hg2f5vm8r74 → main 1 commit fork
1 file
changed +3
−3
test/migrate-after.test.ts +3 −3
| @@ -215,7 +215,7 @@ describe("migrate: after", () => { | ||
| 215 | 215 | expect(target.tips["refs/heads/main"]).toBe(mine!); |
| 216 | 216 | expect(target.lastError).toBe(""); |
| 217 | 217 | expect(JSON.stringify(target)).not.toContain("token"); |
| 218 | }, 60_000); | |
| 218 | }); | |
| 219 | 219 | |
| 220 | 220 | test("mirror: the crew's work branches never go to the source", async () => { |
| 221 | 221 | const { name, copy } = await migrate("mirror"); |
| @@ -228,7 +228,7 @@ describe("migrate: after", () => { | ||
| 228 | 228 | const sourceDir = repoDir(app.reposRoot, "octo", name); |
| 229 | 229 | expect(await resolveOid(sourceDir, "refs/heads/scout/unreviewed")).toBeUndefined(); |
| 230 | 230 | expect(await resolveOid(sourceDir, "refs/heads/main")).toBe(mine); |
| 231 | }, 60_000); | |
| 231 | }); | |
| 232 | 232 | |
| 233 | 233 | test("mirror: a source that moved on its own is not overwritten, and the error is recorded and shown", async () => { |
| 234 | 234 | const { name, copy } = await migrate("mirror"); |
| @@ -256,7 +256,7 @@ describe("migrate: after", () => { | ||
| 256 | 256 | expect(getMirrorTarget(app.db, getRepo(app.db, "alice", copy)!.id)).toBeDefined(); |
| 257 | 257 | expect((await stop({ cookie, origin: base })).status).toBe(303); |
| 258 | 258 | expect(getMirrorTarget(app.db, getRepo(app.db, "alice", copy)!.id)).toBeUndefined(); |
| 259 | }, 60_000); | |
| 259 | }); | |
| 260 | 260 | }); |
| 261 | 261 | |
| 262 | 262 | // The handler's refusal needs an app and a token, not the fake GitHub, the |
new above
offline