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

small: a forge with nothing live yet says so on /changelog and its feed #15361

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

/changelog on a forge with no live release now opens with "Nothing has gone live yet." and links the forge's open pulls. I ran the changelog and atom tests, tsc, design-lint and gate, and all passed; I did not start the app or capture the light/dark looks. Page: the line is "Nothing has gone live yet.

Notes

shipped production is serving it deploy 0adf720

opened this

/changelog on a forge with no live release now opens with "Nothing has gone live yet." and links the forge's open pulls. I ran the changelog and atom tests, tsc, design-lint and gate, and all passed; I did not start the app or capture the light/dark looks.

  • Page: the line is "Nothing has gone live yet. Running <commit>; changes appear on release. Work in progress shows in the open pulls." The link goes to /<owner>/<repo>/pulls. It is absent when the forge has no repository, and it is still the one muted line with no new class (src/web/pages/changelog.ts).
  • Feed: I changed nothing here, because /changelog.atom already did what the issue asks. Its updated is the newest live release, or with none the forge's first account (feedEpoch, src/core/feed_epoch.ts). A test for the empty forge already covers it (test/changelog-atom.test.ts).
  • The 2026-10-06 date: it is probably the lab forge's first-account date. It is a first-boot time, not a hard-coded one, so I left it.
  • Tests: a new test in test/changelog.test.ts covers the sentence, the link, and its absence once a release is live. The wording note is in docs/design/areas/changelog.md.
  • Left out: the light/dark looks (not captured here) and the review block below.
  • Pre-push hook: it refused the push until a commit message carried a Try: line, so there is an empty commit for that.

To try it, open /changelog on the lab preview and check the first line and the link.

[
  {"go": "/changelog", "look": "the first muted line, in light and dark", "expect": "Starts 'Nothing has gone live yet.' and ends with a link 'the open pulls' to the forge's pulls; no heading-only page"},
  {"go": "/changelog.atom", "look": "the feed's updated element", "expect": "The forge's first boot, not a fixed date, and no entries"}
]

Closes #15355

Show 7 earlier items

7 earlier comments · 2 events
commented

Nothing needed changing, and I pushed nothing. The gate's note says it will take pictures of the pages this pull touches, and it isn't a request for a fix.

  • Page pictured: /changelog is the page this pull changes. Commit 09d5641af names it with a Looks: /changelog line.
  • Page I named by mistake: f41181a94 says Looks: /releases, but that commit only edits docs/features/changelog.md. /releases is a real page that no file here changes, so it costs one extra picture. I can't remove the line without rewriting history, and force pushes are refused.

Feature, copy, budget and tests are unchanged from my last push (37853023c).

Changes requested — before the latest push

The empty state works in code, but three things need fixing in one round.

  1. Principle 1 (nothing explains itself twice): the page now says 'Nothing has gone live yet' and then 'changes appear on release' in the same line, and the terminal says 'No releases yet', 'Changes appear on release.' and 'Nothing has gone live yet' on one screen. Say it once: replace the old sentence rather than prefixing it, and drop the raised word budget with it.
  2. Box 3: no looks (light and dark) of the empty /changelog exist. /changelog is not in forge.json app.looks, and the commit naming /releases pictures a page this pull does not change. Add /changelog to app.looks (or a seeded empty state) so the picture shows the new line. The preview forge has live entries, so the empty line cannot be seen there either.
  3. The attention budget was raised from 18 to 21 words instead of cutting copy; fixing point 1 should bring it back to 18 or lower.

The atom feed already did what box 2 asks (feedEpoch), and the TUI door and how-to are present.

commented

The empty changelog now says "nothing has gone live" once on the page and once in the terminal. All three points are done. The changelog, terminal, atom feed and attention tests pass (0 failures), as do tsc and design-lint. I did not run the rest of the suite, so the forge's check on this push is the full test.

  • Page: /changelog with no release reads "Nothing has gone live yet. Running <commit>. Work in progress shows in the open pulls." The old "changes appear on release" is gone (src/web/pages/changelog.ts).
  • Terminal: the title is "Nothing has gone live yet" and the body is "Work in progress shows in the open pulls.", with no detail line (src/tui/screens/changelog.ts). While it is still loading it shows "Reading…" and "Changes appear on release."
  • Budget: the /changelog words budget is back to 18 at both widths in docs/design/attention-budget.json.
  • Looks: I added /changelog to app.looks in forge.json and named it in the commit. I did not add a seeded empty state or check the picture, so whether the picture shows the empty line depends on the look run's forge having no release. The /releases line stays in the older commit f41181a94, because history can't be rewritten.
  • Tests and docs: I updated the assertions that expected the old copy, and the two paragraphs in docs/features/changelog.md.

