Skip to content

Static sdk version#3534

Merged
FranzBusch merged 4 commits intomainfrom
static_sdk_version
Mar 3, 2026
Merged

Static sdk version#3534
FranzBusch merged 4 commits intomainfrom
static_sdk_version

Conversation

@rnro
Copy link
Copy Markdown
Contributor

@rnro rnro commented Mar 2, 2026

Fix static Linux SDK version hardcoding

Motivation

  • Nightly CI was failing with a checksum mismatch because the static
    Linux SDK filename was hardcoded to _static-linux-0.0.1, but the
    SDK has since been released as 0.1.0 with a different checksum.
  • The swift.org releases API returns a version field alongside
    the checksum for the static-sdk platform, so the version can be
    resolved dynamically.

Modifications

  • Added extract_static_sdk_version() to read the version field from
    the releases API response.
  • In the version install path, override sdk_suffix with the
    API-provided version rather than the hardcoded 0.0.1.

Result

  • The correct SDK filename (_static-linux-0.1.0) is now resolved
    and hopefully will continue to work for future version bumps.

rnro added 3 commits March 2, 2026 14:29
Motivation

* Nightly CI was failing with a checksum mismatch because the static
Linux SDK filename was hardcoded to `_static-linux-0.0.1`, but the
SDK has since been released as `0.1.0` with a different checksum.
* The swift.org releases API returns a `version` field alongside
the checksum for the `static-sdk` platform, so the version can be
resolved dynamically.

Modifications

* Added `extract_static_sdk_version()` to read the `version` field from
the releases API response.
* In the `version` install path, override `sdk_suffix` with the
API-provided version rather than the hardcoded `0.0.1`.

Result

* The correct SDK filename (`_static-linux-0.1.0`) is now resolved
and hopefully will continue to work for future version bumps.
@rnro rnro added the semver/none No version bump required. label Mar 2, 2026
This reverts commit 732e060.
@rnro rnro marked this pull request as ready for review March 2, 2026 15:46
@rnro rnro enabled auto-merge (squash) March 3, 2026 09:00
@rnro rnro disabled auto-merge March 3, 2026 09:00
@rnro
Copy link
Copy Markdown
Contributor Author

rnro commented Mar 3, 2026

The Benchmarks failure looks like a bug in package-benchmark on Swift 6.0

@FranzBusch
Copy link
Copy Markdown
Member

I guess it is because of the new release https://github.com/ordo-one/package-benchmark/releases. @hassila are you aware of this potential regression in 6.0?

@hassila
Copy link
Copy Markdown
Contributor

hassila commented Mar 3, 2026

@supersonicbyte could you have a look please - seems the trait support regressed 6.0 😞

@supersonicbyte
Copy link
Copy Markdown
Contributor

@supersonicbyte could you have a look please - seems the trait support regressed 6.0 😞

looking into it!

@rnro
Copy link
Copy Markdown
Contributor Author

rnro commented Mar 3, 2026

@FranzBusch
Copy link
Copy Markdown
Member

Merging over the benchmark failure because that is unrelated to this PR.

@FranzBusch FranzBusch merged commit 1e51266 into main Mar 3, 2026
53 of 55 checks passed
@FranzBusch FranzBusch deleted the static_sdk_version branch March 3, 2026 10:37
@supersonicbyte
Copy link
Copy Markdown
Contributor

@FranzBusch @rnro

Sorry for the regression, should be fixed with: https://github.com/ordo-one/package-benchmark/releases/tag/1.31.0. Let me know how it goes.

@FranzBusch
Copy link
Copy Markdown
Member

@supersonicbyte Thank you for the quick fix!

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

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants