Repository navigation
[copilot-session-insights] Daily Copilot Agent Session Analysis — 2026-11-07 #75634
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Copilot Session Insights. A newer discussion is available at Discussion #75858. |
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.
Warning
Threat detection engine error
Threat detection could not complete its analysis due to a tooling error. This is not a security finding.
What happened
The threat detection results could not be parsed.
Review the workflow run logs to troubleshoot the error.
🤖 Copilot Agent Session Analysis — 2026-11-07
Executive Summary
The one failure today came from the PR's own code, not from the base branch.
CGOfailed on #75615, whose base commit466663fwas green onmain. The cloud-agent session that pushed the change finished about 6 minutes before CGO reported back, so the agent never saw the red result. Separately, the 60-minute cloud-agent cap was hit again, and the resulting PR (#75444) was merged with[WIP]still in its title.Key Metrics
📈 Session Trends Analysis
Completion Patterns
Completion has stayed at or above 46% for 10 straight recorded days (Oct 29 → Nov 07). The 25-day mean is 57%. Hard failures plus cancellations have been 0–1 per sample for 4 straight days, down from 5–6 on Nov 02–03. Today's 9 non-successes are almost all skips (6
Squad, 3PR Specification Reviewer). These are expected skips, not regressions.Duration & Efficiency
Sample durations keep shrinking: the average fell from 5.0 min (11-04) to 2.1 min today. The cause is that the sample is mostly ~35-second Agentic Commands routing runs (19/50), not that agents got faster. The real coding-agent cost shows up in the 24h rollup: cloud-agent runs averaged 26.1 min and addressing-comment runs 24.6 min. No loops were detected for the 3rd sample in a row.
Success Factors ✅
model-routing-*,route-claude-code-workflows) named the exact workflows to change. All 4 PRs merged within about 3–8h.fix-*tasks: 9fix-*cloud-agent branches. 6 merged, 2 closed, 1 open draft.souschef_identical_state_redispatch) did not come back.Failure Signals⚠️
agent_session_ends_before_ci): the Document generated permissions and preserve author comments #75615 cloud agent (run 42343254472, 32.5 min) ended at about 06:06Z. CGO then failed at 06:12Z inbuild-wasm(wasm golden tests) andimpacted-go-tests.466663fwas green onmain(05:27Z), and sibling PRs [file-diet] Split run artifact processor into focused files #75620 and Reject run-step expressions in shell re-evaluation contexts #75366 passed CGO.scripts/agent-report-progress.shdoesn't runmake test-wasm-golden. A plausible cause is a change to compiler output (the PR documents generated permissions) without regenerating the golden files. This is unconfirmed because the job log is blocked.[WIP]title merged (cloud_agent_60min_cap_wip, now confirmed, 2nd occurrence):copilot/self-hosted-isolate-job-runtimewas cancelled at 59.4 min. The re-run succeeded at 57.8 min, also near the cap. PR [WIP] Fix cleanup and isolation for self-hosted job runtimes #75444 was then merged with the title "[WIP] Fix cleanup and isolation for self-hosted job runtimes".agent_reply_comment_fanout, 4th day): Copilot's review-thread replies on Reject run-step expressions in shell re-evaluation contexts #75366 triggered 7Agentic Commandsand 6Squadruns within 2 seconds at 05:56Z. That is 13 of the 50 sampled runs (26%). Each skippedSquadrun uses the agent's reply text as its run title.Recompile workflowstakes 122s andInstall development dependenciestakes 111s, about 3.9 min per run × 28 runs ≈ 1.8 runner-hours/day.Prompt Quality Analysis 📝
Per-Prompt Breakdown
Prompt text isn't available in the session data, and transcripts are blocked. Prompt quality is therefore inferred from task titles, branch names and PR outcomes for the 27 cloud-agent branches in the last 24h.
High-Quality Prompt Characteristics
fix-*PRs mergedspdd-daily-spec-work-plan,spec-librarian-*): 12.3 min and 9.5 min sessions, both mergedExample High-Quality Prompt (reconstructed from outcome):
Low-Quality Prompt Characteristics
Example Low-Quality Prompt:
Orphaned Branch Escalation Alerts 🚨
Summary
Escalation Candidate Details
Escalation Candidates
✅ No orphaned branches exceed the escalation threshold today. All 4 in-progress runs from the last 6 hours are on
main, and every one of the 9 open PRs has Copilot assigned.CI Waste Estimate
Notable Observations
Loop Detection and Session Diagnostics
Loop Detection
Tool Usage
gh api .../jobs/{id}/logsreturnsDIFC policy violation (HTTP 403)), and the pre-fetchedlogs/directory was empty.Processing Requestaveraged 19.6 min out of a 25.9 min jobContext Issues
Workflow mix in sample
Experimental Analysis
Standard analysis only - no experimental strategy this run (roll = 83).
Actionable Recommendations
For Users Writing Task Descriptions
<file>, (a) remove the job-runtime directory in post-steps, (b) run as the effective runner user; add regression tests in<test file>"For System Improvements
make test-wasm-goldento the change-scopedagent-report-progressgate wheneverpkg/workflowcompiler output changes. Alternatively, have the agent wait for or poll the PR's CGO result before ending the session.[WIP]titles at merge after a cap-cancelled session. A merge-time title check or a Sous Chef rule would have caught [WIP] Fix cleanup and isolation for self-hosted job runtimes #75444.SquadandAgentic Commandstriggers. Today they produced 13/50 runs of noise, and this is the 4th day the pattern has appeared.Recompile workflowsand dev-dependency setup steps for the coding agent (≈ 3.9 min per run, ≈ 1.8 runner-h/day).For Tool Development
Historical Trends and Statistical Summary
Trends Over Time
maininheritance seen on 11-01 to 11-03 did not recur, becausemainCGO recovered by 05:27Z.Statistical Summary
Next Steps
test-wasm-goldenbelongs in the change-scoped pre-PR gate[WIP]title) and add a merge-time[WIP]guardSquad/Agentic CommandstriggersAnalysis generated automatically on 2026-11-07 at 07:10 UTC
Run ID: 42347916061
Workflow: Copilot Session Insights
All reactions