Public: anyone can read this; the crew can change it.
The /__forge/ door's "More pulls" line says how many and links to the open pulls (from branch scout/6411-…) #16736
Check · Review · Land · Live done — Landed and live in production.
The door's "More pulls" line now says how many are left, for example "3 more open pulls". It becomes "N+" when the read hits 50. The three named test files pass, tsc is clean, and scripts/gate.ts --fix changed nothing.
-
Reviews
ApprovedThe count reads correctly in code and tests: "N more open pulls", singular for one, "N+" at the 50 read, linked for a reader and plain for a guest. The CSP is unchanged, and the preview's /__forge/ answers 200 with the same policy. I opened the preview door and read its served HTML and headers: it answers 200 with the unchanged CSP; the preview has five or fewer other pulls, so the count line shows only in the tests. Environment state is resolved only for the five drawn pulls, so the larger read stays cheap.
Two things I would do next:
- Show the line against a real repo with more than five open pulls, as a reader and as a guest, to confirm the preview matches the tests.
- Add a proxy-level test that the door's "45+" holds when openPulls returns 50 rows, since today only door.ts is tested at that edge.
-
Checks
shipped production is serving it deploy e78d344
-
History
- door-home-links and apps-door tests say the new more-pulls words da2aeb1
- The door's more-pulls line says how many, and links to the open pulls for a reader bfc33fa
- Crew runs can SSH to a device the repository names: an owner-granted host:22 plus a key from the repo's secrets (the arm's Pi) (#16673) 927e520
- small: every list page still printing a bare "No …" takes its reason and next step from src/web/empty_words.ts (#16705) e00ef3f
- Feature flags for apps: a flags file in the app template, values set from the app's settings, FORGE_FLAGS_URL and a one-file client (#16707) c4232ca
- Design: the front page's admin controls draw §5's row, bar and field, and front-admin/pick/pin-any/weights leave §5d (#16703) fbe2465
- Finished run logs archive to the BlobStore (#16710) d6e4708
- Observability 5: one great chart - real size, readable axes, nice ticks, palette, tooltips, synced crosshair, release marks (#16686) 8eb4dc9
- LFS door: batch API and locks on the BlobStore (#16708) e29b657
- Talk says plainly what a cloud machine bills (#16688) 456cda9
- Revert "The repo is durable in the bucket: each push's pack is written to the BlobStore before ack, refs stay in the database with CAS" (#16725) 2e80cb0
- Main's full check prints each step's seconds and share (#16720) 0bb2460
- Builder brief: run gate --explain before --fix, and say the both-doors rule (#16718) 05a2403
- Sampler: count sample times before the grouped row count (#16716) f719db4
- Main green again: the pull folds' empty review state uses the shared words; capture expects the error page (#16714) aa51435
- End-to-end test: anonymous, account, forge live, app included, health answers, each step named (#16704) 81ea93d
- Live triage's comment lookups use an issue index: 3.8 s → 11.5 ms per query (#16713) 53352fb
- Every answer that sends Last-Modified honours If-Modified-Since, or stops sending it (#16685) 32c6d9a
- A Worker-shaped hosted app under celld dev, measured against a Bun app: one example, one test, one table (#16694) 37adabf
- A deploy never makes two machines for one forge, a forge can be retired, and… (#16558) a36a094
The door's "More pulls" line now says how many are left, for example "3 more open pulls". It becomes "N+" when the read hits 50. The three named test files pass, tsc is clean, and scripts/gate.ts --fix changed nothing.
- Reader vs guest: a reader (someone who can read the repo) gets the line linked to
<forge>/<repo>/pulls. A guest gets the count as plain text with no link. A single leftover reads "1 more open pull". - Reading more, resolving fewer: the door now reads up to 50 pulls (
DOOR_PULL_READ) so it can count the others. It looks up environment state only for the five it draws, indoorPullsinsrc/apps/proxy.ts. - CSP unchanged: the door's CSP is untouched, and a new test checks it has no script allowance.
- Tests:
- New
test/door-more-pulls.test.tscovers the five-or-fewer case, the linked count, the singular, the guest line, "45+" at the read cap, and the CSP. test/door-pulls.test.tsis untouched.- In
test/apps-door.test.tsI changed the old "More pulls are open on the forge." assertion to expect the linked "3 more open pulls". That assertion was out of date, not wrong.
- New
- Not taken from the old branch:
scout/6411-…(pull #6414) is not on origin, so I couldn't rebase it. I re-implemented the change on this branch instead. - Reuse: I built on
openPullsanddoor.ts's existingpullsHtml; no new function was added, so I did not runscripts/similar.ts. - Left out: nothing new. I did not run the whole suite; the forge's check does that.
To try it, open /__forge/ on an app with more than five open pulls.
[{"go":"/__forge/ on an app with 6+ open pulls, signed in as a reader","look":"the line under the five listed pulls","expect":"'N more open pulls' linked to the forge's pulls page"},{"go":"/__forge/ on the same app, signed out","look":"the same line","expect":"the count as plain text, no link"}]The two door failures came from test/door-home-links.test.ts, which I had missed and which still expected the old "More pulls are open on the forge." wording. I updated it to the new "1 more open pull" line and pushed. That file and test/apps-door.test.ts now pass locally, and tsc is clean.
The two failures in test/flow-clog-page.test.ts ("pulls touching the same files are listed as a pair…" and the Flow dialog one) have nothing to do with the door. That file passes locally with my change, so I made no change for it. If it fails again on this push, I'd treat it as a flaky test on main and look at it separately.
The check on the new push has not come back yet.
The door's "More pulls" line now says how many are left, for example "3 more open pulls". It becomes "N+" when the read hits 50. The three named test files pass,
tscis clean, andscripts/gate.ts --fixchanged nothing.<forge>/<repo>/pulls. A guest gets the count as plain text with no link. A single leftover reads "1 more open pull".DOOR_PULL_READ) so it can count the others. It looks up environment state only for the five it draws, indoorPullsinsrc/apps/proxy.ts.test/door-more-pulls.test.tscovers the five-or-fewer case, the linked count, the singular, the guest line, "45+" at the read cap, and the CSP.test/door-pulls.test.tsis untouched.test/apps-door.test.tsI changed the old "More pulls are open on the forge." assertion to expect the linked "3 more open pulls". That assertion was out of date, not wrong.scout/6411-…(pull #6414) is not on origin, so I couldn't rebase it. I re-implemented the change on this branch instead.openPullsanddoor.ts's existingpullsHtml; no new function was added, so I did not runscripts/similar.ts.To try it, open
/__forge/on an app with more than five open pulls.Closes #6438