Skip to content
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

Use runner-provided Git for Windows now that it's 2.49.0 #1920

Merged

Conversation

EliahKagan
Copy link
Member

@EliahKagan EliahKagan commented Apr 4, 2025

Closes #1849

Because #1849 (git-for-windows/git#5436) caused some incorrect test failures in test-fixtures-windows, we have been upgrading Git for Windows on the runner for that job:

  • We starting doing that in of 4237e5a (#1870). At that time, we upgraded it to the most recent tag, to select the latest release even though it was a release candiate, because Git for Windows 2.49.0 had not yet had a stable release.

  • Then Git for Windows 2.49.0 got a stable release, and starting in ddef6d3 (#1892) we have upgraded to the release marked "latest" (which in Git for Windows is always the latest stable release).

More recently, the Windows Server 2022 runner image (which the windows-latest label we use currently selects) has upgraded its Git for Windows installation from 2.48.1 to 2.49.0: https://github.com/actions/runner-images/releases/tag/win22%2F20250330.1

It is therefore no longer necessary for the test-fixtures-windows job to upgrade Git for Windows on the runner. This removes the step that did that. (Either version of the step could be brought back from the history if ever needed again.)

This is as planned in #1849 (comment).

@EliahKagan EliahKagan force-pushed the test-fixtures-windows-default branch from f951866 to c5d3793 Compare April 4, 2025 04:39
Copy link
Member Author

@EliahKagan EliahKagan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although the new runner image is a stable release and it's been a few days, it is apparently not yet in use on the GitHub-hosted runners. When CI runs on this PR, the runner has has Git 2.48.1. The runner image here is 20250309.1.0 while the version with Git 2.49.0 is 20250330.1.1. I think this can probably be kept open until the GitHub-hosted runners use the new image, then merged. (If that doesn't happen soon, then this PR could be closed and reopened later.)

@EliahKagan EliahKagan force-pushed the test-fixtures-windows-default branch from c5d3793 to c206852 Compare April 5, 2025 03:02
Because GitoxideLabs#1849 (git-for-windows/git#5436)
caused some incorrect test failures in `test-fixtures-windows`, we
have been upgrading Git for Windows on the runner for that job:

- We starting doing that in of 4237e5a (GitoxideLabs#1870). At that time, we
  upgraded it to the most recent tag, to select the latest release
  even though it was a release candiate, because Git for Windows
  2.49.0 had not yet had a stable release.

- Then Git for Windows 2.49.0 got a stable release, and starting in
  ddef6d3 (GitoxideLabs#1892) we have upgraded to the release marked "latest"
  (which in Git for Windows is always the latest stable release).

More recently, the Windows Server 2022 runner image (which the
`windows-latest` label we use currently selects) has upgraded its
Git for Windows installation from 2.48.1 to 2.49.0:
https://github.com/actions/runner-images/releases/tag/win22%2F20250330.1

It is therefore no longer necessary for the `test-fixtures-windows`
job to upgrade Git for Windows on the runner. This removes the step
that did that. (Either version of the step could be brought back
from the history if ever needed again.)

This closes GitoxideLabs#1849, per the plan in:
GitoxideLabs#1849 (comment)
@EliahKagan EliahKagan force-pushed the test-fixtures-windows-default branch from c206852 to 3501e82 Compare April 8, 2025 06:35
@EliahKagan
Copy link
Member Author

EliahKagan commented Apr 10, 2025

It turns out that what happened is that, due to regressions with Rust and CMake in the image (actions/runner-images#11941), the image was rolled back soon after being deployed (actions/runner-images#11953).

Since then, a newer image 20250406.1.1 is being used. I've observed it to use that newer image in all of a number of re-runs here and in my fork. Still, when it first started being used this morning, it was labeled as a pre-release in runner-images, so I held off on merging this PR in case the image was undergoing A/B testing such that we might still get the older one (though I don't think that was the case). More recently, it is no longer labeled a pre-release. So I think this is ready to merge now.

Edit: I think this further indicates that the upgrade is well in place and can be relied on: actions/runner-images#11953 (comment)

@EliahKagan EliahKagan marked this pull request as ready for review April 10, 2025 02:31
@EliahKagan EliahKagan merged commit 35a9950 into GitoxideLabs:main Apr 10, 2025
77 of 79 checks passed
@EliahKagan EliahKagan deleted the test-fixtures-windows-default branch April 10, 2025 02:31
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 new Windows GIX_TEST_IGNORE_ARCHIVES=1 failures with Git 2.48.1
1 participant