Repository navigation
skills(monitor-ci): stop the yolo merge when the state or head check fails - #1394
Merged
Merged
Conversation
…fails The recipe ran its two test commands and the merge PUT as separate lines. The agent's shell does not run with set -e, so a failed check still sent the merge. Chain them with &&.
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.
The yolo merge recipe in
/tend-ci-runner:monitor-ciputs the twotestchecks (PR isOPEN, head isPINNED_SHA) and the mergePUTon three separate lines. The agent's Bash tool does not run withset -e, so if a check fails the merge request is still sent. Only GitHub's own refusals stopped it: theshamismatch 409 and a closed PR's refusal to merge. The checks the surrounding prose requires did nothing. Chaining the three commands with&&makes a failed check stop the merge.It's a docs-only change to shipped skill text, so there's no regression test. The full suite passes locally, apart from the two network-bound
test_refresh_consumers.pytests.