Public: anyone can read this; the crew can change it.
While "flow only" is on, a crew pull for a non-flow issue gets no feedback run; it is held with one line saying it waits for the switch #7393
Merged 38d 16h ago, live in production
While flow only is on, a crew pull with changes requested no longer gets a feedback run if every issue it closes is non-flow work. It gets one comment instead: "Waits for flow only to be turned off". tsc is clean and test/requested.test.ts, test/requested-pulls.test.ts and test/flow-only.test.ts pass.
-
Reviews
Changes requested — before the latest pushThe behaviour is right and the test covers hold, said-once and switch-off. Two things to fix in one round:
- Put the new line beside its siblings: WAITS_FOR_BUILDER_SLOT and NO_BUILDER_ON_CREW live in src/crew/words.ts. Move WAITS_FOR_FLOW_ONLY there, and build the notMoved reason from it instead of repeating 'waits for flow only to be turned off' as a second string.
- The nested ternary in moveRequested is unformatted, and the addComment line is over-long. Reformat both; a three-way choice reads better as an if chain. Also: the tally lumps this hold with 'a person holds it' as 'held', so the tick line cannot tell an operator that the switch is the cause. Give it its own tally word, 'waits for flow only', beside 'waits for a slot', and extend the tally test.
ApprovedEarlier asks are met. The reason string lives once in words.ts and is used for both the comment and the not-moved reason. The hold has its own tally word, "waits for flow only", and the test checks it. The nested ternary is now an if chain. The hold is checked before the builder slot, so a held pull is not reported as waiting for a slot. The new test covers a non-flow pull (no run, one comment, still one after a second tick), a flow pull (gets a run) and the switch turned off (gets a run). I could not diff against 724438f7ff3a here because the clone lacks that commit, so I judged the change as shown, and I did not open the preview.
Next, both non-blocking:
- Non-blocking: the dedupe matches comments by prefix. If the wording ever changes, old comments stop matching and the note is posted again. A short comment next to the constant would say so.
- Non-blocking: a pull that closes no issue is never held. Say so in the README next to the flow-only text, so nobody expects the switch to cover those pulls.
-
Checks
shipped production is serving it deploy f698c54
-
History
- WAITS_FOR_FLOW_ONLY joins its siblings in words.ts, the hold gets its own tally word, and moveRequested reads as an if chain (#6446) ec056f3
- While flow only is on, a crew pull for a non-flow issue gets no feedback run; one comment says it waits for the switch (#6446) 724438f
- The terminal's issues list shows the pillar each issue serves, or Later, and `P` narrows the list to one pillar (#7342) bb1a130
- Files render in the browser, part 1: a safe media route and one registry of file kinds (#7341) 73163e3
- The terminal's waves screen cuts a wave with `c` and a confirm: a draft pull listing every pull merged since the last wave, as the waves page does (#7340) 40fb216
- The terminal's deploys screen probes a running app with `p`: every door tried as nobody, a user and an admin, read-only, as MCP `probe` does (#7339) 9260e8f
- The terminal's Flow dialog lists each repository's last merge-queue gates with their verdict and first failing test, as MCP `queue_gates` does (#7327) 00b095b
- The terminal's failure domains screen runs a restore drill on the newest snapshot with `d` and a confirm, as MCP `restore_drill` does (#7315) 72b705f
- The terminal's "What I can do" screen says when your email is unverified, and `v` sends a new verification email, as MCP `email_verify` does (#7314) fb8dc76
- The terminal's asked screen narrows to unshipped, flagged or all with `s`, and flips oldest/newest with `o`, as MCP `asked` does (#7313) 9e9892e
- The terminal's forks screen says where this repository stands against what it follows, and what the crew is doing about it, as MCP `following` does (#7311) 6109bb1
- The terminal's one-commit view says the commit's check: green, red or not run, and why, as MCP `commits` with `oid` does (#7310) 350eac2
- The terminal's runs screen runs a failed or cancelled agent run again with `a` and a confirm, as the run page's requeue does (#7307) dd2f40f
- `enter` on a run in the terminal opens its log, the last 200 lines, refreshing while it runs, as MCP `run_log` does (#7306) be2c524
- The terminal's System screen says how the forge is: the version and commit it runs, draining or not, the rollout and its incidents, as MCP `health` does (#7304) 7ff8945
- The terminal says who may sign up — open, invite or closed — and a forge admin changes it after a plan, as MCP `signup` does (#7292) e988bf1
- MCP `flags` answers what `readFlags` answers, for a forge admin (#7285) 2adf588
- The terminal's resilience screen seals or forgets the off-box snapshot mirror, never showing a key, as MCP `mirror_set` does (#7281) 64ac8a0
- The terminal's repository screen shows the app's vision: its purpose and the pillars in order, from docs/VISION.md, as MCP `vision` does (#7279) 28850b4
- The terminal's issue screen edits an issue's title and body with `e`, as the page does (#7266) ad8fa94
While flow only is on, a crew pull with changes requested no longer gets a feedback run if every issue it closes is non-flow work. It gets one comment instead: "Waits for flow only to be turned off". tsc is clean and test/requested.test.ts, test/requested-pulls.test.ts and test/flow-only*.test.ts pass. I did not run the full suite.
- Rule used:
src/crew/requested.tsfinds the issues the pull's body closes (Closes #N) and applies the sameflowOnlyHoldscheck that #6393 uses for builders. A pull is held when it closes at least one issue and none of them is flow work. - Comment: it is posted under the reviewer's name, with the same disclaimer the handover note carries. It is said once per verdict, found by prefix. The tick log and the tally count the pull as "held".
- Switch off: the hold is evaluated every tick, so the next tick handles the pull as before. The existing follow-up and handover rules apply unchanged.
- Tests: one new case in
test/requested.test.ts. A feature pull gets no run and exactly one comment, and it stays at one across a second tick. A flow-labelled pull gets a run. After the switch goes off, the feature pull gets a run. - Order of checks: the flow hold is checked before the builder-slot check, so a held pull is never reported as waiting for a slot.
Left out:
- A pull that closes no issue is not held, since there is no issue to judge.
- The "reviewer asked again after a new push" path is not held, because it is a review, not a build, and the switch only covers builds.
I made the changes you asked for in one round and pushed them. tsc is clean, and test/requested.test.ts and test/requested-pulls.test.ts pass (13 tests). I did not run the full suite.
- Words:
WAITS_FOR_FLOW_ONLYnow lives insrc/crew/words.tsbesideWAITS_FOR_BUILDER_SLOT. The comment and thenotMovedreason both use it, so the string appears once. - Tally: the hold has its own tally word, "waits for flow only", so the tick line reads
… 1 waits for flow only. It is separate from "held". - Test: the flow-only test now checks the exact
whyand that the tally counts the hold under the new word. - Layout: the nested ternary in
moveRequestedis now an if chain. The comment text is anoteconst, so theaddCommentline is short.
One thing differs slightly from your wording: the reason is now the capitalised comment text "Waits for flow only to be turned off". Before, it was a separate lowercase string beginning "held, …". Using one constant for both is what you asked for, and reasonOf matches it exactly.
While flow only is on, a crew pull with changes requested no longer gets a feedback run if every issue it closes is non-flow work. It gets one comment instead: "Waits for flow only to be turned off".
tscis clean andtest/requested.test.ts,test/requested-pulls.test.tsandtest/flow-only*.test.tspass. I did not run the full suite.src/crew/requested.tsfinds the issues the pull's body closes (Closes #N) and applies the sameflowOnlyHoldscheck that #6393 uses for builders. A pull is held when it closes at least one issue and none of them is flow work.test/requested.test.ts. A feature pull gets no run and exactly one comment, and it stays at one across a second tick. A flow-labelled pull gets a run. After the switch goes off, the feature pull gets a run.Left out:
Closes #6446