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

Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:1uz372eiuv is past its budget: trevato/forge: "a landed pull moves the forks, like the push it amounts to > the untouched fork follows; the one with i… #13203

Merged opened this

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

Merged

torque/forge:torque/13192-sentinel-shared-01m23vygyffx5hg2f5vm8r74 → main 1 commit fork

  • Merged. torque/13192-sentinel-shared-01m23vygyffx5hg2f5vm8r74 was merged into main as b0ffb67.

Review

Sign in to review this change.
1 file changed +8 −4
test/following.test.ts +8 −4
@@ -1006,10 +1006,14 @@ describe("a landed pull moves the forks, like the push it amounts to", () => {
10061006 const landed = await tip(parent);
10071007 expect(landed).not.toBe(before);
10081008 await until(async () => (await tip(untouched)) === landed);
1009 const followed = listEvents(app.db, { repoId: untouched.id, limit: 20 })
1010 .filter((e) => e.kind === "push")
1011 .map((e) => e.payload["followed"]);
1012 expect(followed).toContain("alice/engine");
1009 // The ref moves before the push event is written: wait for the event
1010 // rather than reading it the instant the tip changes.
1011 const followedOf = () =>
1012 listEvents(app.db, { repoId: untouched.id, limit: 20 })
1013 .filter((e) => e.kind === "push")
1014 .map((e) => e.payload["followed"]);
1015 await until(() => followedOf().includes("alice/engine"));
1016 expect(followedOf()).toContain("alice/engine");
10131017
10141018 await until(() =>
10151019 listEvents(app.db, { repoId: worked.id, limit: 20 }).some(

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs