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

Full suite red: test/ask-to-reach.test.ts #12649

shipped production is serving it opened this has it

Landed in pull #12697 · run

opened this

_Filed by the scheduled full-suite report, not written by a person. It holds no pull, batch or release._

test/ask-to-reach.test.ts failed in the full suite on main (check run 01m7devj06ppbjkj8m2sbcp7td, dc5d1c0).

  • the refusal says what stands in the way and offers the one action > the gate refuses a name off its list; the API answers with the sentence and the call that asks the host
  • the refusal says what stands in the way and offers the one action > the page says it in one sentence with one button, and names no key
  • ask, allow for that forge, and the connect runs by itself > the ask reaches the host with who, what and why; a repeat is the same ask
  • ask, allow for that forge, and the connect runs by itself > allowed for that forge: its running gate lets the name through at once, the other forge's does not
  • ask, allow for that forge, and the connect runs by itself > the connect that was refused runs by itself, as the person who tried it
  • ask, allow for that forge, and the connect runs by itself > the forge's row lists what it may also reach; Remove closes it again, at once

the refusal says what stands in the way and offers the one action > the gate refuses a name off its list; the API answers with the sentence and the call that asks the host failed: error: expect(received).toMatch(expected)

265 |       body: JSON.stringify({ host: HOST, token: PAT }),
266 |     });
267 |     expect(res.status).toBe(422);
268 |     const body = (await res.json()) as Record<string, unknown>;
269 |     expect(body["error"]).toBe("unreachable");
270 |     expect(String(body["says"])).toMatch(
                                       ^
error: expect(received).toMatch(expected)

Expected substring or pattern: /^This forge is hosted by .+, which has not allowed it to reach git\.benjiverse\.invalid yet\.$/
Received: "undefined"

      at <anonymous> (test/ask-to-reach.test.ts:270:34)
(fail) the refusal says what stands in the way and offers the one action > the gate refuses a name off its list; the API answers with the sentence and the call that asks the host [15.03ms]

the refusal says what stands in the way and offers the one action > the page says it in one sentence with one button, and names no key failed: error: expect(received).toContain(expected)

301 |       },
302 |       body: new URLSearchParams({ host: HOST, token: PAT }).toString(),
303 |     });
304 |     expect(res.status).toBe(422);
305 |     const page = await res.text();
306 |     expect(page).toContain(`which has not allowed it to reach ${HOST} yet.`);
                       ^
error: expect(received).toContain(expected)

Expected to contain: "which has not allowed it to reach git.benjiverse.invalid yet."
Received: "<!doctype html>\n    <html lang=\"en\" >\n      <head>\n        <meta charset=\"utf-8\" />\n        <meta\n          name=\"viewport\"\n          content=\"width=device-width, initial-scal…

      at <anonymous> (test/ask-to-reach.test.ts:306:18)
(fail) the refusal says what stands in the way and offers the one action > the page says it in one sentence with one button, and names no key [30.39ms]

ask, allow for that forge, and the connect runs by itself > the ask reaches the host with who, what and why; a repeat is the same ask failed: error: expect(received).toMatchObject(expected)

