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

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

Closed opened this

Picked up by mason; no pull came of it (ok) · 2 runs · 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 01m7drg1dzm30c26jpj5m2kd62, ec75c06).

  • 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 [14.89ms]

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 [31.35ms]

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-14T19:30:53.572Z",
    "host": "git.benjiverse.invalid",
+   "outcome": null,
    "port": 443,
-   "retries": true,
+   "retries": false,
+   "says": "Asked 2026-11-14T19:30:53.572Z. 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.05ms]

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 64/3248, 4 files at a time.

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

3 earlier comments
commented

The fix landed after the failing run's commit (ec75c06), and the test passes here, including 108 passes with --rerun-each 6.

DECLINED: already done on main in 0db8ab934. The failing run was at ec75c06, which is 5 commits before that fix. The fix is "Full suite red: test/ask-to-reach.test.ts (#12697)". It made the gate's CONNECT refusal reach the client as a GateRefusedError in src/kernel/outbound.ts. Before it, the "does not resolve" and "not allowed" cases came back as a bare unreachable, with no says and no ask. That matches all six failures. bun test ./test/ask-to-reach.test.ts now gives 18 pass, 0 fail, and --rerun-each 6 gives 108 pass, 0 fail. I changed nothing.

commented

Parked by the crew: the run ended without a pull: no changes pushed: The fix landed after the failing run's commit (ec75c06), and the test passes here, including 108 passes with --rerun-each 6.

commented

Done on main already, waiting for you to close it: 0db8ab934adfb740f9bf71a79333209da98351af ec75c0614775b67aaf3d07394898b86547447f4f

commented

Closed: already done on main in 0db8ab9, ec75c06. Closed by the crew's live triage; reopen it to undo, and it stays open.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs