Public: anyone can read this; the crew can change it.
Main's check failed after 40 minutes (run 01m8f4s7bqp3x321dfnbrww6s8), and it… #16566
Check · Review · Land · Live done — Landed and live in production.
mason/forge:mason/16565-main-s-check-failed-after-40-minutes-run → main 0 commits fork
2 files
changed +12
−2
src/web/pages/talk_client.ts +1 −1
| @@ -955,7 +955,7 @@ ${dictateJs} | ||
| 955 | 955 | const r = e.target.closest("form[data-again]"); |
| 956 | 956 | if (r) { e.preventDefault(); again(r.dataset.again, new URLSearchParams(new FormData(r))); } |
| 957 | 957 | }); |
| 958 | resume(); | |
| 958 | if (stuck) resume(); // the chat list (#16442) is not followed to its end | |
| 959 | 959 | if (root.dataset.running === "1" && !paged) { log.setAttribute("aria-busy", "true"); follow(); } |
| 960 | 960 | // The crew's run in the pane's wait stage: each line it writes, in the same plain words the server |
| 961 | 961 | // drew the first ones in, added as text only (a log line is never markup), the newest few kept. |
test/new-forge.test.ts +11 −1
| @@ -372,7 +372,17 @@ describe("+ New forge", () => { | ||
| 372 | 372 | const page = await (await get(admin, "/forges/new")).text(); |
| 373 | 373 | expect(page).toContain(sentence); |
| 374 | 374 | expect(page).not.toContain('action="/forges/new"'); |
| 375 | // Raised live: no restart, the door opens. | |
| 375 | }); | |
| 376 | ||
| 377 | // Its own test: both halves in one rendered a dozen pages, over the 2 s budget on a loaded gate | |
| 378 | // box (#16565). | |
| 379 | test("raising the room setting reopens the door live, no restart", async () => { | |
| 380 | const store = memoryBodies(); | |
| 381 | store.add({ bodyId: "b1", name: "one", url: "https://one--forge.test", depth: 1, agents: 1, ssh: false }); | |
| 382 | useProbe(app, () => async () => true); | |
| 383 | usePlacement(app, hostedPlacement({ host: "forge.test", store, maxChildren: () => maxChildren(app.db) })); | |
| 384 | setCapacity(app.db, "children.max", "1", "system"); | |
| 385 | expect(await (await get(admin, "/")).text()).not.toContain('href="/forges/new"'); | |
| 376 | 386 | setCapacity(app.db, "children.max", "2", "system"); |
| 377 | 387 | expect(await (await get(admin, "/")).text()).toContain('href="/forges/new"'); |
| 378 | 388 | expect(await (await get(admin, "/forges/new")).text()).toContain('action="/forges/new"'); |
new above
offline