377 |       },
378 |       body: JSON.stringify({ host: HOST, why: "to connect an origin" }),
379 |     };
380 |     const first = await fetch(`${maria.servers.url}/api/v1/reach/asks`, ask);
381 |     expect(first.status).toBe(201);
382 |     expect(await first.json()).toMatchObject({
                                     ^
error: expect(received).toMatchObject(expected)

  {
+   "answeredAt": null,
+   "askedAt": "2026-11-14T16:45:34.791Z",
    "host": "git.benjiverse.invalid",
+   "outcome": null,
    "port": 443,
-   "retries": true,
+   "retries": false,
+   "says": "Asked 2026-11-14T16:45:34.791Z. The host's admin has not answered yet.",
    "state": "asked",
+   "why": "to connect an origin",
  }

- Expected  - 1
+ Received  + 6

      at <anonymous> (test/ask-to-reach.test.ts:382:32)
(fail) ask, allow for that forge, and the connect runs by itself > the ask reaches the host with who, what and why; a repeat is the same ask [5.21ms]

To reproduce:

bun test ./test/ask-to-reach.test.ts
bun test ./test/ask-to-reach.test.ts --rerun-each 10

The full suite ran it in shard 93/3227, 4 files at a time.

Files: test/ask-to-reach.test.ts

2 earlier comments
commented

Still red in the full suite (check run 01m7dh3hjqfcsh4ar22smqd660, 0737e38).

  • the refusal says what stands in the way and offers the one action > the gate refuses a name off its list; the API answers with the sentence and the call that asks the host
  • the refusal says what stands in the way and offers the one action > the page says it in one sentence with one button, and names no key
  • ask, allow for that forge, and the connect runs by itself > the ask reaches the host with who, what and why; a repeat is the same ask
  • ask, allow for that forge, and the connect runs by itself > allowed for that forge: its running gate lets the name through at once, the other forge's does not
  • ask, allow for that forge, and the connect runs by itself > the connect that was refused runs by itself, as the person who tried it
  • ask, allow for that forge, and the connect runs by itself > the forge's row lists what it may also reach; Remove closes it again, at once

the refusal says what stands in the way and offers the one action > the gate refuses a name off its list; the API answers with the sentence and the call that asks the host failed: error: expect(received).toMatch(expected)

265 |       body: JSON.stringify({ host: HOST, token: PAT }),
266 |     });
267 |     expect(res.status).toBe(422);
268 |     const body = (await res.json()) as Record<string, unknown>;
269 |     expect(body["error"]).toBe("unreachable");
270 |     expect(String(body["says"])).toMatch(
                                       ^
error: expect(received).toMatch(expected)

Expected substring or pattern: /^This forge is hosted by .+, which has not allowed it to reach git\.benjiverse\.invalid yet\.$/
Received: "undefined"

      at <anonymous> (test/ask-to-reach.test.ts:270:34)
(fail) the refusal says what stands in the way and offers the one action > the gate refuses a name off its list; the API answers with the sentence and the call that asks the host [125.35ms]

the refusal says what stands in the way and offers the one action > the page says it in one sentence with one button, and names no key failed: error: expect(received).toContain(expected)

301 |       },
302 |       body: new URLSearchParams({ host: HOST, token: PAT }).toString(),
303 |     });
304 |     expect(res.status).toBe(422);
305 |     const page = await res.text();
306 |     expect(page).toContain(`which has not allowed it to reach ${HOST} yet.`);
                       ^
error: expect(received).toContain(expected)

Expected to contain: "which has not allowed it to reach git.benjiverse.invalid yet."
Received: "<!doctype html>\n    <html lang=\"en\" >\n      <head>\n        <meta charset=\"utf-8\" />\n        <meta\n          name=\"viewport\"\n          content=\"width=device-width, initial-scal…

      at <anonymous> (test/ask-to-reach.test.ts:306:18)
(fail) the refusal says what stands in the way and offers the one action > the page says it in one sentence with one button, and names no key [33.39ms]

ask, allow for that forge, and the connect runs by itself > the ask reaches the host with who, what and why; a repeat is the same ask failed: error: expect(received).toMatchObject(expected)

