Repository navigation
[copilot-session-insights] Daily Copilot Agent Session Analysis — 2026-11-06 #75355
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Copilot Session Insights. A newer discussion is available at Discussion #75634. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🤖 Copilot Agent Session Analysis — 2026-11-06
Executive Summary
copilot/*branches)Note
The main finding today is a Sous Chef no-op loop. PR Sous Chef posted the same Copilot assignment 33 times on #74985. The requested-work hash didn't change in 32 of them. The result was 15 Copilot sessions in 24h that did nothing (~75 runner-min). Every one of those replies said it was blocked on review threads that only a maintainer can resolve.
📈 Session Trends Analysis
Completion Patterns
Completion reached 90.0%, tying the 10-31 high. That is +26 pts vs 11-05 and +18.6 pts above the 7-day mean (71.4%). The 30-day mean is 56.2% (24 recorded days). Since 10-29 hard failures have stayed at 0–6 per day; most non-success runs were skipped or
action_requiredgates, not real failures. Today's only red run (CGO on #74940) went green 41 minutes later after an agent fix.Duration & Efficiency
The sample average (3.3 min) is below the 7-day mean (4.5 min) because short CI gates make up most of the sample. Real coding-agent sessions in the last 24h averaged 17.8–18.7 min. No session in the sample looped. The loop this time was outside the sample: the dispatcher kept re-requesting work on #74985, which the in-sample loop metric doesn't catch.
Key Metrics
Success Factors ✅
Specific, single-intent human prompts: when a maintainer's
@copilotcomment asked for one concrete change, Copilot almost always produced a commit or a verified answer.Done in d6f34ac(Show models powering auto in attribution footers #74985). "resolve the merge conflicts on this branch." →Resolved in 2bf81a3.Small, focused cloud-agent tasks merge quickly: all 11 cloud-agent sessions succeeded, and every PR that merged was small.
CI failure dispatch with links to the failing jobs: when a Sous Chef dispatch was about failing CI and linked the failing jobs, one session fixed it.
build-wasm,impacted-go-tests). Sous Chef dispatched at 04:54Z with job links, the addressing session ran 19.6 min, and CGO was green at 05:16Z.CI gates on Copilot pushes are healthy: 20/20 push clusters had at least one success, and 19/20 were all green. CWI, CJS, Work Queue and code-scanning were 100% green across the sample.
Failure Signals⚠️
Sous Chef re-dispatches with identical state (NEW): PR Sous Chef re-posts the same assignment while review threads stay unresolved. Copilot can't resolve threads, so each re-post ends in a no-op.
requested-workhash was the same in 32/33, and the same (head, state) pair was dispatched up to 9 times in a row. All 15 no-op replies named threadsr4475080603,r4475080618,r4475165420andr4475165477, e.g. "This request will keep repeating until a maintainer resolves threads ... I can't resolve them from here."Lock-file merge treadmill: generated
.lock.ymlconflicts drive both commits and prompts.main.Setup overhead: setup steps take a large share of each agent run's runner time.
Recompile workflowstook 154s and 142s, andInstall development dependenciestook 127s in the cloud-agent run.Processing Requeststarted.Sessions close to the 60-min cap: 3 addressing sessions ran 46.9, 52.2 and 55.7 min (Support GitHub App authentication for repo-memory #74937, Allow status-only reporters to read proven pre-agent custom outputs #74939, feat(experiments): add outcome-backed metrics with adaptive maturity windows #74992). None was cancelled at the cap today, but feat(experiments): add outcome-backed metrics with adaptive maturity windows #74992 is still the
[WIP]PR left by a cap cancel on 11-05.Infrastructure failures: 1 addressing session (Clarify strict-mode XPIA policy for nonsecret test/build state #74936) failed in
Install development dependenciesafter 28.7 min. On Add label-scoped title deduplication for create-issue #74941 one session failed inProcessing Requestat 5.3 min, and one session was cancelled (fix: pin activation lock checks to immutable workflow revision #75228, 14.2 min). On 11-05 a ruleset (commit_refs_rules) rejected pushes on Preserve retry diagnostics in external threat-detection artifacts #74940; the fix Fix PR branch rejection for Copilot-review-only rulesets #75230 merged today at 05:48Z.Prompt Quality Analysis 📝
Per-Prompt Breakdown
Classified from the 51 Copilot replies on PRs that had addressing-comment sessions in the last 24h:
@copilotpromptsHigh-Quality Prompt Characteristics
resolve the merge conflicts on this branch., 5 of 5 landed)execution.json": present in the follow-ups that produced commitsd6f34acand47e0fe75Example High-Quality Prompt:
Low-Quality Prompt Characteristics
Example Low-Quality Prompt (abridged):
Orphaned Branch Escalation Alerts 🚨
Summary
Escalation Candidate Details
Escalation Candidates
✅ No orphaned branches exceed the escalation threshold today.
11 runs were in progress across 6 branches. The highest was 3 gates on
pelikhan/evals-decision-fallback(#75339, opened 06:41Z, under 1h old). Every other PR branch had at most 1 active run.CI Waste Estimate
Notable Observations
Loop Detection and Session Diagnostics
Loop Detection
@copilotmention, and the next dispatch (20:20Z) came after a human-requested conflict fix and carried a new work hash.Tool Usage
Transcripts: 0/50.
gh api .../actions/jobs/{id}/logsreturnedDIFC policy violation (HTTP 403)for the second day in a row. I didn't try to work around it, and the pre-fetch logs directory was empty.Step-level time (from job step timings):
Missing tools: review-thread resolution. 14 of 15 no-op replies explicitly said Copilot couldn't resolve the threads.
Context Issues
pull_request(edited/opened) event triggered by Copilot's own PR updates; Squad was absent (it was 18 runs on 11-05). Over 24h Agentic Commands ran 397 times.24h Coding-Agent Outcomes
Experimental Analysis
Standard analysis only, no experimental strategy this run (roll 72 ≥ 30). The promoted
push_event_reattributionmetric is still reported: push-level completion was 20/20 (100%), compared with the raw 90.0%.Actionable Recommendations
For Users Writing Task Descriptions
Resolve review threads once Copilot has addressed them: unresolved threads are what make Sous Chef re-dispatch.
80fd66fwould have prevented 15 no-op sessions.Use one action with a checkable outcome (direct prompts had 0 no-ops vs 46.9% for re-posted dispatcher lists):
@copilot fix the attribution@copilot remove "Powered by" from the auto attribution label; keep just the comma-separated model listKeep cloud-agent tasks small: the 7 merged PRs had a median of 3 files; the 37-file refactor was closed.
For System Improvements
De-duplicate Sous Chef dispatches: skip re-dispatch when (
requested-head,requested-work,requested-state) matches the last dispatch Copilot answered with a no-op. Alternatively, drop threads with a newer Copilot reply fromrequested-work, or escalate to the PR author instead.Skip or cache
Recompile workflowsin Copilot setup steps when no.github/workflows/*.mdchanged. It took ~2.5 min in both measured sessions; if that's typical, it costs ≈3 runner-hours/day across 71 sessions.Capture transcripts in the pre-agent fetch step, since in-sandbox job-log reads are DIFC-blocked (2nd day).
Filter Copilot PR-body progress edits from Agentic Commands (
pull_request: editedby Copilot): 30% of today's sample.For Tool Development
Review-thread resolution for the coding agent (e.g. resolve after replying with a fix SHA)
Pre-flight push-rule check
commit_refs_rulesrejections before the agent spends a session on commits it can't pushHistorical Trends and Statistical Summary
Trends Over Time
Statistical Summary
Next Steps
Recompile workflowsin Copilot setup when no workflow.mdchangedsouschef_identical_state_redispatchrecursAnalysis generated automatically on 2026-11-06 at 07:20 UTC
Run ID: 42176060093
Workflow: Copilot Session Insights
All reactions