Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 3, 2025

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

Changes Made

Added Files

  • .github/workflows/triage-agent.yml - GitHub Actions workflow that automatically labels and comments on new issues using AI
  • .github/llms.md - Documentation containing guidelines for LLM-based issue labeling and Java extension context

Key Features

  • Automatic Issue Triage: The workflow triggers on new issue creation and can also be run manually via workflow dispatch
  • AI-Powered Labeling: Uses Azure Function integration to analyze issue content and apply appropriate labels
  • Java Extension Context: Includes comprehensive documentation about the Java extension ecosystem to guide proper issue categorization

Configuration Updates

  • Updated the repoId from microsoft/vscode-gradle to microsoft/java-debug to ensure the triage agent correctly identifies this repository
  • Maintained all existing error handling, timeout management, and HTTP status validation from the original workflow

Dependencies

The workflow requires the following repository secrets to be configured:

  • GITHUB_TOKEN - For GitHub API access (automatically provided)
  • TRIAGE_FUNCTION_LINK - Azure Function endpoint URL
  • Repository variable TRIAGE_AGENT_TIMEOUT - Timeout configuration for the triage agent

This enhancement will help maintainers by automatically categorizing new issues, reducing manual triage effort, and ensuring consistent labeling across the repository.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@chagong
Copy link
Contributor

chagong commented Sep 3, 2025

Co-authored-by: chagong <831821+chagong@users.noreply.github.com>
@chagong chagong marked this pull request as ready for review September 3, 2025 07:00
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 workspace, you need to update the ... Add AI triage workflow and LLM documentation for automated issue management Sep 3, 2025
Copy link
Contributor Author

Copilot AI commented Sep 3, 2025

You must fetch the files from links: https://github.com/microsoft/vscode-gradle/blob/develop/.github/workflows/triage-agent.yml and https://github.com/microsoft/vscode-gradle/blob/develop/.github/llms...

The files have been successfully fetched from the vscode-gradle repository and added to the working branch in commit 8e7a474. Both files are complete and correctly configured:

  • .github/workflows/triage-agent.yml - AI triage workflow with repoId updated to "microsoft/java-debug"
  • .github/llms.md - Complete LLM documentation with Java extension context

The workflow is ready to automatically label and comment on new issues.

Copilot AI requested a review from chagong September 3, 2025 07:08
@chagong chagong merged commit 614b10d into main Sep 3, 2025
8 checks passed
@chagong chagong deleted the copilot/fix-03b3dfd5-d6b7-4c71-ad82-70d9263726bb branch September 3, 2025 08:30
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