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

"a pull says its variant group and siblings > pulls sharing a group name each other; an ordinary pull has null and []" passes every time on a loaded check machine #5374

Merged opened this

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

Merged

scout/forge:scout/5351-a-pull-says-its-variant-group-and-siblin → main 1 commit fork

  • Merged. scout/5351-a-pull-says-its-variant-group-and-siblin was merged into main as aaff78f.

Review

Sign in to review this change.
1 file changed +9 −4
test/pull-variants.test.ts +9 −4
@@ -91,7 +91,15 @@ describe("a pull says its variant group and siblings", () => {
9191 await gitOk(["add", "."]);
9292 await gitOk(["commit", "-m", "base"]);
9393 await gitOk(["push", "origin", "main"]);
94 });
94 // The branches are cut here, in one push, so the test below spends its
95 // own time on the pulls it is about, not on git processes (a loaded
96 // machine ran its dozen spawns past the 5 s test timeout).
97 for (const name of ["a", "b", "c"]) {
98 await gitOk(["checkout", "-B", name, "main"]);
99 await write(`alpha\n${name}\ngamma\n`, `try ${name}`);
100 }
101 await gitOk(["push", "origin", "a", "b", "c"]);
102 }, 30_000);
95103
96104 afterAll(async () => {
97105 servers.stop();
@@ -102,9 +110,6 @@ describe("a pull says its variant group and siblings", () => {
102110
103111 test("pulls sharing a group name each other; an ordinary pull has null and []", async () => {
104112 for (const name of ["a", "b", "c"]) {
105 await gitOk(["checkout", "-B", name, "main"]);
106 await write(`alpha\n${name}\ngamma\n`, `try ${name}`);
107 await gitOk(["push", "origin", name]);
108113 const made = await api("/pulls", {
109114 method: "POST",
110115 body: JSON.stringify({ base: "main", head: name, title: name }),

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs