Skip to content

Conversation

@LiTree89
Copy link

No description provided.

Copilot AI review requested due to automatic review settings December 20, 2025 21:46
Copy link
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

This PR improves file handling for Go and Java runtime plugins by adding dynamic extension support for Go and Windows platform support for Java. The changes also include minor formatting cleanup in the README.

  • Go plugin now uses dynamic {{.Extension}} variable in templates to properly handle different file formats (tar.gz for Linux/macOS, zip for Windows)
  • Java plugin adds Windows binary path configuration to support Windows platforms
  • README formatting improved by removing an unnecessary blank line

Reviewed changes

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

File Description
plugins/runtimes/go/plugin.yaml Updated URL and filename templates to use dynamic Extension variable for cross-platform file format support
plugins/runtimes/java/plugin.yaml Added Windows binary path configuration alongside existing darwin and linux paths
README.md Removed extraneous blank line for cleaner formatting

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

darwin: "Contents/Home/bin/java"
linux: "bin/java"
linux: "bin/java"
windows: "bin/java"
Copy link

Copilot AI Dec 20, 2025

Choose a reason for hiding this comment

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

Windows binary path is defined here, but there is no corresponding Windows mapping in the os_mapping section (lines 14-16). Without an os_mapping entry for Windows, the download URL template will not work correctly for Windows platforms. Consider adding a Windows mapping similar to other plugins, such as "windows": "windows" in the os_mapping section.

Copilot uses AI. Check for mistakes.
@codacy-production
Copy link

codacy-production bot commented Dec 20, 2025

Codacy's Analysis Summary

1 new issue (≤ 1 medium issue)
0 new security issue (≤ 0 issue)
9 complexity
1 duplication

Review Pull Request in Codacy →

AI Reviewer available: add the codacy-review label to get contextual insights without leaving GitHub.

return codacyIssues
}

func buildResultsFromIssues(codacyIssues []map[string]interface{}, artifacts []struct {

Choose a reason for hiding this comment

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

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.

1 participant