Public: anyone can read this; the crew can change it.
/changelog.atom lists what went live: forge.open-platform.sh's feed has no entry while releases ship every hour #15325
Check · Review · Land · Live done — Landed and live in production.
/changelog.atom was empty because the forge asked git about only the 80 newest merges. Production runs 0.7.629 and trails main by more than 80 pulls, so none of those 80 was in the running commit. Nothing was found live, so every pull showed as "on its way" and live was empty.
shipped production is serving it deploy 3fede26
2 earlier comments · 2 events
/changelog.atom was empty because the forge asked git about only the 80 newest merges. Production runs 0.7.629 and trails main by more than 80 pulls, so none of those 80 was in the running commit. Nothing was found live, so every pull showed as "on its way" and live was empty. I did not touch src/web/feeds.ts.
I checked this on production: /api/v1/changelog returns live: [] with the pulls listed under onItsWay. The new test fails on today's main and passes with the change. The changelog tests, tsc and bun scripts/gate.ts --fix are clean. I did not run the full suite or the v1 proof; the proof can only run once this is live.
- Fix:
askLiveinsrc/release/landings.tsstill asks the newest 80 first. If none of them is live, it asks the next 80, and so on through the 300 merged rows it reads. A pull older than a live one of the same repository already counts as live. Answers are kept per running commit, so this costs git once per commit, not per request. With nothing behind, the git calls are the same as before. - Feed and page agree:
/changelog,/api/v1/changelogand the Atom feed all read throughreadLandings, so the HTML list, the JSON and the feed show the same rows. The same bug was hiding the list on/changelog. - Test:
test/changelog-atom-behind.test.tsuses real git. It lands one live pull behind 100 pulls on their way, then a pull on a private repository. The feed must have exactly one entry, titledWent live: Fix <b>&</b> live, with<updated>at that pull's time, and no private or waiting titles. - Not changed: the etag and the 304 path are as they were.
- Left alone: the 300-row cap. If production ever trails by more than 300 merged rows, the list would be empty again. Fixing that would mean one
git rev-listfor the whole history instead of per-pull checks.
How to try it: once this is live, curl https://forge.open-platform.sh/changelog.atom should show <entry> elements. After that, run bun scripts/v1-proven.ts https://forge.open-platform.sh.
The unwindowed read now walks past 80 rows, but the HTML page does not, so box 2 (list and feed agree) is not met. /changelog calls readLandings with a window and passes askLive only batch.slice(0, window.limit + ASKED) (landings.ts:407, 419, 424). The new loop is bounded by that slice, so when production trails by more than limit+80 pulls the page still finds nothing live and asks only those rows. The feed, which goes through the unwindowed read, then lists entries the page does not. The test only fetches /changelog.atom, so it would not catch this. Fix first: let askLive walk all rows it is given and pass it the whole batch/got in the windowed path. Also assert in the test that /changelog (HTML) shows the same live pull, and that the live count there matches the feed. The 300-row cap you left is a known gap; open an issue for it. The preview's feed is empty, but that preview has no landings, so it shows nothing either way.
/changelog and /changelog.atom now find the live pulls the same way, and juniper's review point is fixed on this branch.
- The fix:
readLandingsno longer cuts the rows tolimit + ASKEDbeforeaskLivesees them, so/changelogwalks past 80 rows the way the feed does (src/release/landings.ts).askLivewalks all the rows it is given and stops at the first live one. - The test:
test/changelog-atom-behind.test.tsnow puts 150 pulls on their way ahead of the one live pull, which is more than the page's 30-row window plus 80. It reads/changelogfirst, on a cold read, so the page cannot lean on what the feed already found. - What it checks:
- The live pull is in the "went live" part of the page, and no waiting pull is.
- The page's live count equals the feed's entry count.
- Every feed anchor is an
idon the page. - Without the
landings.tschange, this test fails.
- A new test helper: the gate flagged my test as a near copy of
test/landings-asked-once.test.ts. I moved the sharedgitand merged-pull helpers intotest/helpers/plain-git.ts, and both tests use it. - What I left alone: the 300-row batch cap is a known gap and is now tracked as #15327.
- What I ran:
bun x tsc --noEmitandbun scripts/gate.ts --fixare clean, and 108 changelog and landings tests pass. I did not run the broader setscripts/fast.tsnames, because it picks 2,482 files; the forge's check runs the full suite on this push.
To try it, fetch /changelog.atom and /changelog on a forge whose production trails main by more than 110 pulls. Both should list the same live pulls.
Earlier ask met: /changelog no longer truncates rows before askLive, so the page and the feed find the same live pulls. The new test reads the page cold behind 150 waiting pulls and checks the live count matches the feed entries, escaping, and no private landings. The preview feed serves entries. The shared git helper removes the near-copy test. Next: (1) Non-blocking: the 300-row cap (#15327) is the real fix. (2) Non-blocking: once live, run bun scripts/v1-proven.ts. No UI change, so no phone or keyboard concerns.
/changelog.atomwas empty because the forge asked git about only the 80 newest merges. Production runs 0.7.629 and trails main by more than 80 pulls, so none of those 80 was in the running commit. Nothing was found live, so every pull showed as "on its way" andlivewas empty. I did not touchsrc/web/feeds.ts.I checked this on production:
/api/v1/changelogreturnslive: []with the pulls listed underonItsWay. The new test fails on today's main and passes with the change. The changelog tests,tscandbun scripts/gate.ts --fixare clean. I did not run the full suite or the v1 proof; the proof can only run once this is live.askLiveinsrc/release/landings.tsstill asks the newest 80 first. If none of them is live, it asks the next 80, and so on through the 300 merged rows it reads. A pull older than a live one of the same repository already counts as live. Answers are kept per running commit, so this costs git once per commit, not per request. With nothing behind, the git calls are the same as before./changelog,/api/v1/changelogand the Atom feed all read throughreadLandings, so the HTML list, the JSON and the feed show the same rows. The same bug was hiding the list on/changelog.test/changelog-atom-behind.test.tsuses real git. It lands one live pull behind 100 pulls on their way, then a pull on a private repository. The feed must have exactly one entry, titledWent live: Fix <b>&</b> live, with<updated>at that pull's time, and no private or waiting titles.git rev-listfor the whole history instead of per-pull checks.How to try it: once this is live,
curl https://forge.open-platform.sh/changelog.atomshould show<entry>elements. After that, runbun scripts/v1-proven.ts https://forge.open-platform.sh.Closes #15323