Repository navigation
ci: ship SDK runtime DLLs in the ARM64 VFS test payload - #1029
Merged
Johannes Schindelin (dscho) merged 1 commit intoNov 20, 2026
Merged
Johannes Schindelin (dscho) merged 1 commit into
Johannes Schindelin (dscho) merged 1 commit into
Conversation
Tyrie Vella (tyrielv)
force-pushed
the
tyrielv/ci-arm64-runtime-dlls
branch
from
November 18, 2026 19:33
36f00d4 to
6d4e7c1
Compare
Tyrie Vella (tyrielv)
force-pushed
the
tyrielv/ci-arm64-runtime-dlls
branch
from
November 18, 2026 22:15
6d4e7c1 to
1c6aca8
Compare
All arm64 shards of the VFS for Git functional tests fail on vfs-2.56.1, for example in https://github.com/microsoft/git/actions/runs/42891072503: after `git\install.bat`, the next step exits with code -1073741515 (0xC0000135, STATUS_DLL_NOT_FOUND), and VFS for Git then reports "Error: Unable to retrieve the Git version". On 2026-11-07, the Git for Windows SDK for ARM64 updated `mingw-w64-clang-aarch64-zlib` to 1.4. With that version, `-lz` links to `libz-1.dll` instead of `zlib1.dll`. The test job copies the payload over the runner's preinstalled Git for Windows. That Git only ships `zlib1.dll`, so the newly built `git.exe` cannot start. The x86_64 leg received the same zlib update but still passes, because it already copies all UCRT64 runtime DLLs from the SDK into its payload. Do the same for CLANGARM64. Copying only `libz-1.dll` would also fix today's failure, but it would break again when the SDK next renames or adds a DLL that the payload imports. Also make `install.bat` run the installed `git version`. If Git cannot start, the "Install Git" step now fails with the real error, instead of a later step deep in each test shard. Co-authored-by: Copilot <[email protected]> Signed-off-by: Tyrie Vella <[email protected]>
Tyrie Vella (tyrielv)
force-pushed
the
tyrielv/ci-arm64-runtime-dlls
branch
from
November 19, 2026 18:27
1c6aca8 to
cbc7b05
Compare
Tyrie Vella (tyrielv)
marked this pull request as ready for review
November 19, 2026 18:51
Johannes Schindelin (dscho)
approved these changes
Nov 20, 2026
Johannes Schindelin (dscho)
left a comment
Member
There was a problem hiding this comment.
Thanks! I saw the failures, and meant to look into them, but there's just so many asks I had to respond to this week. Your contribution, therefore, is highly appreciated Tyrie Vella (@tyrielv)!
Johannes Schindelin (dscho)
merged commit Nov 20, 2026
01eb42e
into
microsoft:vfs-2.56.1
50 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem and Context
All 12 arm64 shards of the "VFS for Git Functional Tests" workflow fail on
vfs-2.56.1and on every PR against it. The x64 shards pass. Aftergit\install.batruns, the next step exits with code -1073741515 (0xC0000135,STATUS_DLL_NOT_FOUND). VFS for Git then reports "Unable to retrieve the Git version". Example: https://github.com/microsoft/git/actions/runs/42891072503.On 2026-11-07, git-for-windows/git-sdk-arm64 updated
mingw-w64-clang-aarch64-zlibfrom 1.3.2 to 1.4 (git-for-windows/git-sdk-arm64@3387e06ee307). With zlib 1.4,-lzlinks tolibz-1.dllinstead ofzlib1.dll. The import tables of theMicrosoftGit-aarch64artifacts show this change:clangarm64\bin\git.exezlib1.dlllibz-1.dllclangarm64\bin\scalar.exezlib1.dlllibz-1.dllAll other imports are identical. The workflow copies the payload over the runner's preinstalled Git for Windows (2.56.0.windows.4). That Git ships only
zlib1.dll, and the arm64 payload contains no DLLs. Sogit.execannot start. The x64 leg has the same zlib update (git-for-windows/git-sdk-64@b67ae5efb6a6). It passes only because it already copies/ucrt64/bin/*.dllinto its payload.Released installers are not affected. The
v2.56.1.vfs.0.1ARM64 PortableGit shipslibz-1.dll, because the build-extra file list includes it. Git for Windows 2.56.1 still links tozlib1.dll, so runner images that move to 2.56.1 will not fix this test failure.Changes
$prefix/bin/*.dll) into the payload for CLANGARM64 as well as UCRT64. The SDK action does not exportMINGW_PREFIX, so the step derives the prefix from$MSYSTEM. This is the same fallback thatconfig.mak.unameuses.install.batrun"C:\Program Files\Git\cmd\git.exe" versionafter the copy. If Git cannot start, the "Install Git" step now fails with the real error, instead of a later step in each test shard.Known gaps and deliberate decisions
bindirectory, so it can replace same-named DLLs in the runner's Git. Copying onlylibz-1.dll, or only the import closure, is narrower. But it breaks again when the SDK renames or adds a DLL, or it needs an extra dependency-walk tool. The x64 leg already uses copy-all over the runner's liveucrt64prefix and passes. No follow-up planned.