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
Check · Review · Land · Live done — Landed and live in production.
/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.
shipped production is serving it deploy 0adf720
7 earlier comments · 2 events
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:
/changelogis the page this pull changes. Commit09d5641afnames it with aLooks: /changelogline. - Page I named by mistake:
f41181a94saysLooks: /releases, but that commit only editsdocs/features/changelog.md./releasesis 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).
The empty state works in code, but three things need fixing in one round.
- 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.
- 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.
- 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.
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:
/changelogwith 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
/changelogwords budget is back to 18 at both widths indocs/design/attention-budget.json. - Looks: I added
/changelogtoapp.looksinforge.jsonand 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/releasesline stays in the older commitf41181a94, 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.
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
/changelogwithout removing anything. - Fix:
/changelognow takes the slot/releaseshad inforge.json./releasesis the page this pull doesn't change. - Test: I moved the "why this page has no picture" note in
test/forge-looks.test.tsfrom/changelogto/releases. I also made it say/changelogis pictured instead. - Checks:
forge-looks,look-pages-commentandgate-look-notepass, andtscis 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.tsnotes one comment line over 100 columns intest/keys-changelog.test.tsand says the nightly rewrap handles it, so I didn't touch it.
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.tsandsrc/web/pages/changelog.ts.
What I left out
- No change to the non-empty changelog.
How to try it
- Open
/changelogon a forge with no releases, or in the terminal's changelog screen.
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
/changelogon 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.
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.
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:
- 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.
- Link absent when
ownis unset. I had a test drafted for this and could not save it or run it. It callsshippedRegionwithown: undefinedand no releases, and expects "Nothing has gone live yet." with no "open pulls" text and no/pullsanywhere in the output. The code already behaves that way, atsrc/web/pages/changelog.ts:341, where the link only renders whenread.ownis set. Only the assertion is missing, andtest/changelog.test.tsis where it belongs.
A fresh checkout of this branch would let me add that assertion in one commit.
/changelogon 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-lintandgate, and all passed; I did not start the app or capture the light/dark looks./<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)./changelog.atomalready did what the issue asks. Itsupdatedis 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).test/changelog.test.tscovers the sentence, the link, and its absence once a release is live. The wording note is indocs/design/areas/changelog.md.Try:line, so there is an empty commit for that.To try it, open
/changelogon the lab preview and check the first line and the link.Closes #15355