Repository navigation
[copilot-session-insights] Daily Copilot Agent Session Analysis — 2026-10-19 #70190
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Copilot Session Insights. A newer discussion is available at Discussion #70468. |
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-10-19
This run's pre-fetched data (
/tmp/gh-aw/agent/session-data/sessions-list.json, 50 entries) does not contain Copilot coding-agent sessions. All 50 entries are CI gate / check-run workflows —CGO,CWI,CJS,Work Queue Compilation Integration,Doc Build - Deploy,Code scanning AI findings on PR #...,Agentic Commands— spread across just 2 PR branches. Correspondingly, 0 of 50{run_id}-conversation.txttranscript files were present in/tmp/gh-aw/agent/session-data/logs/.This is worse than the recent trend (prior worst was 1–3/50 logs available, see Historical Trends below) and appears to be a genuine regression in the
copilot-session-data-fetchshared module's run-selection logic, not a one-off empty day. Recommended action: review that module's workflow-run filter to confirm it targets actual Copilot coding-agent runs rather than CI gate/check workflows.Because of this, the deep behavioral analysis this workflow is designed to produce — tool usage patterns, turn-by-turn token efficiency, loop detection, prompt-quality correlation, context-confusion detection — could not be performed this run. The metrics below are metadata-only continuity figures computed from the CI-gate-run population (for trend comparability with prior days), not true agent-session behavioral data.
Executive Summary
Key Metrics
Provenance Breakdown (metadata-only, not behavioral)
copilot/add-declarative-webhook-triggers35/50 = 70.0% (dominant),copilot/fix-push-to-pull-request-branch-again15/50 = 30.0%. Only 2 branches total, narrower than any prior recorded day.created_at/updated_attimestamps (instant CI-gate fires), so this is not representative of real agent session duration.📈 Session Trends Analysis
Completion Patterns
Raw completion held roughly flat (66.0% vs 68.0% on 2026-10-18), continuing the recovery from the 2026-10-17 trough (18.0%). However, this reading should be read with caution: it reflects CI-gate/check-run outcomes for this run, not genuine agent-session completions, because of the data-fetch issue described above.
Duration & Efficiency
Duration figures have been volatile over the last 30 days (1.2 min to 18.5 min mean), largely driven by which workflow types dominate the fetched population on a given day rather than genuine session-complexity changes. Per-day loop/retry counts are not tracked historically in cache memory, so that series is omitted from the chart rather than fabricated — this is a gap worth closing in the cache schema.
Orphaned Branch Escalation Alerts 🚨
Summary
Escalation Candidate Details
Escalation Candidates
✅ No orphaned branches exceed the escalation threshold today. Only 1 in-progress workflow run existed across all open PRs at check time (max gate_count/branch = 1), well below the ≥5 threshold.
CI Waste Estimate
Not applicable — no escalation candidates today.
What Couldn't Be Analyzed This Run
Due to the 0/50 conversation-log availability, the following standard analysis strategies could not be executed:
tool.execution_start/tool.execution_completelines to analyzeuser.messageturns to assessassistant.usagelines with model/token dataActionable Recommendations
For System Improvements
copilot-session-data-fetchrun selection: Today's fetch returned CI gate/check-run workflows (CGO,CWI,CJS,Work Queue Compilation Integration,Doc Build - Deploy,Code scanning AI findings,Agentic Commands) instead of actual Copilot coding-agent session runs. This has been a partial problem for weeks (1–3/50 logs on a "good" day per cache history) but today it's total (0/50) and the run population itself is wrong.session-analysis/history.jsondoes not currently store a daily loop-count field, forcing the duration chart to omit that series rather than fabricate it.For Tool Development
cca-engine/events.jsonlartifacts) in the fetch module would allow this workflow to self-detect a wrong-population day and raisemissing_dataimmediately instead of silently analyzing the wrong dataset.Historical Trends and Statistical Summary
Trends Over Time
gh apidata source.Statistical Summary
Next Steps
copilot-session-data-fetchshared module's run-selection logic (it's returning CI gate/check-run workflows instead of Copilot agent sessions)missing_dataimmediately on a wrong-population dayAnalysis generated automatically on 2026-10-19
Run ID: 39214164846
Workflow: Copilot Session Insights
All reactions