Tasks fails to download the latest version 3.29.7

Open
#3,018 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
github-actions, typescript
Domain
ci-cd, security

Research direction

Start by reproducing the AdvancedSecurity-Codeql-Init@1 task on the self-hosted Windows agent, focusing on automatic CodeQL detection and installation for release v3.29.7. Check the linked detection and self-hosted-agent guidance while tracing the release lookup and download failure. Done means the task installs v3.29.7 and completes without the reported error.

Written by the indexing model from the issue text.

Description

awaiting-response

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

Dominant language
TypeScript
Stars
1.6k
Forks
493
Avg merge
1d 13h
Merged PRs (30d)
44

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/codeql-action

All issues in github/codeql-action

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.