Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 3, 2025

This PR adds AI-powered issue triage capabilities to the vscode-java-dependency repository by integrating the triage agent workflow and LLM documentation from the vscode-gradle repository.

Changes Made

Added Files

  1. .github/workflows/triage-agent.yml - AI-powered workflow that automatically triages new issues by:

    • Triggering on new issue creation or manual workflow dispatch
    • Extracting issue metadata (title, body, labels, user)
    • Calling an Azure Function for AI-powered analysis
    • Automatically applying appropriate labels and comments
  2. .github/llms.md - Documentation that provides:

    • Overview of Extension Pack for Java components
    • Labeling guidelines for AI triage
    • Issue type categorization rules
    • Context for LLM understanding of Java extension ecosystem

Key Updates

  • Updated the repoId in the workflow payload from "microsoft/vscode-gradle" to "microsoft/vscode-java-dependency" to ensure proper repository identification
  • Maintained all original functionality while adapting it for this repository's context

Benefits

  • Automated Issue Triage: Reduces manual effort in categorizing and labeling new issues
  • Consistent Labeling: Ensures standardized issue classification across the repository
  • Improved Response Time: Faster initial response to new issues through automated analysis
  • Better Issue Management: Enhanced organization and tracking of issues through systematic labeling

Technical Details

The workflow uses GitHub Actions with the following key components:

  • Trigger: Activates on new issues or manual dispatch with issue number
  • Data Extraction: Captures issue metadata using GitHub Script API
  • AI Processing: Sends structured payload to Azure Function for analysis
  • Error Handling: Comprehensive timeout and error handling for reliable operation

This implementation brings the same AI-powered triage capabilities that have been successfully used in the vscode-gradle repository to help manage and organize issues more effectively.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

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 triage agent workflow and LLM documentation from vscode-gradle Sep 3, 2025
Copilot AI requested a review from chagong September 3, 2025 07:12
@chagong chagong marked this pull request as ready for review September 3, 2025 07:40
@chagong chagong merged commit 852589a into main Sep 4, 2025
4 of 6 checks passed
@chagong chagong deleted the copilot/fix-83ddbf48-73f2-45b3-9479-e038bbaa3c97 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