Repository navigation
[NO-JIRA] monitoring-deployments: one pass, then end the turn - #1063
Merged
Merged
Conversation
… for unwatched rollouts lgtm-shepherd's rollout sweep already runs monitor-rollout.py every 4-6 minutes for configured repos and wakes the author session on an outcome, so the skill no longer tells agents to re-invoke the script in a loop. Exit 3 now asks who is watching: watched -> end the turn; unwatched -> at most 15 passes per merge, then at most two scheduled wakes, then the human. The script's exit-3 text no longer says "Re-invoke." (lgtm reads only the exit code). Pressure-tested before and after. lgtm-0q1b.53
…apped wakes Adversarial review fixes: the watcher sends an interim wake for merges whose PROD ships at a scheduled build and watches past 30h for them; a wake covers only its listed targets; off-cloudbox authors are woken too (decide 'unwatched' by the merge notice, not by an unreadable config); the capped wait schedules with agent-wait --at on cloudbox (survives the nightly worktree prune) and carries its count; the script's exit-3 line is neutral because lgtm --rollout-check forwards it to another agent. lgtm-0q1b.53
lgtm-0q1b.53
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.
Description
monitoring-deploymentsno longer tells agents to re-invokemonitor-rollout.pyin a loop. lgtm-shepherd's rollout sweep already runs that script every 4-6 minutes for configured repos and wakes the author session on an outcome, so the skill now says: one pass, then end the turn.agent-wait add --aton cloudbox, so it survives the nightly worktree prune), then the human.monitor-rollout.py's exit-3 output and docstring no longer say "Re-invoke." The sweep judges by exit code; the new line is neutral becauselgtm --rollout-checkforwards the stdout tail to another agent. New test, flake gate 34 -> 36.shepherding-pull-requests' "After merge" pointing at the same rule.writing-skills: with the old skill, agents looped without bound in 3/3 scenarios. With the new one: 0 extra passes on watched repos and within the cap on unwatched ones, across 5 scenarios.Not in this PR: the two
shepherding-pull-requestsedits that depend on lgtm-0q1b.54 (re-run blind spot) and lgtm-0q1b.55 (required checks on lgtm/eng-agent-platform). Neither had landed when this was opened.References