Skip to content

Conversation

@Gustl22
Copy link
Contributor

@Gustl22 Gustl22 commented Oct 2, 2025

According to #113931 and #123288 and flutter/engine#40546 (comment) the beta and stable builds were removed because Dart didn't support arm64 on stable, too. This is now obsolete as the Dart SDK for arm64 is available on stable (since Dart 3.3.0): https://dart.dev/get-dart/archive

Basically reverts flutter/engine#40546
Contributes to #164431, #62597
Probably closes #137161

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

@github-actions github-actions bot added the engine flutter/engine related. See also e: labels. label Oct 2, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request enables the windows_arm_host_engine build for beta and stable branches by removing the enabled_branches restriction. While this aligns with the updated Dart SDK support, enabling a build on release branches without a trial period can be risky. If the build is unstable, it could block releases. I have provided a suggestion to mitigate this risk by using the bringup: true flag, which will allow the build's stability to be monitored without blocking the tree on failures.

@Gustl22
Copy link
Contributor Author

Gustl22 commented Oct 5, 2025

This is also needed on the "master" channel. If checking out the stable version tags of git e.g. via subosito/flutter-action, it still uses the engine builds of the according stable versions, which do not exist yet and then falls back to x64:

Write-Host "The current channel's Dart SDK does not support Windows Arm64, falling back to Windows x64..."

There don't exist any arm64 windows engine builds (in contrast to linux-arm64) at the moment.

Is there a browsable index of all builds? E.g. for this one?
http://storage.googleapis.com/flutter_infra_release/flutter/1ceedcd59f51386e730cb11df6467143817b2ed1/dart-sdk-windows-arm64.zip

@chinmaygarde
Copy link
Member

The patch and the verification of the dependent issues no longer being relevant looks good to me.

@chinmaygarde chinmaygarde added the team-infra Owned by Infrastructure team label Oct 6, 2025
@github-actions github-actions bot removed the team-infra Owned by Infrastructure team label Oct 6, 2025
@Gustl22
Copy link
Contributor Author

Gustl22 commented Oct 7, 2025

@chinmaygarde I think the team-infra label doesn't apply to Pull Requests

@jtmcdole
Copy link
Member

This is also needed on the "master" channel. If checking out the stable version tags of git e.g. via subosito/flutter-action, it still uses the engine builds of the according stable versions, which do not exist yet and then falls back to x64:

Write-Host "The current channel's Dart SDK does not support Windows Arm64, falling back to Windows x64..."

There don't exist any arm64 windows engine builds (in contrast to linux-arm64) at the moment.

There are!
Flutter:
/windows-arm64/windows-arm64-embedder.zip
image

dart compile for flutter:
image

@Gustl22
Copy link
Contributor Author

Gustl22 commented Oct 11, 2025

I created this PR before #176723 was merged, and didn't update.
None the less, it would be nice to see flutter for arm release on the beta (and stable?) channel, too.

@chinmaygarde
Copy link
Member

@jtmcdole Do you want to review this? For the additional channels?

@chinmaygarde
Copy link
Member

@jtmcdole Gentle ping.

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

Labels

engine flutter/engine related. See also e: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Windows Arm64] Add Windows Arm64 engine CI

3 participants