Skip to content

[deep-report] Fix orphan-escalation assignee-login mismatch (copilot-swe-agent → Copilot) in Copilot Session Insights #54527

Description

@github-actions

Description

The Copilot Session Insights workflow's orphan-branch escalation check (.github/workflows/copilot-session-insights.md:203) filters PR assignees with select(. == "copilot-swe-agent"), but the repository's actual Copilot-assignment login is "Copilot" — verified live via gh api repos/github/gh-aw/pulls, which shows assignee logins of Copilot on every currently-assigned PR (e.g. #54523, #54522, #54521), never copilot-swe-agent. The check therefore never positively matches real assignee data, so today's "0 orphaned branches" result is correct only by coincidence (no copilot/* branch had gate activity today), not because the detector actually works.

Expected Impact

Fixes a silently-broken detector so the "0%-orphan" streak (self-reported by this workflow across dozens of prior snapshots) can actually be trusted as validated evidence instead of lucky timing. Restores the workflow's core anti-abandonment signal (PRs with ≥5 simultaneous gate firings and no agent assigned for >2 hours).

Suggested Agent

Copilot coding agent — one-line fix to the assignee-match string in the jq script.

Estimated Effort

Quick (< 1 hour)

Data Source

DeepReport analysis, 2026-08-21 cycle, sourced from discussion #54464 (Daily Copilot Agent Session Analysis), "Orphaned Branch Escalation Alerts" section. Verified live via gh api in this analysis; no existing open issue found covering this specific detection-string mismatch.

Generated by 🔬 Deep Report · agent · 186.6 AIC · ⌖ 14.7 AIC · ⊞ 11.9K ·

  • expires on Aug 23, 2026, 4:35 AM UTC-08:00

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions