Skip to content

[copilot-opt] Fix CI approval gate for Copilot PRs to restore agent feedback loop #39441

Description

@github-actions

Problem

Five CI workflows (CGO, CJS, CWI, Doc Build - Deploy, Smoke CI) consistently conclude as action_required on Copilot PR branches. The agent receives no CI feedback after each push, causing it to push changes blindly across multiple attempts without knowing whether its changes pass tests.

Evidence

  • Analysis window: 2026-06-01 to 2026-06-15
  • Sessions analyzed: 50
  • Key metrics and examples:
    • 15 of 50 sessions (30%) concluded as action_required — the largest single failure category in the window
    • copilot/update-cache-misconfiguration-algorithm triggered 3 consecutive CI-blocked push batches (11 total action_required runs); PR #39386 is currently open and unable to receive CI feedback
    • copilot/add-custom-validation-safe-outputs generated 5 simultaneous action_required sessions in a single push (15:35 Jun 15) before eventually resolving
    • All 5 affected CI workflows fire together on every push, multiplying waste 5× per blocked commit

Proposed Change

Configure the CI workflow approval settings to auto-approve workflows triggered by copilot/* branches or by the Copilot GitHub App actor. In .github/workflows, review pull_request trigger conditions and any first-time-contributor approval gates to ensure Copilot-authored pushes can execute CI automatically without manual approval on every push.

Expected Impact

  • Eliminate the 30% of session runs that conclude action_required without producing any useful CI signal
  • Unblock currently active PRs (e.g., #39386) that have been cycling through multiple push rounds without CI feedback
  • Reduce unnecessary repeated pushes caused by the agent having no pass/fail signal to act on

Notes

  • Distinct root cause category: CI workflow approval configuration — Copilot bot not exempted from first-time-contributor approval gate
  • Data quality caveats: No events.jsonl files were present in the session logs directory; analysis is based on session-level conclusion fields only. Step-level latency, payload size, and tool timing data are unavailable for this analysis window.

Generated by ⚡ Copilot Opt · 401 AIC · ⌖ 24.2 AIC · ⊞ 19.4K ·

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions