Orchestrator: Add Woodpecker CI integration for pipeline monitoring #344

Closed
opened 2026-02-06 17:50:34 +00:00 by jason.woltje · 0 comments
Owner

Problem

The orchestrator completes work and pushes to remote, but has no visibility into CI pipeline status. When pipelines fail, there's no automated way to:

  1. Detect the failure
  2. Fetch pipeline logs
  3. Diagnose and fix issues

Proposed Solution

Add CI integration to the orchestrator protocol:

  1. Pipeline Status Check - After git push, check pipeline status
  2. Wait for Completion - Poll until pipeline completes or times out
  3. Fetch Logs on Failure - If pipeline fails, fetch logs
  4. Auto-Diagnose - Parse logs to identify common failures (lint, type, test, build)

Implementation Options

Option A: Add Woodpecker commands to @mosaic/cli-tools
Option B: Add CI verification step to orchestrator execution loop

Acceptance Criteria

  • Orchestrator can check pipeline status after push
  • Orchestrator can fetch logs on failure
  • Orchestrator can auto-fix common CI failures
  • Works with Woodpecker CI (primary) and GitHub Actions (future)

Context

Discovered during M6 milestone - 4h18m autonomous run completed but CI failing.

## Problem The orchestrator completes work and pushes to remote, but has no visibility into CI pipeline status. When pipelines fail, there's no automated way to: 1. Detect the failure 2. Fetch pipeline logs 3. Diagnose and fix issues ## Proposed Solution Add CI integration to the orchestrator protocol: 1. **Pipeline Status Check** - After git push, check pipeline status 2. **Wait for Completion** - Poll until pipeline completes or times out 3. **Fetch Logs on Failure** - If pipeline fails, fetch logs 4. **Auto-Diagnose** - Parse logs to identify common failures (lint, type, test, build) ## Implementation Options **Option A:** Add Woodpecker commands to @mosaic/cli-tools **Option B:** Add CI verification step to orchestrator execution loop ## Acceptance Criteria - [ ] Orchestrator can check pipeline status after push - [ ] Orchestrator can fetch logs on failure - [ ] Orchestrator can auto-fix common CI failures - [ ] Works with Woodpecker CI (primary) and GitHub Actions (future) ## Context Discovered during M6 milestone - 4h18m autonomous run completed but CI failing.
jason.woltje added the orchestrator label 2026-02-06 17:50:34 +00:00
jason.woltje added this to the M6-AgentOrchestration (0.0.6) milestone 2026-02-06 18:53:29 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#344