Skip to content

Update modernize-java plugin#1763

Open
leonard520 wants to merge 1 commit into
github:stagedfrom
leonard520:sync-java-upgrade-20260519-034717
Open

Update modernize-java plugin#1763
leonard520 wants to merge 1 commit into
github:stagedfrom
leonard520:sync-java-upgrade-20260519-034717

Conversation

@leonard520
Copy link
Copy Markdown
Contributor

@leonard520 leonard520 commented May 19, 2026

…ure-java-migration-copilot-vscode-extension@4657622

Source commit: 4657622462e4904f9619e35b4f2919bfa56c454e

Source branch: fix/sync-from-release-tag

Triggered by: haital_microsoft

Workflow: https://github.com/devdiv-azure-service-dmitryr/azure-java-migration-copilot-vscode-extension/actions/runs/26074926939

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have read and followed the Guidance for submissions involving paid services.
  • My contribution adds a new instruction, prompt, agent, skill, or workflow file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, skill, or workflow with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.
  • I am targeting the staged branch for this pull request.

Description


Type of Contribution

  • New instruction file.
  • New prompt file.
  • New agent file.
  • New plugin.
  • New skill file.
  • New agentic workflow.
  • Update to existing instruction, prompt, agent, plugin, skill, or workflow.
  • Other (please specify):

Additional Notes


By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

…ure-java-migration-copilot-vscode-extension@4657622

Source commit: 4657622462e4904f9619e35b4f2919bfa56c454e

Source branch: fix/sync-from-release-tag

Triggered by: haital_microsoft

Workflow: https://github.com/devdiv-azure-service-dmitryr/azure-java-migration-copilot-vscode-extension/actions/runs/26074926939
Copilot AI review requested due to automatic review settings May 19, 2026 05:32
@leonard520 leonard520 requested a review from aaronpowell as a code owner May 19, 2026 05:32
@github-actions github-actions Bot added agent PR touches agents plugin PR touches plugins labels May 19, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🔍 Skill Validator Results

✅ All checks passed

Scope Checked
Skills 1
Agents 1
Total 2
Severity Count
--- ---:
❌ Errors 0
⚠️ Warnings 0
ℹ️ Advisories 0

Summary

Level Finding
ℹ️ Found 1 agent(s)
ℹ️ Validated 1 agent(s)
ℹ️ ✅ All checks passed (1 agent(s))
Full validator output ```text Found 1 agent(s) Validated 1 agent(s)

✅ All checks passed (1 agent(s))

</details>

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the modernize-java plugin to align with upstream release 1.17.0, including MCP server invocation tweaks and a significant refresh of the modernize-java agent’s workflow/plan-generation guidance.

Changes:

  • Bumped plugin version to 1.17.0 and pinned the MCP server package to @1.17.0, adding --callerType plugin.
  • Updated the modernize-java agent guidance (plan format spec, event reporting details, precheck behavior changes).
  • Added a PostToolUse hook to the agent front matter to run telemetry scripts after tool usage.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
plugins/modernize-java/.github/plugin/plugin.json Bumps plugin version and adjusts MCP server npx args (pin + callerType).
agents/modernize-java.agent.md Expands/changes upgrade workflow instructions and adds a PostToolUse hook command.

Comment on lines +18 to +19
command: "bash .github/java-upgrade/hooks/scripts/recordToolUse.sh"
windows: "powershell -NonInteractive -File .github/java-upgrade/hooks/scripts/recordToolUse.ps1"
@aaronpowell
Copy link
Copy Markdown
Contributor

Is this in a public github repo? Would it be worth migrating to the external plugin model?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent PR touches agents plugin PR touches plugins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants