Skip to content

Conversation

@AliSoftware
Copy link
Contributor

@AliSoftware AliSoftware commented Oct 30, 2025

Closes AINFRA-1462

What does it do?

Add new Windows - ARM64 and Microsoft Store - ARM64 platforms to upload_build_to_apps_cdn

Checklist before requesting a review

  • Run bundle exec rubocop to test for code style violations and recommendations.
  • Add Unit Tests (aka specs/*_spec.rb) if applicable.
  • Run bundle exec rspec to run the whole test suite and ensure all your tests pass.
  • Make sure you added an entry in the CHANGELOG.md file to describe your changes under the appropriate existing ### subsection of the existing ## Trunk section.
  • If applicable, add an entry in the MIGRATION.md file to describe how the changes will affect the migration from the previous major version and what the clients will need to change and consider.

@AliSoftware AliSoftware marked this pull request as ready for review October 30, 2025 18:28
@AliSoftware AliSoftware self-assigned this Oct 30, 2025
@AliSoftware AliSoftware changed the title [AINFRA-1462][AINFRA-1457] Add new platforms to upload_build_to_apps_cdn [AINFRA-1462] Add new platforms to upload_build_to_apps_cdn Oct 30, 2025
Comment on lines -37 to +40
'Windows',
'Microsoft Store',
'Windows - x86',
'Windows - ARM64',
'Microsoft Store - x86',
'Microsoft Store - ARM64',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ℹ️ As discussed in https://linear.app/a8c/issue/AINFRA-1457/update-appscdn-backend-and-release-toolkit-for-new-windows#comment-646bbf97, we've agreed to get rid of the original plain 'Windows' and 'Microsoft Store' values (as opposed to keeping them for backwards compatibility) since Studio was the only client product to use those old non-architecture-specific values in the first place.

Comment on lines 11 to +13
### New Features

_None_
- `upload_build_to_apps_cdn`: Update the list of valid values for `platform` to now support _both_ `x86` and `ARM64` for the `Microsoft Store` and `Windows` platforms. [#669]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ℹ️ I pondered marking this as breaking change, given the 'Windows' and 'Microsoft Store' values that were previously valid are now invalid.

That being said, because Studio is the only client that used those values, and will adopt the new release-toolkit as soon as this PR is merged and a new version is released—since they are the ones who asked for those values—I figured it was not worth marking this as a breaking change per se.

Copy link

@sejas sejas left a comment

Choose a reason for hiding this comment

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

Thanks for making the change to the release toolkit. The code looks good to me.

begin
$skip_magick = false
require 'RMagick'
rescue LoadError
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unrelated to this PR, but was necessary to fix a bug preventing me to run the tests (rspec) locally when the version of RMagic installed on my Mac was not the one expected.

@AliSoftware AliSoftware merged commit b4786f4 into trunk Oct 31, 2025
9 of 10 checks passed
@AliSoftware AliSoftware deleted the AINFRA-1462 branch October 31, 2025 17:24
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