Skip to content

Comments

Add copilot-cli-update-checker agentic workflow for automated Copilot CLI monitoring#2303

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/create-agentic-workflow-check-updates
Closed

Add copilot-cli-update-checker agentic workflow for automated Copilot CLI monitoring#2303
Copilot wants to merge 2 commits intomainfrom
copilot/create-agentic-workflow-check-updates

Conversation

Copy link
Contributor

Copilot AI commented Oct 24, 2025

Overview

This PR adds a new agentic workflow that monitors the GitHub Copilot CLI for updates and provides comprehensive guidance on what to review when updating the version in this repository.

What This Workflow Does

The copilot-cli-update-checker workflow automates the process of staying up-to-date with Copilot CLI releases by:

  1. Checking for Updates: Runs weekly (Mondays at 4 PM UTC) to fetch the latest version from npm registry and compare it against the current version in pkg/constants/constants.go

  2. Analyzing Releases: When an update is detected, the AI agent performs comprehensive analysis including:

    • Release metadata (version, date, changelog links)
    • Changes classification (Breaking, Features, Fixes, Security, Performance)
    • CLI command discovery (installs new version, runs --help, compares with cached previous version)
    • Impact assessment specific to gh-aw integration
  3. Creating Actionable Issues: Automatically creates a GitHub issue with:

    • Complete summary of changes between versions
    • Detailed impact assessment for gh-aw integration points
    • Step-by-step update instructions
    • Testing requirements checklist
    • Migration notes for any breaking changes

What to Look for When Updating

The workflow provides detailed guidance on reviewing updates:

Files to Check

  • pkg/constants/constants.go - Update version constant
  • pkg/workflow/copilot_engine.go - Core engine compatibility
  • .github/instructions/copilot-cli.instructions.md - Documentation updates
  • pkg/workflow/js/parse_copilot_log.cjs - Log parsing compatibility
  • Test files with version references

Integration Points

  • MCP Configuration compatibility
  • Authentication/token handling changes
  • Command-line arguments validity
  • Log format parsing requirements
  • Environment variables changes
  • Node.js version requirements

Risk Assessment

The workflow assigns risk levels (Low/Medium/High) based on semantic versioning to help prioritize updates.

Key Features

  • Efficient: Uses cache-memory to store version checks and CLI help outputs, exits early if no updates detected
  • Thorough: Installs and tests CLI commands to discover new/deprecated features
  • Safe: Read-only permissions with safe-outputs for issue creation
  • Actionable: Creates detailed issues with step-by-step instructions and testing checklists

Comparison with Existing Workflows

While the existing cli-version-checker.md monitors multiple CLI tools (Claude Code, Copilot CLI, Codex, GitHub MCP Server), this new workflow:

  • Focuses exclusively on Copilot CLI for more detailed analysis
  • Runs weekly instead of daily
  • Provides more comprehensive CLI command discovery
  • Includes gh-aw-specific impact assessment
  • Creates more actionable update guidance

Files Added

  • .github/workflows/copilot-cli-update-checker.md (283 lines) - Workflow definition
  • .github/workflows/copilot-cli-update-checker.lock.yml (4043 lines) - Compiled GitHub Actions workflow

Testing

✅ Workflow compiles without errors
✅ All unit tests pass
✅ Lint checks pass
✅ Schema validation successful

Original prompt

Create an agentic workflow that checks if updates are available for copilot cli and what to look for when updating.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add agentic workflow to check for copilot cli updates Add copilot-cli-update-checker agentic workflow for automated Copilot CLI monitoring Oct 24, 2025
Copilot AI requested a review from pelikhan October 24, 2025 17:46
@pelikhan pelikhan closed this Oct 24, 2025
@pelikhan pelikhan deleted the copilot/create-agentic-workflow-check-updates branch October 26, 2025 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants