Skip to content

Pipeline Health Monitor with Anomaly Detection & Auto-Alert System #808

Description

@github-actions

Strategic Improvement

Build real-time health monitoring that tracks success rate, duration, and cost metrics across all pipelines. Detects anomalies (sudden drop to 0%, 3x duration spikes, cost overruns) and alerts via tmux notifications, dashboard banners, and file markers. The current 0% success rate should have triggered an immediate alert—this system ensures we never go blind again.

Acceptance Criteria

  • Tracks success rate, avg duration, and cost per pipeline in rolling 7-day window
  • Detects anomalies: success rate drop >20%, duration spike >2x baseline, cost spike >2x baseline
  • Alerts via: tmux notification, dashboard banner, ~/.shipwright/health-alert.json marker
  • Triggers automatic diagnostic scan on severe degradation (success rate <50%)
  • Integrates with existing events.jsonl and DORA metrics
  • Test suite validates anomaly detection and alerting logic

Context

  • Priority: P0
  • Complexity: standard
  • Generated by: Strategic Intelligence Agent
  • Strategy alignment: P0: Reliability & Success Rate

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-patrolCreated by autonomous patrol agentsready-to-buildIssue is ready for autonomous pipeline processingstrategicCreated by strategic intelligence agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions