Submatter/plans/Plan-automation-foundation/Epic-forge-webhooks/Task-pr-checks-recovery-panel.md
Randall Stillwell 35def387ae docs(plans): add Autensa benchmark tasks to automation foundation roadmap
Map reliability, operator UX, and spend-control follow-ons onto epics 1–9
so worker, webhooks, and fleet work have bead-scale task briefs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 10:48:36 -05:00

1.9 KiB

kind slug title plan_slug epic_slug status priority tenant_id owner cursor_todo_id updated_at
task pr-checks-recovery-panel PR checks recovery panel in mission control automation-foundation forge-webhooks draft P2 global unassigned null 2026-08-03

Task summary

When a convoy is in pr_review, show linked PR CI status in mission control with classified failures and recovery actions (rerun jobs, link to repo setup).

Description

Benchmark: Autensa v2.5.1 PR checks recovery panel — classify failures as retryable, repo setup, or external provider; offer rerun where forge API supports it.

UI (convoy detail panel)

  • PR link + check run list (name, status, conclusion)
  • Failure classification badge per check
  • Actions: Rerun failed jobs (GitHub Actions API), Open repo setup (Epic 3 follow-on task)

Backend

  • tRPC convoys.getPrChecks — workspace-scoped, uses forge adapter
  • convoys.rerunFailedChecks — admin only; audit log in convoy_events

Webhook integration

  • CI completed webhook refreshes cached check status on convoy metadata

Dependencies

Subtasks

  • Forge adapter: list check runs for PR
  • Failure classifier (heuristics: permissions → setup, timeout → retryable, external → informational)
  • Mission control PR checks section when status is pr_review
  • Rerun action + event logging

Estimation

M

Acceptance criteria

  • Failed lint CI shows retryable with working rerun (GitHub fixture or manual dogfood)
  • Missing Actions permission links to repo setup tab with failing check highlighted
  • No recovery action exposed without workspace admin role
  • Epic: ./Epic-forge-webhooks.md