MCP.so
ログイン
CIinterval

CI Failure Watcher

Poll CI on an interval, investigate failures when checks go red, and push fixes until green.

起動プロンプト

/loop 5m Start the "CI Failure Watcher" loop.

Goal: latest CI run on this branch is green.
Max iterations: 12.
Between iterations run: gh run list --branch $(git branch --show-current) --limit 1
Exit when: latest run conclusion is success.

Step 1: Check CI status. If failed, read logs, fix root cause, verify locally, and push if needed.

基本情報

カテゴリ

CI

目標

latest CI run on this branch is green.

最大反復回数

12

検査コマンド

gh run list --branch $(git branch --show-current) --limit 1

退出条件

latest run conclusion is success.

対応エージェント

Cursor, Claude Code

手順

  1. 1

    Check CI status

    Check the latest CI run for the current branch using gh CLI.

    gh run list --branch $(git branch --show-current) --limit 1
  2. 2

    Investigate failure

    If CI failed, read logs, identify the root cause, and apply the smallest fix.

  3. 3

    Verify locally

    Run the failing CI step locally before pushing again.

他のCIのループ