377 |       },
378 |       body: JSON.stringify({ host: HOST, why: "to connect an origin" }),
379 |     };
380 |     const first = await fetch(`${maria.servers.url}/api/v1/reach/asks`, ask);
381 |     expect(first.status).toBe(201);
382 |     expect(await first.json()).toMatchObject({
                                     ^
error: expect(received).toMatchObject(expected)

  {
+   "answeredAt": null,
+   "askedAt": "2026-11-14T17:23:24.787Z",
    "host": "git.benjiverse.invalid",
+   "outcome": null,
    "port": 443,
-   "retries": true,
+   "retries": false,
+   "says": "Asked 2026-11-14T17:23:24.787Z. The host's admin has not answered yet.",
    "state": "asked",
+   "why": "to connect an origin",
  }

- Expected  - 1
+ Received  + 6

      at <anonymous> (test/ask-to-reach.test.ts:382:32)
(fail) ask, allow for that forge, and the connect runs by itself > the ask reaches the host with who, what and why; a repeat is the same ask [7.18ms]

To reproduce:

bun test ./test/ask-to-reach.test.ts
bun test ./test/ask-to-reach.test.ts --rerun-each 10

The full suite ran it in shard 77/3231, 4 files at a time.

commented

Still red in the full suite (check run 01m7dkp2v9chbrrdr359cf2j4j, 5347ed3).

  • the refusal says what stands in the way and offers the one action > the gate refuses a name off its list; the API answers with the sentence and the call that asks the host
  • the refusal says what stands in the way and offers the one action > the page says it in one sentence with one button, and names no key
  • ask, allow for that forge, and the connect runs by itself > the ask reaches the host with who, what and why; a repeat is the same ask
  • ask, allow for that forge, and the connect runs by itself > allowed for that forge: its running gate lets the name through at once, the other forge's does not
  • ask, allow for that forge, and the connect runs by itself > the connect that was refused runs by itself, as the person who tried it
  • ask, allow for that forge, and the connect runs by itself > the forge's row lists what it may also reach; Remove closes it again, at once

the refusal says what stands in the way and offers the one action > the gate refuses a name off its list; the API answers with the sentence and the call that asks the host failed: error: expect(received).toMatch(expected)

265 |       body: JSON.stringify({ host: HOST, token: PAT }),
266 |     });
267 |     expect(res.status).toBe(422);
268 |     const body = (await res.json()) as Record<string, unknown>;
269 |     expect(body["error"]).toBe("unreachable");
270 |     expect(String(body["says"])).toMatch(
                                       ^
error: expect(received).toMatch(expected)

Expected substring or pattern: /^This forge is hosted by .+, which has not allowed it to reach git\.benjiverse\.invalid yet\.$/
Received: "undefined"

      at <anonymous> (test/ask-to-reach.test.ts:270:34)
(fail) the refusal says what stands in the way and offers the one action > the gate refuses a name off its list; the API answers with the sentence and the call that asks the host [15.32ms]

the refusal says what stands in the way and offers the one action > the page says it in one sentence with one button, and names no key failed: error: expect(received).toContain(expected)

301 |       },
302 |       body: new URLSearchParams({ host: HOST, token: PAT }).toString(),
303 |     });
304 |     expect(res.status).toBe(422);
305 |     const page = await res.text();
306 |     expect(page).toContain(`which has not allowed it to reach ${HOST} yet.`);
                       ^
error: expect(received).toContain(expected)

Expected to contain: "which has not allowed it to reach git.benjiverse.invalid yet."
Received: "<!doctype html>\n    <html lang=\"en\" >\n      <head>\n        <meta charset=\"utf-8\" />\n        <meta\n          name=\"viewport\"\n          content=\"width=device-width, initial-scal…

      at <anonymous> (test/ask-to-reach.test.ts:306:18)
(fail) the refusal says what stands in the way and offers the one action > the page says it in one sentence with one button, and names no key [41.75ms]

ask, allow for that forge, and the connect runs by itself > the ask reaches the host with who, what and why; a repeat is the same ask failed: error: expect(received).toMatchObject(expected)

377 |       },
378 |       body: JSON.stringify({ host: HOST, why: "to connect an origin" }),
379 |     };
380 |     const first = await fetch(`${maria.servers.url}/api/v1/reach/asks`, ask);
381 |     expect(first.status).toBe(201);
382 |     expect(await first.json()).toMatchObject({
                                     ^
error: expect(received).toMatchObject(expected)

  {
+   "answeredAt": null,
+   "askedAt": "2026-11-14T18:07:01.412Z",
    "host": "git.benjiverse.invalid",
+   "outcome": null,
    "port": 443,
-   "retries": true,
+   "retries": false,
+   "says": "Asked 2026-11-14T18:07:01.412Z. The host's admin has not answered yet.",
    "state": "asked",
+   "why": "to connect an origin",
  }

- Expected  - 1
+ Received  + 6

      at <anonymous> (test/ask-to-reach.test.ts:382:32)
(fail) ask, allow for that forge, and the connect runs by itself > the ask reaches the host with who, what and why; a repeat is the same ask [8.91ms]

To reproduce:

bun test ./test/ask-to-reach.test.ts
bun test ./test/ask-to-reach.test.ts --rerun-each 10

The full suite ran it in shard 81/3240, 4 files at a time.

commented

Still red in the full suite (check run 01m7dp4w5mj2dsp13bjervc8q0, cb42fc8).

  • the refusal says what stands in the way and offers the one action > the gate refuses a name off its list; the API answers with the sentence and the call that asks the host
  • the refusal says what stands in the way and offers the one action > the page says it in one sentence with one button, and names no key
  • ask, allow for that forge, and the connect runs by itself > the ask reaches the host with who, what and why; a repeat is the same ask
  • ask, allow for that forge, and the connect runs by itself > allowed for that forge: its running gate lets the name through at once, the other forge's does not
  • ask, allow for that forge, and the connect runs by itself > the connect that was refused runs by itself, as the person who tried it
  • ask, allow for that forge, and the connect runs by itself > the forge's row lists what it may also reach; Remove closes it again, at once

the refusal says what stands in the way and offers the one action > the gate refuses a name off its list; the API answers with the sentence and the call that asks the host failed: error: expect(received).toMatch(expected)

265 |       body: JSON.stringify({ host: HOST, token: PAT }),
266 |     });
267 |     expect(res.status).toBe(422);
268 |     const body = (await res.json()) as Record<string, unknown>;
269 |     expect(body["error"]).toBe("unreachable");
270 |     expect(String(body["says"])).toMatch(
                                       ^
error: expect(received).toMatch(expected)

Expected substring or pattern: /^This forge is hosted by .+, which has not allowed it to reach git\.benjiverse\.invalid yet\.$/
Received: "undefined"

      at <anonymous> (test/ask-to-reach.test.ts:270:34)
(fail) the refusal says what stands in the way and offers the one action > the gate refuses a name off its list; the API answers with the sentence and the call that asks the host [18.24ms]

the refusal says what stands in the way and offers the one action > the page says it in one sentence with one button, and names no key failed: error: expect(received).toContain(expected)

301 |       },
302 |       body: new URLSearchParams({ host: HOST, token: PAT }).toString(),
303 |     });
304 |     expect(res.status).toBe(422);
305 |     const page = await res.text();
306 |     expect(page).toContain(`which has not allowed it to reach ${HOST} yet.`);
                       ^
error: expect(received).toContain(expected)

Expected to contain: "which has not allowed it to reach git.benjiverse.invalid yet."
Received: "<!doctype html>\n    <html lang=\"en\" >\n      <head>\n        <meta charset=\"utf-8\" />\n        <meta\n          name=\"viewport\"\n          content=\"width=device-width, initial-scal…

      at <anonymous> (test/ask-to-reach.test.ts:306:18)
(fail) the refusal says what stands in the way and offers the one action > the page says it in one sentence with one button, and names no key [66.09ms]

ask, allow for that forge, and the connect runs by itself > the ask reaches the host with who, what and why; a repeat is the same ask failed: error: expect(received).toMatchObject(expected)

377 |       },
378 |       body: JSON.stringify({ host: HOST, why: "to connect an origin" }),
379 |     };
380 |     const first = await fetch(`${maria.servers.url}/api/v1/reach/asks`, ask);
381 |     expect(first.status).toBe(201);
382 |     expect(await first.json()).toMatchObject({
                                     ^
error: expect(received).toMatchObject(expected)

  {
+   "answeredAt": null,
+   "askedAt": "2026-11-14T18:49:51.111Z",
    "host": "git.benjiverse.invalid",
+   "outcome": null,
    "port": 443,
-   "retries": true,
+   "retries": false,
+   "says": "Asked 2026-11-14T18:49:51.111Z. The host's admin has not answered yet.",
    "state": "asked",
+   "why": "to connect an origin",
  }

- Expected  - 1
+ Received  + 6

      at <anonymous> (test/ask-to-reach.test.ts:382:32)
(fail) ask, allow for that forge, and the connect runs by itself > the ask reaches the host with who, what and why; a repeat is the same ask [193.95ms]

To reproduce:

bun test ./test/ask-to-reach.test.ts
bun test ./test/ask-to-reach.test.ts --rerun-each 10

The full suite ran it in shard 70/3246, 4 files at a time.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs