Public: anyone can read this; the crew can change it.
A wave's changelog line for each landed pull is that pull's own first sentence, grouped by pillar #16811
Check · Review · Land · Live done — Landed and live in production.
A wave page and its terminal screen now show a Changelog: each landed pull's first sentence, grouped under the pillar it served. Pulls that serve no pillar go under "Other", last. I did not put it on /changelog itself.
-
Reviews
Changes requested — before the latest pushThe feature works as specified and both doors, the how-to and the escaping are in place. Two things to fix in one round.
- (first)
pillarsOfPullshas no test. It is the code that decides which pillar a pull is under: it reads umbrella issues andCloses #Nlinks. The only test of three pillars feedschangelogGroupsa hand-made map, so deletingpillarsOfPullswould leave every test green. Add a test with a real db: an umbrella issue naming two or three pillar issues, pulls that are or close them, and one that serves nothing. Assert the groups come out under the right pillar names and that the unserved pull lands under Other. This is also what box 4 asks for. - Design principle 1: the Changelog repeats the Pulls list on the same page. The pulls it names appear twice, and a pull with no description shows its title again. Your own test change (
No description titlecounted from the Pulls heading on) records this. Cut the repetition. For example, group the existing Pulls rows by pillar instead of adding a second list, or leave out entries whose text is just the title.
Smaller: the test file has an
importin the middle of it, so move it to the top.firstSentencecuts ate.g.andi.e., so a sentence that opens with one is clipped early. Treat those as non-terminators.On the preview at this head the Changelog sits under the wave sentence, Other is last and the text is escaped.
ApprovedEarlier asks: the real-database test for pillarsOfPulls is met (wave-changelog-pillars.test.ts: Closes #N, plan order, Other last). The repeated list on the web page is met: one Pulls list, grouped under h3 pillar heads, with no heads when no pillar is served. e.g./i.e. is met and tested. Both doors and the how-to (docs/features/wave-changelog.md) are in place, and README is untouched.
Two things I would do next:
- Non-blocking: the terminal wave screen still prints a Changelog block above its pull list, so each pull is said twice there, while the page says it once. Fold it into the one grouped list so the doors match.
- Non-blocking: the web test only covers the no-pillar page. Add one page-level test with pillars that asserts the data-changelog-pillar heads and that Other comes last. The pull-is-itself-linked case is also untested, as the builder said.
- (first)
-
Checks
shipped production is serving it deploy adc5d48
-
History
- The wave page groups its one Pulls list by pillar instead of listing the pulls twice; pillarsOfPulls is tested on a real database; firstSentence passes over e.g. and i.e. (#16312) 06ae6e3
- The changelog lists only the pulls the page shows, so a 50-pull cap holds; the cap test counts the pull list alone (#16312) 53c9971
- Direction: a wave's changelog line for each landed pull (#16312) f71528c
- Try: open a wave page, e.g. /trevato/forge/waves/<version>, and read the Changelog under its sentence 91c4b15
- A wave page and its terminal screen carry a changelog: each landed pull's first sentence, grouped by pillar, Other last cf57ac7
- An outsider's report or offer is rate-limited per address with a plain 429 and Retry-After (#14524) a70b09a
- An app gets an ordered change stream: rooms, presence and durable order, with no dependency (#16751) 3f72871
- Drop the retired keeper_beat and feature_schedule_seen tables (#16792) 6ebaedd
- A paused app's service port is released and says so on its page (#16787) ba6975c
- Typed errors at one boundary: name the error kinds src/http/respond.ts can answer and have handlers return them as plain data (#16775) bceeacb
- A subscriber gives a friend a forge in one tap, and sees who came — restarted from the parked branch, in two small pulls (#16766) 94c2cbe
- Every price on /pricing, the plan row and the MCP is formatted by one function, with a test over the three (#15694) a79722d
- One palette across the forge and its apps — restarted from the parked branch, forge side first (#16779) e4dd828
- With the weekly window full, the forge runs a model-free measurement and /week counts it (#16783) 7bffc31
- small: The guide spine, read as a new owner, an outside agent and an owner looking up a setting, has its findings fixed (#16781) b92c2a5
- An invite to an organization lands from the closed pull #12484's branch, with the signup welcome tested (#16764) 518ce94
- forge.json validates a service app's ports and refuses a clash with another app (#16778) a4bc344
- The platform inventory page has one primary next action and is looked at on phone and desktop widths (#16773) 721a707
- Admins mark which repositories are offered as templates for new forges (#16752) 577f9d8
- small: Escape leaves the tell box and keeps its draft per page (#16774) 24468de
7 earlier comments
Nothing in the code needs to change for this feedback. The comment is the gate's automatic note on which page it pictures for this pull. It chose /preview-admin/sample/waves, the sample page whose route imports src/web/pages/waves.ts. That is the page this pull changes, so I did not add a Looks: or No look: override. I made no new commit and pushed nothing.
The pull still does what the first push described: a wave page, and its terminal screen, shows a changelog of each landed pull's first sentence, grouped by pillar with Other last.
[
{"go": "/preview-admin/sample/waves", "look": "the Changelog block under the wave's sentence", "expect": "landed pulls listed as first sentences, grouped by pillar, with Other last"},
{"go": "/trevato/forge/waves/<version>", "look": "the same Changelog on a real wave page", "expect": "same grouping and order as the sample page"}
]<!-- look-pages f71528c01a6f --> Look pages for f71528c, from the gate:
look pages (inferred): this pull changes src/web/pages/waves.ts; the forge pictures /preview-admin/sample/waves (src/web/pages/waves.ts), the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
I fixed the two wave-cap failures and pushed. The third failure, the heap-growth test, I left alone.
- Cap tests: the new changelog repeats each pull's title, so
test/wave-pulls-cap.test.tscounted every pull twice (103 instead of 50). I made two changes:- The changelog on the wave page now covers only the pulls the page lists. That is 50 by default and all of them with
?all=1, so a large wave can't double its size. - The cap test now strips the changelog section before counting, so it still checks the length of the pull list. That test was counting the wrong thing once a second list existed. The assertions are otherwise unchanged.
- The changelog on the wave page now covers only the pulls the page lists. That is 50 by default and all of them with
- Local checks:
wave-pulls-cap,wave-changelogandwave-page-pullspass (15 tests), andtscis clean. - Heap test: "/, /explore and a repository page … grow the heap by under 24 MiB" is not caused by this pull. It renders
/,/exploreand a repository page, and the pull only changes the wave page and the wave terminal screen. It ran 12.7 s in one shard of a 100-shard run, which looks like noise. I did not run it locally and have no evidence beyond that. If it fails again on the next check, tell me and I'll look into it.
The terminal wave screen still shows the full changelog, because it already shows the whole pull list. I did not cap it.
<!-- look-pages 53c9971fb18f --> Look pages for 53c9971, from the gate:
look pages (inferred): this pull changes src/web/pages/waves.ts; the forge pictures /preview-admin/sample/waves (src/web/pages/waves.ts), the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
This feedback is the gate's automatic look-pages note again, now for 53c9971. It asks for no change, so I made no commit and pushed nothing.
The gate inferred /preview-admin/sample/waves because src/web/pages/waves.ts changed. That is the page this pull changes, so I added no Looks: or No look: override.
[
{"go": "/preview-admin/sample/waves", "look": "the Changelog block under the wave's sentence", "expect": "landed pulls as first sentences grouped by pillar, Other last, limited to the pulls the page lists"},
{"go": "/trevato/forge/waves/<version>?all=1", "look": "the Changelog on a wave of more than 50 pulls", "expect": "every landed pull appears; without ?all=1 only the first 50 pulls are covered"}
]I've pushed fixes for both of juniper's points and the two smaller ones. The wave, changelog, page and cap tests pass locally (20 tests), and tsc and the design lint are clean. I did not run the full suite.
- Pillar test: the new
test/wave-changelog-pillars.test.tsuses a real database with two umbrellas (P0 Trust,P1 Feed), issues under each, and four pulls.- It asserts that
pillarsOfPullsputs a pull under the pillar of the issue it closes, and that a pull serving none gets no pillar. - It asserts that
waveChangelogreturns the groups in plan order with the unserved pull under Other, last. - It asserts that a repository with no pillars puts every pull under Other.
- Gap: it does not cover the "pull is itself linked under an umbrella" case, because
linkIssuerefuses pulls and the stored edge can't be made in a test. OnlyCloses #Nis tested.
- It asserts that
- Repetition: I removed the separate Changelog section from the wave page. The one Pulls list is now grouped by pillar, with an
h3head per pillar, Other last, each pull said once with its first sentence. When no pull serves a pillar, it is the same single list with no heads, as before.- I reverted my earlier edits to the cap test and the "title said once" test, since the duplication that forced them is gone.
- I rewrote
docs/features/wave-changelog.mdto match.
e.g./i.e.:firstSentenceno longer ends a sentence at them, and a test covers it.- Test file: I moved the mid-file
importto the top.
I did not change the terminal screen: it still prints a Changelog block above its pull list. I left it because I changed only the web page. Tell me if you want it folded into one list too.
[
{"go": "/preview-admin/sample/waves", "look": "the Pulls list", "expect": "one list; no second Changelog section; under pillars each group has an h3 head, Other last"},
{"go": "/trevato/forge/waves/<version>", "look": "a wave in a repository with no pillars", "expect": "one Pulls card with no pillar heads, each pull's first sentence once"}
]<!-- look-pages 06ae6e360d0d --> Look pages for 06ae6e3, from the gate:
look pages (inferred): this pull changes src/web/pages/waves.ts; the forge pictures /preview-admin/sample/waves (src/web/pages/waves.ts), the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
The feedback is the gate's note on which pages it pictures. It asks for no change, so I made none and pushed nothing new.
- What the note says: this pull changes
src/web/pages/waves.ts, so the gate pictures/preview-admin/sample/waves, the page whose route imports it. ALooks: <path>orNo look: <why>line in a commit message would override that choice. - Why I left it alone: the inferred page is the right one. The changelog this pull adds renders on the wave page that
waves.tsserves. - What I could not check: a search of
srcfinds nopreview-admin/sampleroute. The forge's own look tooling serves that path, so I could not confirm it from here.
Everything else in the pull stands as described. It adds a changelog to each wave page and its terminal screen. Each landed pull gets one line, its first sentence, grouped by pillar, with Other last.
Try it: open /trevato/forge/waves/<version> and read the Changelog under the wave's sentence.
A wave page and its terminal screen now show a Changelog: each landed pull's first sentence, grouped under the pillar it served. Pulls that serve no pillar go under "Other", last. I did not put it on
/changelogitself.What changed
src/story/wave_changelog.tsfinds each pull's pillar the way the dataset export does: the pillar of the first of the pull and the issues it closes that serves one. It then groups the landed pulls, with pillars in plan order, then Later, then "Other".wordClipat the existingSENTENCE_CAPof 160, so a long first sentence ends in "…".src/web/pages/waves.tshas a Changelog section above Highlights, built withrowandlistCard. Each row is escaped and links to its pull.bun scripts/design-lint.tspasses.src/tui/screens/waves.tsprints the same groups under "Changelog". The how-to isdocs/features/wave-changelog.md.distillandSENTENCE_CAP,wordClip,servedBy,pillarsOf,pillarNames,closesFromBody,pullPath,listCardandrow. I did not runscripts/similar.ts.Tests
test/wave-changelog.test.tscovers a wave with three pillars plus Other, clipping, first-sentence cut, and the terminal lines. The page test checks Other, escaping and links.pillarsOfPulls) has no test.tscis clean,gate.ts --explainreports 32 rules satisfied, and I ran the wave tests I touched (wave-changelog,wave-page-pulls,tui-waves), which pass.Left out
/changelogitself is unchanged; it groups by day, and the per-wave view is the wave page.distillalready did.Review
Closes #16312