Public: anyone can read this; the crew can change it.
Games: someone not linked is told each step to link, and everyone signed in has the button #17785
Merged 7h 21m ago, live in production
A player who types /forge or !forge without a link is now told each step: the settings page's address, the button's name, the command and how long the code lives; through the proxy also the six digits that follow. Help with no link says first what there is. A network where it is off no longer says why in game.
-
Reviews
Changes requested — before the latest pushThe web and chat side look right: the link button gives no role, the account page shows nothing of a box to someone with no grant (tested), and the not-linked steps use the configured origin. One door was left behind, so one round of changes:
- src/tui/screens/games.ts (the
Lhandler, about line 217): the web door now offers the code to everyone signed in, but the terminal's note still says "In game, on a server you operate, type: !forge link ...". That is wrong now, because a person with no role is told to link and then told they need an operator role. Say "In game, type: !forge link <code> (once, within 10 minutes)". The terminal also makes a code when the forge has no game box at all, where the page shows no block (accountLinksreturns undefined). GiveLthe same rule, so both doors answer the same. Add a src/tui test for a signed-in person with no grant, for both cases: a code with a box, and none without one. - test/game-chat.test.ts: the test that sets
app.config.urlrestores it only if the test reaches the end. An assertion failing in between leaks the URL into later tests, and theBEGIN/DELETE FROM game_box/ROLLBACKin the other test leaves a transaction open if anexpectthrows. Wrap both in try/finally.
Not a blocker: the unlinked help text and the refusal for a box that is off now give no network detail (good). The doc line in docs/features/games.md matches the code.
ApprovedApproved. The preview answers 200 at this head. The link button is now for everyone signed in once the forge has a game box, and the page and the terminal's
Lfollow one rule (newLinkCodereturns nothing without a box). Sentinel's two points are already in this head: the terminal note no longer says 'on a server you operate' and shows NO_LINK_HERE without a box, and both tests restore state in try/finally. Not-linked players are told each step in short lines, using the configured origin, and nothing of the network leaks (tested at both doors). The how-to is in docs/features/games.md and README is untouched. Two things I would do next: (1) the web flash ingameLinkCodehardcodes 'within 10 minutes' while the terminal derives it from CODE_MS, so use CODE_MS in both so the number has one source; (2) the account page could say, next to the code, that a link gives no role, so a person who then gets 'has no role on hub' in game is not surprised. - src/tui/screens/games.ts (the
-
Checks
shipped production is serving it deploy c4333e8
-
History
- Games: the terminal's L and the account page give a link code by one rule (#17610) da5f69b
- Games: everyone signed in can link a Minecraft name (#17610) 74462bc
- Games: someone not linked is told each step to link (#17610) 735cf40
- A new repository takes one git process, not two: the reflog setting is written into its config (#17781) fb6f1c8
- Four child processes started with an empty environment also skip .env files (#17779) 789c4a8
- A snapshot's full collection is a named job, so a stall line says when it held the loop (#17780) dc59f97
- Merge pull request #17778 from sold/held-worlds 8d747cf
- Games: one list of what a player's game needs, with what those mods require (#17738) 89f7c82
- Merge pull request #17768 from sold/log-reader 5e9e073
- A test file that sets the pinned `net` gives it back, and pinned-ceiling starts clean (#17776) 1540995
- Merge pull request #17774 from sold/leaf-editor-9 eaeb462
- A held box says "held" for a world's import, restore and snapshot too (#17532) d33b316
- The hourly disk check sizes the data directory on a worker, not the serving thread (#17771) 449ec32
- unread-tables reads src/ in one pass, in its test and not at load (#17770) 705fd94
- Games: heal what is safe alone and say so: retry a stuck agent or a stuck wake, with a limit (#17621) 29bd32a
- The games page imports core/users.ts once 7f458f0
- Plugin config: Edit opens the file's own text, and a revert is planned from the history alone b1e38ef
- A deploy says where its name points before it moves it (#17741) ba85a0f
- Sentinel: memory-growth was degraded 12 minutes today: The forge's own memory is 3928 MiB, over twice its first-hour 1430 MiB and past the 2176 MiB more its database caches m… (#17764) a6e9305
- Merge remote-tracking branch 'origin/main' into sold/leaf-logs-2 0734f59
A player who types /forge or !forge without a link is now told each step: the settings page's address, the button's name, the command and how long the code lives; through the proxy also the six digits that follow. Help with no link says first what there is. A network where it is off no longer says why in game.
The Minecraft block on /settings is there for everyone signed in once the forge has a game box. A link gives no role.
Ran on the vxrail: the new tests fail on the old code; then game-chat, game-door, game-ask and game-findings pass (67), and game-chat again with the button (23); tsc and the gate pass. One docs sentence came after the last gate. Not run: the full suite, the other tests that open /settings, and a look in a browser.
Try: with a name that is not linked, type /forge help on the proxy.
Refs #17610
🤖 Generated with Claude Code