-
Notifications
You must be signed in to change notification settings - Fork 30
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
SwiftWasm 5.3.0 release checklist #1759
Comments
I think the stdlib test suites are running on macOS CI now.
I'll do this for 5.3 branch
I'll take a look again for the failure reason
I think it's too hard to integrate it with 5.3 branch at this time. I need to resolve conflict between 5.3 and master |
I've checked the latest 5.3 run on macOS and there are no test results in the logs, even though it seems like it attempts to build the stdlib unittest target. 🤔 |
stdlib tests were done on CI but |
This comment has been minimized.
This comment has been minimized.
Before releasing 5.3, I'll add additional configuration to publish toolchain as signed and installable via pkg installer. |
Awesome, thank you for taking care of this! |
@swiftwasm/swiftwasm-team looks like |
I want to include #2054 also. |
Right, it was supposed to be included in |
Yes, the distribution script failed and I'm debugging it. OK, I'll publish today's toolchain from my local machine. |
Thanks, I appreciate it! Now that |
Discovered a new bug #2072. Would be great to fix, I've added it to the checklist. |
@swiftwasm/swiftwasm-team
I think swift-wasm-5.3-SNAPSHOT-2020-10-26-a is a latest release candidate for 5.3. I'll test the toolchain in this week, and if there is no big issue, I want to tag it as 5.3-RELEASE. |
I've pushed a change to SwiftPM in the 5.3 branch to use |
@MaxDesiatov Did you trigger swiftwasm/swift CI after merging SwiftPM change? I think we need to trigger again for 5.3 branch. |
Yes, I did trigger it in https://github.com/swiftwasm/swift/actions/runs/331791742 |
@MaxDesiatov I tried using a toolchain produced by https://github.com/swiftwasm/swift/runs/1315973687?check_suite_focus=true, but it seems something wrong in SwiftPM change. It doesn't produce a binary with .wasm extension. I confirmed that SwiftPM is built from the latest revision https://github.com/swiftwasm/swift/runs/1315973687?check_suite_focus=true#step:5:731 $ $HOME/Downloads/swift-wasm-5.3-SNAPSHOT-2020-10-27-a/usr/bin/swift package init --name Example --type executable
$ $HOME/Downloads/swift-wasm-5.3-SNAPSHOT-2020-10-27-a/usr/bin/swift build --triple wasm32-unknown-wasi
$ ls .build/debug/
Example Example.product Example.swiftmodule ExamplePackageTests.product description.json
Example.build Example.swiftdoc Example.swiftsourceinfo ModuleCache index |
Thanks, I'm having a closer look at this now! |
The Another thing I noticed is that in latest snapshots Foundation can't be linked if you don't pass
|
I've cherry-picked swiftlang/swift-package-manager#3013 to the 5.3 branch and triggered a new build. After that completes, I think that's the best candidate so far 🙂 |
What do you think about tagging |
I didn't, looking good so far. 👍 The tag would be Maybe we should tag both |
I agree with the safe side. 👍 |
Amazing, appreciate it! 👏 |
When it finishes, let's use it over the weekend to make sure everything's tagged correctly and works well, last minute checks basically. Then we could announce it widely in the beginning of next week, WDYT? As in, I'm a bit hesitant to announce it widely on Friday 😄 |
As in, we still tag it today, and people who watch the repo will notice it, so no need to hide it from them. If those few people use it today or during the weekend and report issues, that would be useful. But I'm inclined to share it on SwiftWasm Twitter on Monday, in the beginning of the work week. Kind of a slow catious launch 🙂 |
That's a reasonable plan! I'll also spend some time verifying the toolchain this weekend. |
🎉 Working great so far. The only minor surprise was this (using the Ubuntu 20 toolchain): error: missing required module 'CFXMLInterface'
import FoundationXML
^ That import is guarded by |
@SDGGiesbrecht This is very useful, thanks for reporting this! |
@MaxDesiatov Now the issue was fixed and CI passed. Should we increment patch version for 5.3 release or note it as known issue on release note? |
One option could be to retag 5.3.0, but I'm not sure if the issue is critical enough. I imagine people would prefer to use the JS API for XML parsing anyway, instead or bundling whole FoundationXML in their apps. We could wait for upstream 5.3.1 and release this FoundationXML removal as a part of SwiftWasm 5.3.1 after that. @SDGGiesbrecht WDYT? |
I don’t think it is worth trying to fix in this release. It is not like there was a preceding release where |
Now that 5.3.0 is released, I'm closing this as resolved. |
These are the things that would be great to see before SwiftWasm 5.3.0 is tagged:
swiftwasm-release/5.3
branch, ideally on Linux too (it currently fails, but CI passes anyway). If this is blocked by Wasmer, we need to report this issue to them and link it here.Glibc
module toWASI
in SwiftWasm 5.3 snapshots (tracked in Add WASI module to use instead of Glibc #196, fixed in Add WASI module to replace Glibc on WASI platform #1773 forswiftwasm-release/5.3
and in WASILibc module for main stream #1832 forswiftwasm
)carton
usage to the SwiftWasm book.Package.swift
(tracked in Build fails with the unsafe flags error JavaScriptKit#6)swift test --enable-test-discovery
(done in Install sourcekit-lsp #1845 and Ship IndexStore and SourceKit-LSP in 5.3 snapshots #1851)Info.plist
warning (tracked in Xcode warnings after installing .pkg toolchains #2072).Patch SourceKit-LSP to allow--destination
option to be passed to it (tracked in Add--destination
option to SourceKit-LSP to use for indexing #1935)Attempt integrating new LTO intoswiftwasm-release/5.3
branch? I'm probably fine releasing 5.3.0 without it.As usual, feedback is welcome. Lmk if you see anything's missing, but also bear in mind that the upstream 5.3.0 is going to be released very soon, almost certainly with iOS 14, so this list can't grow much more.
The text was updated successfully, but these errors were encountered: