Add gh-aw MCP server to python-data-charts workflow#3533
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add gh-aw MCP server to python-data-charts workflow
Add gh-aw MCP server to python-data-charts workflow
Nov 9, 2025
pelikhan
approved these changes
Nov 9, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds the agentic-workflows MCP server to the python-data-charts workflow, enabling AI agents to analyze workflow execution history, download logs, and audit failures. The change adds workflow introspection capabilities to the Python data visualization workflow.
Key changes:
- Adds
agentic-workflows:tool to workflow frontmatter - Installs gh-aw CLI extension in the compiled workflow
- Configures agentic_workflows MCP server with GitHub token authentication
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/python-data-charts.md | Adds agentic-workflows tool to the tools configuration |
| .github/workflows/python-data-charts.lock.yml | Adds gh-aw extension installation step and agentic_workflows MCP server configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Enables workflow introspection capabilities (status, logs, audit, compile) for the python-data-charts workflow by adding the agentic-workflows MCP server.
Changes
agentic-workflows:tool to workflow frontmatterengine: copilot tools: + agentic-workflows: edit:This follows the pattern established in dev-hawk.md, craft.md, daily-firewall-report.md, and example-workflow-analyzer.md.
Impact
The workflow can now analyze its own execution history and debug failures using gh-aw MCP tools. Python library installation remains handled by the existing
shared/python-dataviz.mdimport.Original prompt
This section details on the original issue you should resolve
<issue_title>[q] Add gh-aw MCP server to python-data-charts workflow</issue_title>
<issue_description># Q Workflow Optimization Report
Context
This PR addresses the request: "/q fix workflow to pre install python libraries and configure gh-aw mcp"
Investigation Summary
Trigger Analysis
shared/python-dataviz.mdwhich handles Python library installationPython Library Installation Status ✅
Already Configured - The workflow imports
shared/python-dataviz.mdwhich includes:pip install --userfor local installationNo changes needed for Python library pre-installation - this is already working correctly via the shared import.
Changes Made
python-data-charts.md (.github/workflows/python-data-charts.md)
Added gh-aw MCP server tool:
tools: + agentic-workflows: edit:Why this change?
status,logs,audit,compile)Expected Improvements
✅ Workflow introspection enabled - Agent can now analyze workflow runs and performance
✅ Python libraries already pre-installed - No changes needed (handled by shared/python-dataviz.md)
✅ Debugging capabilities - Agent can use gh-aw tools to investigate issues
✅ Performance analysis - Agent can review logs and metrics from past runs
✅ Consistent patterns - Aligns with other workflows using gh-aw MCP server
Validation
✅ Workflow compiled successfully using
gh aw compile python-data-charts:.github/workflows/python-data-charts.lock.yml(243.3 KB)✅ No .lock.yml files included - Will be generated automatically after merge
Pattern Consistency
This change follows the established pattern from 4 other workflows already using
agentic-workflows:tool:dev-hawk.md- Development workflow monitorcraft.md- Workflow creation agentdaily-firewall-report.md- Firewall analysisexample-workflow-analyzer.md- Weekly workflow analysisTechnical Details
MCP Server Configuration
The
agentic-workflows:tool enables these capabilities:status- View workflow file status in repositorylogs- Download and analyze workflow run logsaudit- Investigate specific workflow run failurescompile- Validate workflow compilationNo Impact on Existing Functionality
Security & Best Practices
✅ Minimal changes - Only added one tool configuration line
✅ Validated compilation - Workflow compiles without errors
✅ Follows established patterns - Matches other workflows in the repository
✅ No new permissions needed - Existing permissions sufficient
✅ No lock files - Let automation handle .lock.yml generation
Q Mission Complete - Workflow optimized with minimal, surgical changes based on established patterns and validated compilation.
Show patch (48 lines)