Skip to content

Conversation

@heliocodacy
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings January 14, 2026 12:25
@codacy-production
Copy link

Codacy's Analysis Summary

0 new issue (≤ 1 medium issue)
0 new security issue (≤ 0 issue)

Review Pull Request in Codacy →

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

@codacy-production
Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% (target: -0.50%) (target: 50.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (9c754da) 5765 1157 20.07%
Head commit (64479e7) 5765 (+0) 1157 (+0) 20.07% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#189) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

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 updates the Flutter plugin's download URL template to use a dynamic extension placeholder instead of a hardcoded .zip extension, aligning it with how other runtime plugins handle different archive formats across operating systems.

Changes:

  • Modified the url_template in Flutter plugin configuration to use {{.Extension}} instead of hardcoded .zip
Comments suppressed due to low confidence (1)

plugins/runtimes/flutter/plugin.yaml:9

  • The ExtensionConfig struct only supports 'windows' and 'default' fields. The 'linux' field will be ignored by the GetExtension function, which only checks for 'windows' and falls back to 'default' for all other OSes. Either the ExtensionConfig struct needs to be updated to support OS-specific extensions beyond Windows, or the linux entry should be removed and default should be set to 'tar.xz' if that's the intended extension for all non-Windows platforms.
  extension:
    default: "zip"
    linux: "tar.xz"

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

@@ -1,8 +1,8 @@
name: flutter
description: Dart Flutterruntime
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

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

Missing space between 'Flutter' and 'runtime'. Should be 'Dart Flutter runtime'.

Suggested change
description: Dart Flutterruntime
description: Dart Flutter runtime

Copilot uses AI. Check for mistakes.
@heliocodacy heliocodacy merged commit a712ffa into main Jan 14, 2026
16 checks passed
@heliocodacy heliocodacy deleted the fix-flutter-extension-linux branch January 14, 2026 12:54
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.

3 participants