Tasks fails to download the latest version 3.29.7
We are getting errors today downloading the latest version of the code - is this related to the rollback? We have not changed anything in our pipeline:
- task: AdvancedSecurity-Codeql-Init@1 inputs: enableAutomaticCodeQLInstall: true languages: 'csharp' displayName: Enable Advanced Code Security
2025-08-07T21:43:01.4283311Z ##[section]Starting: Enable Advanced Code Security 2025-08-07T21:43:01.4553917Z ============================================================================== 2025-08-07T21:43:01.4554047Z Task : Advanced Security Initialize CodeQL 2025-08-07T21:43:01.4554108Z Description : Initializes the CodeQL database in preparation for building. 2025-08-07T21:43:01.4554182Z Version : 1.1.327 2025-08-07T21:43:01.4554251Z Author : Microsoft Corporation 2025-08-07T21:43:01.4554305Z Help : https://aka.ms/advancedsecurity/code-scanning/detection 2025-08-07T21:43:01.4554372Z ============================================================================== 2025-08-07T21:43:01.8553366Z Session Id=b6098e47-0916-49a5-a526-fdf4bcaa50ef 2025-08-07T21:43:01.8604901Z Starting CodeQL automatic detection and installation. 2025-08-07T21:43:01.8606649Z ##[group]CodeQL Detection and Installation 2025-08-07T21:43:01.8626791Z Retrieving the latest release information for https://api.github.com/repos/github/codeql-action/releases/latest 2025-08-07T21:43:02.1349454Z Release URL: https://github.com/github/codeql-action/releases/tag/v3.29.7 2025-08-07T21:43:02.1350095Z The latest version of CodeQL (v3.29.7) was not found on this system. 2025-08-07T21:43:02.1350734Z Enforcing the installation of the latest version of CodeQL. 2025-08-07T21:43:02.1351153Z ##[group]Install and Setup CodeQL tools 2025-08-07T21:43:02.1351438Z There is a newer version of CodeQL available. Attempting to install the latest version. 2025-08-07T21:43:02.1351708Z Attempting to download and install CodeQL. 2025-08-07T21:43:02.1353091Z Retrieving the latest release information for https://api.github.com/repos/github/codeql-action/releases/latest 2025-08-07T21:43:02.1758147Z Release URL: https://github.com/github/codeql-action/releases/tag/v3.29.7 2025-08-07T21:43:02.1768040Z ##[endgroup] 2025-08-07T21:43:02.1769212Z ##[endgroup] 2025-08-07T21:43:02.1769900Z ##[warning] The latest version of CodeQL is v3.29.7. Enforcing installation of the latest version. 2025-08-07T21:43:02.1771004Z ##[warning] Error Installing CodeQL automatically. Please download and install CodeQL to D:\Agent-01_work_tool\CodeQL\0.0.0-[releaseId]\x64\codeql 2025-08-07T21:43:02.1772036Z ##[warning] and create an empty file named D:\Agent-01_work_tool\CodeQL\0.0.0-[releaseId]\x64.complete 2025-08-07T21:43:02.1772928Z ##[warning] Learn more about how to set up self-hosted agents at https://aka.ms/codeQL-directory-error 2025-08-07T21:43:02.1828477Z ##[error]The latest version of CodeQL is v3.29.7. Enforcing installation of the latest version. 2025-08-07T21:43:02.1841244Z 2025-08-07T21:43:02.1841415Z Learn more about the scan for the CodeQL build tasks: 2025-08-07T21:43:02.1841572Z https://aka.ms/advanced-security/code-scanning/detection 2025-08-07T21:43:02.1841637Z 2025-08-07T21:43:02.1947521Z ##[section]Finishing: Enable Advanced Code Security
This should now be fixed - see https://github.com/github/codeql-action/issues/3016 and https://github.com/github/codeql-action/issues/3017. Could you please confirm if your workflows are still failing?
It seems to be working for the most part now, but we are seeing some other intermittent errors now:
2025-08-08T12:09:23.5586518Z ##[section]Starting: Enable Advanced Code Security 2025-08-08T12:09:23.5806549Z ============================================================================== 2025-08-08T12:09:23.5806659Z Task : Advanced Security Initialize CodeQL 2025-08-08T12:09:23.5806722Z Description : Initializes the CodeQL database in preparation for building. 2025-08-08T12:09:23.5806798Z Version : 1.1.327 2025-08-08T12:09:23.5806859Z Author : Microsoft Corporation 2025-08-08T12:09:23.5806913Z Help : https://aka.ms/advancedsecurity/code-scanning/detection 2025-08-08T12:09:23.5806981Z ============================================================================== 2025-08-08T12:09:24.8093007Z Session Id=4f8f4b5f-ae20-49d8-911b-727794e960d7 2025-08-08T12:09:24.8146480Z Starting CodeQL automatic detection and installation. 2025-08-08T12:09:24.8147165Z ##[group]CodeQL Detection and Installation 2025-08-08T12:09:24.8213617Z Retrieving the latest release information for https://api.github.com/repos/github/codeql-action/releases/latest 2025-08-08T12:10:45.1011591Z ##[warning] read ECONNRESET 2025-08-08T12:10:45.1012124Z ##[group]Install and Setup CodeQL tools 2025-08-08T12:10:45.1012239Z ##[endgroup] 2025-08-08T12:10:45.1012554Z ##[warning] The GitHub release API URL for CodeQL failed. 2025-08-08T12:10:45.1043020Z ##[error]The GitHub release API URL for CodeQL failed. 2025-08-08T12:10:45.1055029Z 2025-08-08T12:10:45.1055201Z Learn more about the scan for the CodeQL build tasks: 2025-08-08T12:10:45.1055362Z https://aka.ms/advanced-security/code-scanning/detection 2025-08-08T12:10:45.1055426Z 2025-08-08T12:10:45.1544657Z ##[section]Finishing: Enable Advanced Code Security
@Alin-Dumitrescu can you share the full debug logs? You can post on Developer Community (https://developercommunity.visualstudio.com/AzureDevOps) and then add a private comment with your build logs.