[WIP] Add daily agentic workflow for pull request analysis#1885
Merged
[WIP] Add daily agentic workflow for pull request analysis#1885
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Creates new workflow that runs daily at 10am UTC - Analyzes PRs created by copilot-swe-agent in last 24h - Tracks metrics: outcome, comments, timing, files changed - Implements cache-memory for historical data storage - Provides trending analysis comparing current vs historical performance - Monitors instruction file changes and correlates with performance - Uses Claude engine with GitHub API tools - Creates issues with comprehensive analysis and recommendations Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
pelikhan
approved these changes
Oct 17, 2025
Contributor
|
Agentic Changeset Generator triggered by this pull request. |
- Fix bash commands to handle missing directories safely - Improve pull_request_read usage instructions - Add error handling for find commands - Update bash tool permissions to be safer Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✅ Complete Implementation
Successfully implemented a comprehensive daily workflow to analyze copilot-swe-agent pull requests.
All Requirements Met
.github/workflows/copilot-agent-analysis.mdgh-aw compileImplementation Summary
Workflow Details:
.github/workflows/copilot-agent-analysis.md(451 lines).github/workflows/copilot-agent-analysis.lock.yml(3903 lines, 200KB)Core Features:
PR Analysis (Phase 1-2)
Summary Table (Phase 3)
Historical Trending (Phase 4)
/tmp/gh-aw/cache-memory/copilot-agent-metrics/history.jsonInstruction Correlation (Phase 5)
.github/for instruction file changesAutomated Reporting (Phase 6)
Tools & Permissions:
Safety & Security:
Testing & Validation:
Documentation:
Example Output
The workflow will generate daily issues like:
Files Changed
.github/workflows/copilot-agent-analysis.md(13KB).github/workflows/copilot-agent-analysis.lock.yml(200KB)Next Steps
This PR is ready for review. Once merged, the workflow will:
The workflow can also be manually triggered via workflow_dispatch for testing or ad-hoc analysis.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.