Skip to content

Add AI-powered triage agent workflow and documentation for automated issue management#124

Merged
chagong merged 3 commits intomainfrom
copilot/fix-87a746c7-4ed4-469f-a661-ddb6737244e0
Sep 4, 2025
Merged

Add AI-powered triage agent workflow and documentation for automated issue management#124
chagong merged 3 commits intomainfrom
copilot/fix-87a746c7-4ed4-469f-a661-ddb6737244e0

Conversation

Copy link
Contributor

Copilot AI commented Sep 3, 2025

This PR integrates an AI-powered triage agent system to automatically analyze, label, and manage new issues in the vscode-lombok repository. The implementation is based on the proven workflow from the vscode-gradle repository, adapted for the specific scope of Lombok annotation support.

Changes Made

1. Triage Agent Workflow (.github/workflows/triage-agent.yml)

Adds a GitHub Actions workflow that:

  • Automatically triggers when new issues are opened
  • Supports manual dispatch for re-triaging existing issues
  • Calls an Azure Function to analyze issue content using AI
  • Automatically applies appropriate labels based on issue content
  • Includes robust error handling and timeout management
  • Key Update: Modified repoId from microsoft/vscode-gradle to microsoft/vscode-lombok to correctly target this repository

2. LLM Documentation (.github/llms.md)

Provides contextual information for the AI triage system:

  • Describes the vscode-lombok extension's specific functionality (Lombok annotation support)
  • Defines clear labeling rules for Lombok-related issues
  • Establishes guidelines for distinguishing between bug reports, enhancements, documentation, and questions
  • Customized Content: Replaced generic Extension Pack for Java content with vscode-lombok-specific information

Benefits

  • Automated Issue Management: Reduces manual effort in categorizing and labeling new issues
  • Consistent Labeling: Ensures issues are labeled according to established patterns
  • Improved Response Time: Helps maintainers quickly identify issue types and priorities
  • Better Issue Organization: Makes it easier to filter and search for specific types of issues

Technical Details

The workflow requires the following repository secrets to be configured:

  • TRIAGE_FUNCTION_LINK: URL endpoint for the Azure Function
  • Repository variables:
    • TRIAGE_AGENT_TIMEOUT: Timeout value for the triage requests

The system is designed to fail gracefully if the Azure Function is unavailable, ensuring it won't block issue creation or repository operations.


💡 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.

Copilot AI and others added 2 commits September 3, 2025 07:10
Co-authored-by: chagong <831821+chagong@users.noreply.github.com>
Co-authored-by: chagong <831821+chagong@users.noreply.github.com>
Copilot AI changed the title [WIP] create a new branch, fetch https://github.com/microsoft/vscode-gradle/blob/develop/.github/workflows/triage-agent.yml and https://github.com/microsoft/vscode-gradle/blob/develop/.github/llms.md , add them into current repo, you need to update the paylo... Add AI-powered triage agent workflow and documentation for automated issue management Sep 3, 2025
Copilot AI requested a review from chagong September 3, 2025 07:14
@chagong chagong marked this pull request as ready for review September 3, 2025 07:41
@chagong chagong merged commit b4e1715 into main Sep 4, 2025
4 checks passed
@chagong chagong deleted the copilot/fix-87a746c7-4ed4-469f-a661-ddb6737244e0 branch September 4, 2025 01:38
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.

4 participants