Skip to content

[6.2] Allow prebuilt manifests to be updated as platforms are added. #8785

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 10, 2025

Conversation

dschaefer2
Copy link
Member

One thing we're finding with snapshot toolchain builds is that not all platforms are completed at the same time. The prebuilts publishing job builds for the libraries using the latest available toolchains and then merges them together when signing. Havoc ensues when the toolchains aren't all the same version.

This change adds more metadata to the per zip json files including the swiftVersion used to build the library. The signing task will then see if a manifest already exists for that version and merge in the new platforms. If it doesn't it creates a new manifest from the other metadata in the zip json files. This takes out the use of the current swiftVersion when signing since it may not have been the version that created the libraries.

Cherry-pick from main #8784

One thing we're finding with snapshot toolchain builds is that not
all platforms are completed at the same time. The prebuilts
publishing job builds for the libraries using the latest available
toolchains and then merges them together when signing. Havoc ensues
when the toolchains aren't all the same version.

This change adds more metadata to the per zip json files including
the swiftVersion used to build the library. The signing task will
then see if a manifest already exists for that version and merge
in the new platforms. If it doesn't it creates a new manifest from
the other metadata in the zip json files. This takes out the use
of the current swiftVersion when signing since it may not have been
the version that created the libraries.
@bkhouri bkhouri changed the title Allow prebuilt manifests to be updated as platforms are added. [6.2] Allow prebuilt manifests to be updated as platforms are added. Jun 9, 2025
@dschaefer2
Copy link
Member Author

Holding off putting this in right now. We want to use the current version one more time.

@dschaefer2 dschaefer2 merged commit 2107e81 into swiftlang:release/6.2 Jun 10, 2025
6 checks passed
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