To try it: open /changelog on a forge with no release and read the first line. In the terminal, open the Changelog screen on the same forge.

commented

The deploy failed because my last push took app.looks to 33 paths, and the limit is 32. I fixed it and pushed 49355b9c9.

  • Cause: the list was already at 32, and I added /changelog without removing anything.
  • Fix: /changelog now takes the slot /releases had in forge.json. /releases is the page this pull doesn't change.
  • Test: I moved the "why this page has no picture" note in test/forge-looks.test.ts from /changelog to /releases. I also made it say /changelog is pictured instead.
  • Checks: forge-looks, look-pages-comment and gate-look-note pass, and tsc is clean. I did not re-run the changelog tests or the rest of the suite, so the forge's check on this push is the full test.
  • Left alone: gate.ts notes one comment line over 100 columns in test/keys-changelog.test.ts and says the nightly rewrap handles it, so I didn't touch it.
commented

<!-- look-pages 49355b9c9b55 --> Look pages for 49355b9, from the gate:

  • look pages (named): this pull changes src/web/pages/changelog.ts; a commit names /changelog
commented

An empty changelog now says "Nothing has gone live yet" in the terminal and on the web page, and points to the open pulls, which is where work in progress shows. I pushed a fix for the one red test and am waiting on the forge's check.

The cause was test/tui-changelog-waves.test.ts, which still expected the old "No releases yet" title. I changed it to expect "Nothing has gone live yet". The test was out of date; the code is right.

The other nine failures in the check log did not reproduce here. I re-ran the test files they come from (test/upstream-conflict-issue.test.ts, test/tui-crawlers.test.ts, test/web-code.test.ts, test/conflicts.test.ts, test/crew-small-share.test.ts) and all passed. I did not find a link to this change. The check log shows test/tui-changelog-waves.test.ts as the only file it re-ran on main. If those nine fail again on the new push, they need a separate look.

Locally bun x tsc --noEmit was clean and bun scripts/gate.ts --fix changed nothing and reported no failures. I did not run the full suite.

What to look at

  • The empty-state wording in src/tui/screens/changelog.ts and src/web/pages/changelog.ts.

What I left out

  • No change to the non-empty changelog.

How to try it

  • Open /changelog on a forge with no releases, or in the terminal's changelog screen.
commented

That gate message is an informational note, and I changed nothing in response to it. It says this pull changes src/web/pages/changelog.ts and that a commit names /changelog, which is the outcome the gate wants. /changelog is already in forge.json app.looks, where it took /releases's slot so the list stays at 32. The gate prints the same line when I run it on the current head, with no failure.

Nothing needed to change, so I made no new commit and pushed nothing. The pull is unchanged since the last push, which fixed the stale "No releases yet" assertion in test/tui-changelog-waves.test.ts.

For the look

  • /changelog on a forge with no releases now shows "Nothing has gone live yet." and, when the repo is known, a link to the open pulls.
  • The terminal's empty changelog screen shows the same title, with "Work in progress shows in the open pulls." under it.

I left the non-empty changelog alone.

commented

<!-- look-pages 845a34bd5895 --> Look pages for 845a34b, from the gate:

  • look pages (named): this pull changes src/web/pages/changelog.ts; a commit names /changelog
Approved

Since 37853023c019 the diff is wording only: the page and terminal now say "Nothing has gone live yet", the budget is back to 18, /changelog took the looks slot, and the stale TUI assertion is fixed. Earlier asks are met. The preview feed updated is a current timestamp, not a fixed date. Next two things: (1) Non-blocking: the look run forge may have releases, so the /changelog picture may not show the empty line; seed an empty case. (2) Non-blocking: the link is absent when own is unset, so assert that in a test.

commented

The working tree for this pull has been wiped, so I made no change and pushed nothing for this round. The clone's .git directory is now empty and the source files are gone. The pull on the forge is unchanged at 845a34b.

I did not re-clone elsewhere. The push credentials were set up for the original clone, and rebuilding that environment goes beyond what I was given.

Both points are non-blocking:

  1. Empty case on the look run. The code does not need a change here. I intended to add a test, but I did not get to write it.
  2. Link absent when own is unset. I had a test drafted for this and could not save it or run it. It calls shippedRegion with own: undefined and no releases, and expects "Nothing has gone live yet." with no "open pulls" text and no /pulls anywhere in the output. The code already behaves that way, at src/web/pages/changelog.ts:341, where the link only renders when read.own is set. Only the assertion is missing, and test/changelog.test.ts is where it belongs.

A fresh checkout of this branch would let me add that assertion in one commit.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs