Repository navigation
ci: fix Windows zlib lookup and runner compatibility (#124) - #125
Conversation
Recent vcpkg static zlib installs use libzs.lib, so the Windows job must recognize that name before it can build. Retain every existing candidate and the z.lib linker alias. Verified the extracted lookup logic rejects libzs.lib on the baseline and accepts it after the fix, while retaining all older names. Required macOS swiftbuild build, full serial tests, strict SwiftLint, and diff checks pass. Windows execution remains for PR CI; test count unchanged. Co-Authored-By: Claude <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
The failed Windows job confirms that the lookup now selects The required local macOS build, full serial tests, strict lint, and diff checks passed again. No code change or push is needed for this unrelated runner failure. Requesting one unchanged retry to check runner variation; the same runner image may reproduce the incompatibility. Windows acceptance remains pending. |
|
The retry request was rejected by GitHub with HTTP 403: “The workflow run containing this job is already running.” No new retry started. The runner toolchain incompatibility remains unresolved, Windows acceptance is still pending, and this PR has no additional code changes or pushes. |
The Visual Studio 2026 STL on windows-latest rejects Swift 6.4.2 clang 21 while compiling BoringSSL. Use the VS 2022 runner until Swift ships clang 22 or newer, preserving the compiler compatibility check and the libzs.lib lookup fix. Verified YAML regression assertions, strict SwiftLint, the required macOS swiftbuild build with tests, and the full serial test suite. Windows verification remains for PR CI; test count unchanged. Co-Authored-By: Claude <noreply@anthropic.com>
|
Pushed The required macOS build, full serial tests, strict lint, and YAML regression checks passed. Updated the PR title and description to cover both fixes. Windows execution remains pending CI on the new commit. |
Co-authored-by: Codex <noreply@openai.com>
Agent summaryThe change is ready for review. |
Keep the compiler compatibility guard enabled on the pinned VS 2022 runner. The additional override is unnecessary for that configuration and does not reach the SwiftPM plugin link command that failed in the latest run. The earlier run with the runner pin linked the same plugin and reached BoringSSL compilation before cancellation. Preserve the runner and zlib fixes while removing only the override flags and their comment. Workflow regression checks, strict SwiftLint, required macOS swiftbuild build with tests, and the full serial suite pass. Windows verification remains pending CI; test count unchanged. Co-Authored-By: Claude <noreply@anthropic.com>
|
Pushed The latest Windows failure is a bare Workflow regression checks, strict lint, the required macOS build with tests, and the full serial test suite passed. No Windows execution was available locally. |
odrobnik
left a comment
There was a problem hiding this comment.
Reviewed the .github/workflows/swift.yml changes on cad3d79.
- zlib lookup:
libzs.libhas been added to the candidate list. All the existing names are still there and keep their priority (zs.libfirst). The guardedCopy-Itemtoz.liband the error message that lists every candidate still work, so issue #124's first acceptance criterion is met. - Runner pin:
windows-2022comes with a comment explaining the VS 2026 STL / Clang 21 mismatch and saying when to switch back. The comments that used to mentionwindows-latest(vcpkg, Git Bash) were updated to match. No other workflow refers towindows-latest. The compiler/STL override flags were removed, as stated in the thread. - CI on this head is green, including
build-windows, so issue #124's second acceptance criterion ("build-windows passes on the PR") is now met. Thelld-linkplugin failure mentioned in the description did not happen again on this run.
No findings.
👍 No findings.
Reviewed by Claude · opus
Resolves #124.
Windows CI now recognizes vcpkg’s
libzs.libfilename while preserving all existing library names and the copy toz.lib.Pin the Windows job to
windows-2022: the Visual Studio 2026 STL onwindows-latestrequires Clang 22 or newer, while Swift 6.4.2 ships Clang 21. The workflow documents returning towindows-latestonce Swift provides a compatible Clang version. Compiler/STL compatibility checks remain enabled.Validation: workflow regression checks, strict lint, the required macOS build with tests, and the full serial test suite passed. Windows execution remains pending CI: the latest run failed linking a SwiftPM documentation plugin with
lld-link: error: not supported; the earlier run on the pinned runner linked that plugin and reached package compilation before cancellation. The plugin failure is not established as fixed.