Description
Description
We have a CI pipeline that stopped working from 16hrs ago. It is in a private repository and there is no code change in it for weeks.
This is the error we are getting -
fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
It uses windows-2022 runner
worked yesterday: https://github.com/actions/runner-images/blob/win22/20240421.1/images/windows/Windows2022-Readme.md
broken today: https://github.com/actions/runner-images/blob/win22/20240514.3/images/windows/Windows2022-Readme.md
Since there was no recent changes to our repository there must be some changes to the windows-2022 runner that made altbase.h no longer available when compiling
I see the package name in win22/20240514.3
is Microsoft.VisualStudio.Component.VC.ATL
which is different from the previous release.
We also filed an issue with microsoft for this - microsoft/setup-msbuild#127
Platforms affected
- Azure DevOps
- GitHub Actions - Standard Runners
- GitHub Actions - Larger Runners
Runner images affected
- Ubuntu 20.04
- Ubuntu 22.04
- Ubuntu 24.04
- macOS 11
- macOS 12
- macOS 13
- macOS 13 Arm64
- macOS 14
- macOS 14 Arm64
- Windows Server 2019
- Windows Server 2022
Image version and build link
Image: windows-2022
Version: 20240514.3.0
Included Software: https://github.com/actions/runner-images/blob/win22/20240514.3/images/windows/Windows2022-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20240514.3
Is it regression?
Yes, it was working in version 20240421.1.0
Expected behavior
We should not see 'atlbase.h' not found error.
Actual behavior
Seeing error that 'atlbase.h' file is not found.
Repro steps
Run a workflow like this and try to build any C++ Visual Studio project which imports this header file -
name: CI
on:
push:
branches: [ 'main', 'releases/**' ]
pull_request:
branches: [ '**' ]
workflow_dispatch:
# Allow manual trigger for debugging the workflow.
jobs:
CI-checks:
runs-on: windows-2022
steps:
- name: Disable git autocrlf
run: git config --global core.autocrlf false
- uses: actions/checkout@v4
# The msbuild version is dictated by the Windows image provided by GitHub.
- uses: microsoft/setup-msbuild@v2
- uses: darenm/[email protected]
- name: Build and test with Sonar Wrapper
shell: cmd
run: test-all.cmd