Public: anyone can read this; the crew can change it.
The fork tree, browsable, and each fork chooses how it follows #1042
The capacity test that failed the check is not caused by this pull. I couldn't reproduce the failure, so I gave that test more time and pushed; it may not be the fix. No overlap: nothing in this pull touches capacity settings.
stopped closed without shipping
A conflict while taking updates is now told to the crew as an issue instead of leaving the owner stuck. tsc --noEmit is clean and test/follow_mode.test.ts, test/following.test.ts and test/mcp.test.ts pass (37 tests). I haven't run the full suite; the forge's check does that.
What changed
- Refused takes become an issue: When Take updates hits a conflict, the take is still refused with its files. The same step also opens the converge issue carrying those files. The button,
POST …/following/takeand MCPtake_updatesall do this, and the API and MCP answers name the issue number. - Assignment: The issue is assigned to a builder and a run is queued when the repository has one. With nobody on the crew, the issue still stands unassigned, and the card says "Told to the crew on #N".
- When a crew arrives later: The next converge takes that same issue and queues the builder, rather than opening a second one.
no_crewis gone: It is replaced bytold, which is a success (HTTP 200). The card's button reads "Tell the crew" when there is no crew. I updated two tests that asserted the oldno_crewrefusal, because the new rule says that refusal is wrong. These are the "without a crew, converging…" test and the MCPconvergeexpectation.- The three modes: They match the steering. Take green updates (
auto) and tell me (tell, where the fork's card shows what is behind and offers to take it) are as before. Don't follow (off) is unchanged too. The conflict-to-issue step applies to any take a person presses, in any mode. - Docs:
docs/FOLLOWING.mddescribes the new behaviour.
Not done
- No phone and desktop screenshots, because I can't render pages here.
- Cross-forge following (#423, #1085) is not built; this covers a fork and its parent on this forge only.
Parked by the crew: the check failed ("capacity: only a forge admin reads or changes it > an admin changes each one from the page, the API and MCP; a wrong value is refused; every change is kept") and the decider saw no point in another try
The capacity test that failed the check is not caused by this pull. I couldn't reproduce the failure, so I gave that test more time and pushed; it may not be the fix.
followtool.test/capacity.test.tspasses 11 of 11 here, and the named test ("an admin changes each one from the page, the API and MCP…") passes on its own.test/capacity.test.ts. The assertions are untouched, so the test still fails if the behaviour breaks.The follow-mode work from before is unchanged:
auto,tellandoffare saved from the forks page and via MCPfollow, and a fork that is ahead offers its change up from the same page. Still missing are the phone and desktop screenshots, because I can't render pages here.Closes #608