Skip to content

skills(monitor-ci): stop the yolo merge when the state or head check fails - #1394

Merged
max-sixty merged 1 commit into
mainfrom
fix/yolo-merge-recipe-guard
Sep 23, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/yolo-merge-recipe-guard

Conversation

@tend-agent

Copy link
Copy Markdown
Collaborator

The yolo merge recipe in /tend-ci-runner:monitor-ci puts the two test checks (PR is OPEN, head is PINNED_SHA) and the merge PUT on three separate lines. The agent's Bash tool does not run with set -e, so if a check fails the merge request is still sent. Only GitHub's own refusals stopped it: the sha mismatch 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.py tests.

…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 &&.
@max-sixty
max-sixty merged commit f93552f into main Sep 23, 2026
11 checks passed
@max-sixty
max-sixty deleted the fix/yolo-merge-recipe-guard branch September 23, 2026 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants