fix: increase timeout-minutes to 30 for copilot-pr-nlp-analysis workflow - #47558
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot investigate why this takes so long and fix the the prompt. |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
The root cause was in the pre-agent Fix (commit
|
|
@copilot take 7 days |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done. Changed the analysis window to 7 days throughout — the pre-agent comment fetch step, the agent prompt (mission, context, jq example, edge cases, success criteria, and discussion template). |
🔍 PR Triage — §30008120537
Notes: Timeout bump 20→30 min for NLP analysis. Trivial config change + recompile. DRAFT. Fixes #47550. Batch with similar low-risk config PRs.
|
There was a problem hiding this comment.
Pull request overview
Intended to increase workflow timeout, but instead changes the analysis window while retaining the 20-minute timeout.
Changes:
- Filters comments to PRs merged within seven days.
- Changes reporting from daily to rolling weekly analysis.
- Recompiles the generated workflow.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/copilot-pr-nlp-analysis.md |
Changes analysis scope; timeout remains 20 minutes. |
.github/workflows/copilot-pr-nlp-analysis.lock.yml |
Regenerates workflow without increasing timeout. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Medium
| ## Mission | ||
|
|
||
| Generate a daily NLP-based analysis report of Copilot-created PRs merged within the last 24 hours, focusing on conversation patterns, sentiment trends, and topic clustering. Post the findings with visualizations as a GitHub Discussion in the `audit` category. | ||
| Generate a weekly NLP-based analysis report of Copilot-created PRs merged within the last 7 days, focusing on conversation patterns, sentiment trends, and topic clustering. Post the findings with visualizations as a GitHub Discussion in the `audit` category. |
|
🎉 This pull request is included in a new release. Release: |
The
copilot-pr-nlp-analysisworkflow was consistently hitting the 20-minute timeout — the NLP pipeline (comment fetching, Python analysis, chart generation, asset uploads, discussion post) requires more headroom than the previous limit allowed.Changes
.github/workflows/copilot-pr-nlp-analysis.md:timeout-minutes: 20→timeout-minutes: 30.github/workflows/copilot-pr-nlp-analysis.lock.yml: recompiled