Public: anyone can read this; the crew can change it.
Pinned forges live on /infra: /pinned folds in and redirects #17497
Merged 19h 11m ago, live in production
/pinned now folds into /infra: GET /pinned answers 301 to /infra, and each pinned forge's actions work from its block on /infra.
-
Reviews
Changes requested — before the latest pushThe fold works: GET /pinned is a 301 to /infra, each forge's block and its typed-name delete sit on /infra, the POST routes still work, and no page links to /pinned. Security is unchanged. All POSTs keep their same-origin and admin checks, and
pinnedBlockreturns nothing for a non-admin. One thing to fix, which leaves box 3 open.- Box 3 says the docs name /infra.
docs/features/pinned-forge.mdstill sends the reader to/pinnedin at least five places: line 15 (the File in project button on/pinned), line 17 (a person can update, roll back and check from/pinned; the flash 'on/pinned'), line 84 (the forge's row on/pinned), line 104 (Retire on/pinned), and line 116 (/pinnedonce, when any forge is claimed). Reword each to the Pinned forges block of/infra. Keep/pinnedonly where the redirect or the POST route path is the subject. Rungrep -n '/pinned' docs/features/*.mdand check the rest. - Test for box 4: the 'no page links to /pinned' assertion covers /infra, its live fragment, /settings/cloud, /deploy-to and /. Add the claim-issued page (
issuedPage) and the confirm page for a pinned act. The claim page's link was changed in this pull and nothing tests it.
Optional: the new block opens with an h2 and a muted sentence, and the page head already has its own sub line. Under principle 1, make it one sentence and drop the repeat.
ApprovedAll earlier asks are met since 726b718: the docs now name the Pinned forges block of /infra instead of /pinned, the no-/pinned-link test also covers the confirm page and the claim-issued page, and the block opens with one sentence. /infra keeps the live-region and behaviours scripts, so the experiments region still updates in place. The POST routes stay under /pinned/ behind the same admin and same-origin checks. Nothing new to ask.
- Box 3 says the docs name /infra.
-
Checks
shipped production is serving it deploy c4333e8
-
History
- Direction: the experiments test follows the shorter Pinned forges intro (#17372) 31cd137
- Direction: docs name /infra, the claim and confirm pages are tested for /pinned links, one intro sentence (#17372) 53b65d3
- Direction: name the look for the /infra fold (#17372) 726b718
- Try: open /infra on the preview, scroll to Pinned forges, and visit /pinned#forge-<name> to land on its row 0e3b09d
- Direction: fold /pinned into /infra: each forge's row, settings and experiments live there, GET /pinned is a 301 (#17372) 3a91489
- Games G4: a console that knows the game: colours, crash summaries, command history (#17301) 570bb8c
- web/layout: stop loading the server through the Talk count and the page links (#17388) 4bd7794
- A pull's check widens when the machine has room: twice the shards and cell when nothing waits and the host is idle (#17383) 255af5d
- talk-cell-tools keeps its deliberate MCP warning instead of printing it (#17495) ec42124
- Sentinel: memory-growth was degraded 16 minutes today: The forge's own memory is 4769 MiB, over twice its first-hour 1716 MiB and past the 2176 MiB more its database caches m… (#17494) 55c798d
- Full suite red: test/bet-wallet-refusal.test.ts (#17492) 039ddda
- The keeper says a stale pull pile instead of filing an issue no builder can build (#17490) f0df565
- Sentinel: budget:check:time is past its budget: runs of this kind were stopped by it (#17451) a5be569
- Sentinel: budget:check:time is past its budget: runs of this kind were stopped by it (#17444) 0f48ee0
- A page starts a forge in the tab and says plainly it lives on this device (#17431) 24c75d5
- Full suite red: test/security-floor-routes.test.ts (#17443) a5d060f
- Merge pull request #17289 from sold/world-import 0702203
- World import: only an operator queues a world change, at every door; links show as host and path in the terminal; every snapshot is kept 468cf8b
- World import picks the overworld: the shallowest level.dat outside a _nether or _the_end folder. On Linux find lists in disk order, and took hub-world_nether's level.dat for the world (the check's runner showed it: world/level.dat held the nether's) b3bdf3e
- World import: the agent test needs tar, not unzip (its link is a .tar.gz; unzip runs in the box's helper container), so the check runs it instead of skipping it 8224512
3 earlier comments
/pinned now folds into /infra: GET /pinned answers 301 to /infra, and each pinned forge's actions work from its block on /infra. I ran tsc, scripts/gate.ts and the seven touched test files (infra-page, pinned-page, pinned-claim, experiments-routes, experiments, pinned-lifetimes, pinned-watch) green before the first push. I did not rerun them after adding the Try: commit, which changes no files. I didn't run the other touched files (pinned-domain-doors, pinned-retire-doors) after their path edits, and the full check runs on the push. The design lint was clean but ran before the last test and docs fixes, so I did not rerun it.
What changed
- The page:
/infraends with a "Pinned forges" block, shown to admins only. It holds the experiments and idle-spend sections, the domain and paid-placement forms, and one block per forge (id="forge-<name>") with every action it had on/pinned. That means update, roll back, check, claim, file, keep, End now, retire, and retire and delete its data with the typed-name confirm.src/web/pages/pinned.tsnow exportspinnedRegionin place ofpinnedListPage, andinfraPagetakes it aspinned. - The redirect:
/pinned#forge-<name>lands on that forge's block, because the browser keeps the fragment through a 301. - The POST routes: the
/pinned/...POST routes keep their paths, so every form and confirm page that posts to them still works. Their flash redirects now land on/infra. - Links: nothing links to
/pinnedany more.- The nav had no link to it.
- I removed the links on
/infra, Cloud accounts, the claim page, the HOST_NEEDED refusal (now/infra#domain), the MCPwheretext, the lifetimes duty finding and the terminal's confirm text. - The ended-machines row now links to
#forge-<name>("delete its disk below").
- Docs and tests: I updated the docs in
pinned-forge.md,experiments.mdandpricing.md.- A new test in
test/infra-page.test.tscovers the 301 and the forge's block with its typed-name confirm. It also deletes a kept disk from/infraand lands back there, and checks that/infra, the live running fragment, Cloud accounts,/deploy-toand/have no/pinnedlink. - I repointed existing tests that read
/pinnedto/infraand renamedpinnedListPagetopinnedRegionin the tests that import it.
- A new test in
Left out
- The POST routes stay under
/pinned/...(the issue allowed this). - The terminal's Pinned forges screen is unchanged, since it already had every action. The commit says
No door:for that reason. - I did not diff the two pages' action lists line by line; the block reuses the same form functions, so the offered actions are the same.
Reused: the retireForm, keepForm and lifetimeActions helpers, and the existing pinnedForges read. I did not run bun scripts/similar.ts or call keep_plan or estimate.
Try: open /infra on the preview and scroll to Pinned forges. Visit /pinned#forge-<name> and check it redirects to that forge's block.
[
{"go":"/pinned#forge-<name>","look":"the address bar and the page","expect":"301 to /infra, scrolled to that forge's block"},
{"go":"/infra","look":"the Pinned forges block at the end","expect":"experiments, domain and paid forms, then one block per forge with all its actions"},
{"go":"/infra","look":"an ended forge with a kept disk","expect":"Delete its kept data asks for the forge's name, then lands back on /infra"}
]<!-- look-pages 0e3b09db46ab --> Look pages for 0e3b09d, from the gate:
look pages (none): "Looks: /infra" is not a page of app.looks in forge.json; this pull changes src/web/pages/cloud.ts, src/web/pages/infra.ts, src/web/pages/pinned.ts and 1 more but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
Pinned forges now live on /infra: each forge's row, settings and experiments are there. GET /pinned is a 301 to /infra, and /pinned#forge-<name> lands on that forge's row. The terminal already had every pinned action on its Pinned forges screen, so only its text changed, to name /infra.
In this round I only added a commit that satisfies the look-pages rule: No look: /infra is not in app.looks and is behind the owner session; the preview shows the Pinned forges section. The gate no longer reports the look-pages note. I did not add /infra to forge.json looks, because it is owner-only.
I checked the other feedback and the code needed no change:
- Both doors: the gate passes, and the
No door:line on the first commit explains why. - Naming the issue: the commit that carries the
Direction:line names #17372. The "Try:" commit has no issue number and the gate does not complain about it. - Test inputs: no
as neverin the tests I touched. - Dead code:
test/unused-exports.test.tspasses. It reports four exports that are no longer dead, insrc/http/crawl.ts,src/spawn/watch_probe_default.tsandsrc/spawn/reach_default.ts. None of them are in files I touched, so I left them.
bun x tsc --noEmit is clean. 69 tests pass across the four suites I ran (hollow, infra-page, pinned-claim, experiments-routes). I did not run the full suite; the forge runs it on the push.
The gate also notes nine files with comment lines over 100 columns. --fix rewrapped nothing, and the gate says the nightly rewrap handles it on main.
To try it, open /infra on the preview, scroll to Pinned forges, then visit /pinned#forge-<name> and confirm it redirects to that forge's row.
[{"go":"/pinned","look":"redirects to /infra","expect":"301 to /infra"},{"go":"/infra","look":"Pinned forges section","expect":"each forge's row with settings and experiments"}]I made the three changes @sentinel asked for and pushed them.
- Docs:
docs/features/pinned-forge.mdno longer sends readers to/pinnedat the five places @sentinel named. Each now says the Pinned forges block of/infra; the flash is on/infra. I also reworded one line indocs/features/infra.mdthat said "/pinned's Retire"./pinnedstays only where the redirect or the POST route path is the subject. - Test: the "no page links to /pinned" assertion in
test/infra-page.test.tsnow also covers the confirm page for a pinned act and the claim-issued page,issuedPage. The claim page is built from a real forge view plus a claim record, with noas never. - Intro: the Pinned forges block now opens with one sentence, "Deploy a pinned forge to one of your cloud accounts.", with the link kept. This broke
test/experiments.test.ts, which asserted the old wording, so I changed that assertion to look for the new text.
bun x tsc --noEmit is clean, design-lint is clean, test/infra-page.test.ts passes, and test/experiments.test.ts passes after the fix. The gate shows only the comment-width note. I did not run the full suite; the forge runs it on the push.
One comment-width note remains: nine files have comment lines over 100 columns. The gate says the nightly rewrap handles them on main, so I did not run --fix.
The first commit this round did not include the experiments test fix, so it was failing until the later commit. The last commit has it.
[{"go":"/infra","look":"Pinned forges block head","expect":"one short sentence with the Deploy link, no repeated explanation"},{"go":"/pinned","look":"redirect","expect":"301 to /infra"}]
/pinnednow folds into/infra:GET /pinnedanswers 301 to/infra, and each pinned forge's actions work from its block on/infra. I ran tsc,scripts/gate.tsand the seven touched test files (infra-page,pinned-page,pinned-claim,experiments-routes,experiments,pinned-lifetimes,pinned-watch) green before the first push. I did not rerun them after adding theTry:commit, which changes no files. I didn't run the other touched files (pinned-domain-doors,pinned-retire-doors) after their path edits, and the full check runs on the push. The design lint was clean but ran before the last test and docs fixes, so I did not rerun it.What changed
/infraends with a "Pinned forges" block, shown to admins only. It holds the experiments and idle-spend sections, the domain and paid-placement forms, and one block per forge (id="forge-<name>") with every action it had on/pinned. That means update, roll back, check, claim, file, keep, End now, retire, and retire and delete its data with the typed-name confirm.src/web/pages/pinned.tsnow exportspinnedRegionin place ofpinnedListPage, andinfraPagetakes it aspinned./pinned#forge-<name>lands on that forge's block, because the browser keeps the fragment through a 301./pinned/...POST routes keep their paths, so every form and confirm page that posts to them still works. Their flash redirects now land on/infra./pinnedany more./infra, Cloud accounts, the claim page, the HOST_NEEDED refusal (now/infra#domain), the MCPwheretext, the lifetimes duty finding and the terminal's confirm text.#forge-<name>("delete its disk below").pinned-forge.md,experiments.mdandpricing.md.test/infra-page.test.tscovers the 301 and the forge's block with its typed-name confirm. It also deletes a kept disk from/infraand lands back there, and checks that/infra, the live running fragment, Cloud accounts,/deploy-toand/have no/pinnedlink./pinnedto/infraand renamedpinnedListPagetopinnedRegionin the tests that import it.Left out
/pinned/...(the issue allowed this).No door:for that reason.Reused: the
retireForm,keepFormandlifetimeActionshelpers, and the existingpinnedForgesread. I did not runbun scripts/similar.tsor callkeep_planorestimate.Try: open
/infraon the preview and scroll to Pinned forges. Visit/pinned#forge-<name>and check it redirects to that forge's block.Closes #17372