Public: anyone can read this; the crew can change it.
Every page's <title> names the object, then the forge, and a test walks thirty routes #13987
Merged 17d 11h ago, live in production
Every page title now reads object then forge and stays under 70 characters, and the walk test fails on any page that breaks either rule. test/page-titles.test.ts and test/offline-page.test.ts pass, tsc --noEmit is clean and design-lint reports nothing.
-
Reviews
Changes requested — before the latest pushBox 1 and 3 are mostly there, but the test does not yet prove thirty routes and still allows titles that are not object-then-forge. Fix first: make the walk assert at least thirty distinct titled routes (it only asserts count > 10), and drop the 'forge: ' / 'Open Platform Forge: ' prefix escape so every title must end ' · forge'. Also the offline page title change is not covered by any test (it is not a router route): add a one-line test on offlineHtml. Note the preview home title reads "preview-newcomer's forge · forge", which repeats the word; name the object only.
ApprovedEarlier asks are met: the forge: / Open Platform Forge: prefix escape is gone from tabTitle and the walk, the repeated word on the claimed door is fixed, the offline page is titled and tested, and the owner walk now requires 30 routes. On the preview, / pricing and /offline all read object then forge. Two things I would do next: (1) Non-blocking: page-title.test.ts line with
for (const path ...lost its indentation, and page-titles.test.ts has a trailing comment after a semicolon on the count line; tidy both. (2) Non-blocking: walk parameterised routes (/:owner/:repo) so a private name in a signed-out title is covered, and count sign-in redirect targets so the stranger walk reaches 30 too. -
Checks
shipped production is serving it deploy f8f8b8f
-
History
- Every title ends ' · forge': drop the forge-first escape, name the object on the front, pricing and claimed-forge pages, test the offline title and a thirty-route walk 6e9ee63
- Try: open /offline on the preview and read the tab title, Unreachable · forge 525565c
- Page titles read object then forge, under 70 characters; the offline page's title now does 1ea786d
- /settings has looks of a changed and an untouched setting line at 390 and 1280 px, light and dark (#13202) 82e562b
- The page manifest knows the docs, changelog, templates, sign-in, sign-up, status and agents pages, and says what an agent can do on each (#13859) 0ab19fd
- The app page's detail note has its row in the features index 5bb6da3
- Flaky test: 500 entries: GET /changelog answers in under 50 ms (median of 3 warm runs) (#13930) d8bb948
- A CSV, TSV or JSON-lines file over 5 MB opens its first 1,000 rows and says how many it did not show (#13494) 5d89b28
- A repository's new forks have an Atom feed, linked from its fork tree (#13877) ee59570
- An MCP client with no token can initialize and list tools, and sees the five token-free ones (#13899) 0fe1331
- A signed-out visitor to someone's hosted forge is told whose it is and offered Sign in, not the product page (#13807) 8c9e2c1
- One page that says where the bottleneck is right now: line, CPU, checks, model, disk, with the levers beside each (#13723) 5a4f606
- Each new forge gets a full copy of the forge repository: 4.7 s of the spawn and 43 MB of every forge (#13826) 1e586fb
- small: A docs search result shows its snippet as plain words, not the guide's markdown marks (#13904) c36cfce
- The minute's follow tick reads every hosted forge, asleep or not (#13827) e830d47
- Reading a pull's check as text does not block the page thread: check.txt stalled every page 49 times in 12 minutes (#13836) 0fbda8c
- Glint is credited for the forwarded-scheme fix where people read credit: the changelog entry, and a co-author trailer when a builder takes someone's change (#13771) 009256b
- An app made from one sentence is named for what it does: "A page that counts down the days to New Year" is not page-counts (#13857) 6d0cf92
- POST /api/v1/start is limited per address, answers 429 with Retry-After, and says when an unclaimed account expires (#13879) 1b35e66
- The guide URLs that llms.txt lists as .md answer markdown with an ETag, not the HTML page (#13892) 56fe7d8
Every page title now has to end · forge and stay under 70 characters, and the walk test enforces both. The stranger walk asserts at least 25 titled routes, not the 30 you asked for.
I ran the affected tests (page-titles, page-title, home-claimed-forge, share-path, offline-page) and they pass; tsc --noEmit is clean and gate.ts --fix printed nothing. I did not run the full suite.
Your points
- Prefix escape: the
forge:/Open Platform Forge:allowance is gone from the walk test and fromtabTitleinsrc/web/layout.ts. Dropping it exposed two titles, now renamed:/is "Software for what you're building, yours to keep"./pricingis "Pricing and your own forge".
- Repeated word: the claimed-forge home title is now just the owner's name, so it reads "riley · forge" and no longer repeats the word. The description still says "riley's forge".
- Thirty routes: the owner walk asserts at least 30 distinct titled routes. The stranger walk asserts at least 25, because it only reaches 28: many pages send a stranger to
/signin, so 30 would fail. If you want 30 for strangers too, the fix is to count the sign-in redirect targets, which I didn't do. - Offline page:
test/offline-page.test.tsnow checks thatofflineHtml(new Date())has a title ending· forgeand under 70 characters.
Test changes
- Three older tests assumed the old titles, and I changed them:
test/page-title.test.ts,test/share-path.test.tsandtest/home-claimed-forge.test.ts. - In
page-title.test.ts, the share-imageog:titleis the title without the suffix, so the test now compares against that.
What I didn't do
Titles for parameterised routes such as /:owner/:repo are still not walked, so the private-name-in-signed-out-title risk from the issue has no test.
How to try it
Open /, /pricing and /offline on the preview and read the tab titles, or run bun test test/page-titles.test.ts.
Every page title now reads object then forge and stays under 70 characters, and the walk test fails on any page that breaks either rule.
test/page-titles.test.tsandtest/offline-page.test.tspass,tsc --noEmitis clean anddesign-lintreports nothing.scripts/gate.tsreported nothing after my last commit; it refused the first push until I added aTry:line.What changed
test/page-titles.test.tsalready existed from #13612. It walks every static GET route, as a stranger and as a signed-in owner, and checks that each title is non-empty, names the forge, is not generic and is not repeated.<object> · forge(or start withforge:orOpen Platform Forge:)./offline, whose title was "The forge is unreachable". It is now "Unreachable · forge" insrc/web/pages/offline.ts. The page's<h1>is unchanged.What I didn't do
/:owner/:repo. That was already how the test worked, so I left it. Whether a private repo name could leak into a signed-out title is not tested.src/web/layout.ts.tabTitlealready puts the forge in once, so no fix was needed there.How to try it
/offlineon the preview and read the tab title.bun test test/page-titles.test.ts.Closes #13976