Repository navigation
Say tend-land waits for a test fix's CI, not the session that pushed it - #5789
Merged
Merged
Conversation
…e session that pushed it Fixing a CI failure's cause told whoever merges a test fix that its CI must reach a terminal result (monitor-ci). Triage sessions read that as their own wait and polled PRs that tend-land owns under await_ci: false, and one repaired a PR in parallel with tend-land's repair job. The merge condition is unchanged.
leaf-agent
commented
Nov 10, 2026
leaf-agent
left a comment
Collaborator
Author
There was a problem hiding this comment.
The added sentence copies monitor-ci's Which heads to poll without its condition. That rule hands CI to tend-land only "when the prompt says the review's CI wait is off, under yolo"; this overlay says it for every PR with no human author. Because the repo's instructions override the bundled skills, the copy would keep telling sessions not to poll if await_ci in .config/tend.yaml ever turned on, with nobody else waiting. It is also the second copy of a rule another text owns, which this overlay's Review threshold counts as a surface trap. Pointing at the owner gets the same redirect without the copy. I'll push this as a fix.
The copied rule dropped monitor-ci's condition (the review's CI wait off, under yolo), so the overlay would override the bundled skill if await_ci turned on.
max-sixty
approved these changes
Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sessions that fix a failing test have been polling their own pull request's CI. With Leaf's
await_ci: false, tend-land owns that wait. In one case the polling session also repaired the PR in parallel with tend-land's own repair job. This change rewords the onerunning-tendsentence that reads as an order to wait. It now points atmonitor-ci, Which heads to poll, which says which session waits, instead of reading as an order to poll. Under Leaf's config, that section hands the wait to tend-land and tells the session that pushed to record the push and not poll. The overlay doesn't repeat that rule because the rule depends onawait_ci, and a copy here would override the bundled skill if that setting changed. The merge condition itself is unchanged: CI must still reach a terminal result on the exact head before the merge.Why this sentence. Fixing a CI failure's cause is written as instructions to whoever merges: "Merge a pull request that fixes tests … The pull request's CI must reach a terminal result on the exact head (
monitor-ci)." It dates from #2379, when the session fixing a test also merged it. A triage session that opens a test fix reads that pointer as its own job. Tend'smonitor-ci, Which heads to poll, says the reverse: after a push to a PR with no human author, record it and don't poll. #5327 removed a similar instruction from this overlay, one that made triage sessions wait hours on a dispatched macOS run.Effect. In triage batch 42582881973 (2026-11-09), 8 of the 11 sessions that opened a PR polled its checks, each after loading
monitor-ci. The #5710 session spent about 38 of its 125 minutes polling. While it diagnosed its red CI, tend-land'srepair #5749job (42592804291) fixed the same failure and pushed first, and the triage session then dropped its own work. The 2026-11-08 sweep recorded the same 12–15 minutes of polling in four other triage sessions (#5641, #5658, #5657, #5463). Those runs and their analysis are in the monthly tracker, #5067.What remains uncertain. The session logs redact the reasoning behind each poll, so the link from this sentence to the polling is inferred from where it points and from the #5327 precedent. If polling continues after this lands, the next step is the bundled skill.
This touches agent instructions, so it needs the control-plane owner's approval before it lands.