Migrate issue-triage workflow from event-based to scheduled batch processing with duplicate detection#10748
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. Comment |
Co-authored-by: stnguyen90 <[email protected]>
Security Scan Results for PRDocker Image Scan Results
Source Code Scan Results🎉 No vulnerabilities found! |
|
Previous PR: |
✨ Benchmark results
⚡ Benchmark Comparison
|
There was a problem hiding this comment.
@copilot, update this workflow to also try and find duplicate issues and add a comment listing all the potentially related issues.
There was a problem hiding this comment.
Updated the workflow to actively search for duplicate and related issues and list them in the triage comment.
Changes in commit 2f84315:
- Step 5: Enhanced to explicitly search for duplicates using
search_issuestool with key terms from issue title/description - Step 10: Added requirement to include "🔗 Potentially Related Issues" section when matches are found
- Searches both open and closed issues for comprehensive detection
Co-authored-by: stnguyen90 <[email protected]>
The issue-triage agentic workflow previously triggered on every new/reopened issue. This creates N workflow runs per day and provides immediate but resource-inefficient triage. By running once per day, we'll only use 1 premium request per month. In addition, this workflow won't run into permission issues where the issue can't trigger issues created by non-maintainers.
Changes
Trigger configuration (
.github/workflows/issue-triage.md)issues: [opened, reopened]withschedule: cron: '0 0 * * *'workflow_dispatchfor manual executionWorkflow logic
list_issueswithsinceparameter to fetch issues from last 24 hourssearch_issuestool with key terms from issue title and descriptionConcurrency
gh-aw-${{ github.workflow }}-${{ github.event.issue.number }}togh-aw-${{ github.workflow }}Compiled artifacts
Regenerated
.github/workflows/issue-triage.lock.ymlviagh-aw compileBehavioral change
Issues triaged once daily (00:00 UTC) instead of immediately upon creation. Maximum triage delay: 24 hours. Use
workflow_dispatchfor immediate triage needs.> [!WARNING]
>
>
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.