[prompt-analysis] Copilot PR Prompt Analysis - 2026-03-14 #20908
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it expired on 2026-03-15T05:05:20.309Z.
|
Beta Was this translation helpful? Give feedback.
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.
-
Summary
Analysis Period: Last 30 days
Total PRs: 1,000 | Merged: 790 (79.0%) | Closed: 209 (20.9%) | Open: 1 (0.1%)
Prompt Categories and Success Rates
Bug Fix is by far the dominant category (83% of all PRs), indicating the agent is primarily being used for corrective work. Documentation PRs have the lowest success rate at 62.5%.
Prompt Analysis
✅ Successful Prompt Patterns
Common characteristics in merged PRs:
safe,workflow,update,github,remove,docs,output,agent,copilot,errorExample Merged PRs
PR #20901:
fix: disable HTTP server timeouts in safe-outputs MCP server to prevent idle connection dropsPR #20899:
fix: safe-output-items.jsonl always empty and SafeItemsCount always 0PR #20898:
Fix add-wizard/add --create-pull-request failing on GitHub Enterprise Server reposPR #20897:
fix: close_pull_request missing from config.json despite being in handler configPR #20895:
fix: correct stale with: version: when uses: comment and version drifted before upgrade❌ Unsuccessful Prompt Patterns
Common characteristics in closed PRs:
workflow,github,remove,update,copilot,feat,token,support,checkout,stepsfeat(15 occurrences) andtoken(13 occurrences) are disproportionately present in closed PRs[WIP]prefixed PRs are consistently closedExample Closed PRs
PR #20896:
fix: gh aw upgrade always corrects with: version: drift in copilot-setup-steps.ymlPR #20894:
fix: register close_pull_request in safe-outputs config.jsonPR #20874:
[WIP] Add test for new featurePR #20855:
fix: bump TypeScript target/lib to es2022 to support Array.at()PR #20843:
fix: restore 3 missing backward-compatible action pin entriesKey Insights
Longer, more specific prompts succeed more: Merged PR prompts average 975 words vs 868 words for closed (+12%). Prompts that include root cause analysis, file references, and reproduction steps consistently get merged.
Superseded PRs are the primary driver of closures: Many closed PRs (like fix: register close_pull_request in safe-outputs config.json #20894→fix: close_pull_request missing from config.json despite being in handler config #20897, fix: gh aw upgrade always corrects with: version: drift in copilot-setup-steps.yml #20896→fix: correct stale
with: version:whenuses:comment and version drifted before upgrade #20895) are near-duplicates that were superseded by refined re-attempts. This is expected behavior in an iterative agent workflow."feat:" and "token" correlate with closures: The
featkeyword appearing disproportionately in closed PR titles suggests PRs using conventional commit format for new features tend to be more exploratory/iterative.tokenrelated PRs may indicate auth/credential challenges that require multiple attempts.Documentation PRs underperform (62.5%): Docs PRs have the lowest merge rate. This may indicate higher reviewer scrutiny or more frequent "not needed" determinations for doc changes.
Recommendations
[WIP]prefix or vague placeholder descriptions ("I will get started on it...") — these always result in closure.Historical Trends (Last 7 Days)
Trend: 📈 Consistent improvement over the past 10 days — merge rate has risen from ~77.2% to 79.0% (+1.8 percentage points). The dataset covers the same rolling 30-day window so the improvement reflects both new successful PRs entering and old closed PRs aging out.
Data Quality Notes
fix:conventional commit prefixReferences: Workflow Run §23080879081
Beta Was this translation helpful? Give feedback.
All reactions