Henry Mercer and Copilot App
e70c0414bf
Record how long the toolcache cleanup takes in telemetry
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-11-04 14:31:49 +00:00
Henry Mercer
c2293b32da
Merge pull request #4244 from github/henrymercer/graduate-per-language-bundles
...
Use per-language CodeQL bundles by default
2026-10-22 14:01:48 +00:00
Henry Mercer and Copilot App
54af742a29
Simplify the condition for overlay-aware version selection
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-10-22 11:23:40 +01:00
Henry Mercer and Copilot App
961c8405b4
Merge remote-tracking branch 'origin/main' into henrymercer/graduate-overlay-version-match
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-10-21 13:11:37 +01:00
Henry Mercer and Copilot App
912708411b
Remove redundant empty-list check
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-10-16 15:07:36 +01:00
Henry Mercer and Copilot App
6d82d4f441
Use overlay-aware CodeQL versions by default
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-10-16 14:01:42 +01:00
Henry Mercer and Copilot App
0e72543776
Remove overlay version matching dry run
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-10-16 14:01:42 +01:00
Henry Mercer and Copilot App
9bf78d13c9
Use per-language bundles by default
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
Copilot-Session: d9f196d4-6d15-44ca-bd01-cd022d57d2cc
2026-10-16 14:00:12 +01:00
Henry Mercer and Copilot App
1ec6b03cf4
Enable toolcache bundle cleanup by default
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
Copilot-Session: 9bf883d4-ecd7-4428-970f-86895f760571
2026-10-15 14:54:30 +01:00
Michael B. Gale
265d882341
Merge branch 'main' into mbg/start-proxy/deprecate-fallback
2026-10-12 14:52:24 +01:00
Michael B. Gale
d6196d8703
Rename exportVariable wrapper to exportEnvVar
2026-10-08 20:06:51 +01:00
Michael B. Gale
1728f0c676
Add wrapper around core.exportVariable
2026-10-07 20:12:00 +01:00
Michael B. Gale
da07d40a0f
Refactor getCodeQLBundleDownloadURL out of setup-codeql
2026-10-06 17:07:48 +01:00
Michael B. Gale
3f57a00554
Use ActionState for getCodeQLActionRepository
2026-10-06 17:07:48 +01:00
Michael B. Gale
cb7acf5396
Refactor getCodeQLActionRepository out of setup-codeql
2026-10-06 17:07:47 +01:00
Henry Mercer and Copilot App
d8b6f2a09b
Always use the combined bundle in setup-codeql
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-30 15:50:56 +01:00
Henry Mercer and Copilot App
1609a51ab7
Avoid per-language bundles when queries may need other languages' library packs
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-30 15:50:55 +01:00
Henry Mercer and Copilot App
6aa6d5553a
Remove the getCodeQLBundleName wrapper from setup-codeql.ts
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-24 10:09:24 +01:00
Henry Mercer and Copilot App
f42df5b5c1
Move bundle types and helpers out of setup-codeql.ts
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-24 09:52:32 +01:00
Henry Mercer and Copilot App
f18f3536f1
Describe the bundle URL resolver
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-17 19:07:06 +01:00
Henry Mercer and Copilot App
ecec9b5a37
Share per-language telemetry fields without renaming
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-17 19:06:17 +01:00
Henry Mercer and Copilot App
ead1f7d93f
Rename the platform module
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-17 19:03:27 +01:00
Henry Mercer and Copilot App
69f47159b1
Use Result.orElse for bundle extraction paths
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-16 19:55:13 +01:00
Henry Mercer and Copilot App
f4fa111630
Share elapsed-time rounding for bundle downloads
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-16 19:51:23 +01:00
Henry Mercer and Copilot App
89606bbad1
Return toolcache rejection reasons with Result
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-16 19:43:05 +01:00
Henry Mercer and Copilot App
bd2ddba96c
Extract explicit CodeQL bundle URL classification
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-16 19:36:07 +01:00
Henry Mercer and Copilot App
2f552a99f3
Clarify bundle resolution and latest-nightly selection
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-16 17:36:46 +01:00
Henry Mercer and Copilot App
f536ef48b7
Centralize CodeQL download telemetry fields
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-16 17:30:50 +01:00
Henry Mercer and Copilot App
dfb9bf52c9
Share CodeQL bundle platform definitions
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-16 17:28:00 +01:00
Henry Mercer and Copilot App
2d47caf123
Isolate per-language bundle eligibility state
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-16 17:25:24 +01:00
Henry Mercer and Copilot App
59ce3a25ba
Include failed bundle attempts in fallback timing
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-16 16:56:49 +01:00
Henry Mercer and Copilot App
289376d7dd
Use per-language CodeQL bundles
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-16 16:56:33 +01:00
Henry Mercer and Copilot App
f3e0c870be
Clarify resolved bundle handling
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-16 12:16:13 +01:00
Henry Mercer and Copilot App
1970c450ec
Separate CodeQL bundle resolution from installation
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-15 15:25:18 +01:00
Henry Mercer and Copilot App
40a6b38247
Address toolcache cleanup review feedback
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-08 15:55:41 +01:00
Henry Mercer and Copilot App
31da345c07
Address review comments
...
Delete each version directory individually so that a symlinked one is skipped rather than removed, take an `ActionState` so the environment is read through `ReadOnlyEnv` rather than the deprecated `getOptionalEnvVar`, let `deleteToolcacheBundles` report its own failure to locate the toolcache instead of having the caller catch it, quote paths in log messages, and rename `HAS_OBTAINED_CODEQL_TOOLS` to `HAS_SET_UP_CODEQL`, which is also set when we find the tools in the toolcache rather than downloading them.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-04 17:43:40 +01:00
Henry Mercer and Copilot App
e13c3dc834
Only clean up a toolcache on the workspace filesystem
...
Some runner images keep the toolcache on a different volume to the workspace, so deleting the tools there frees up disk space that the analysis cannot use, and costs a later step that wanted them in the toolcache a download. Windows runners are laid out this way, with the toolcache on `C:` and the workspace on `D:`.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-04 11:00:56 +01:00
Henry Mercer and Copilot App
1331773b9a
Address Copilot review feedback
...
Run the cleanup even when the download will not be cached in the toolcache, since the toolcache shares a filesystem with the directory we extract to, so freeing it helps either way, and report an error other than the toolcache being absent as a failure rather than as an empty toolcache.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-04 10:26:09 +01:00
Henry Mercer and Copilot App
4a0b22ec25
Delete unused CodeQL bundles from the toolcache before downloading
...
When we download a bundle the toolcache often already holds a different one that the job will not use, and on GitHub-hosted runners it shares a filesystem with the workspace, so it takes space away from the analysis. Empty the toolcache before downloading, which also frees space for the archive during extraction, and which is safe because getting as far as a download means the tools were not resolved from the toolcache. Skip this once a step has obtained the tools, since a later step may run a path it was given, and gate it on the runner being GitHub-hosted and on a feature flag that is off by default.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-04 10:12:10 +01:00
Paolo Tranquilli and Copilot App
4c96123771
Add support for linux/arm64
...
Recognize the linux/arm64 platform so the CodeQL CLI is accepted on
Arm64 Linux runners and the native per-platform bundle
codeql-bundle-linux-arm64.tar.zst is resolved, rather than falling
through to the combined all-platforms gzip fallback (which deliberately
omits arm64).
Add ["linux", "arm64"] to the supported platforms and make the linux
bundle name arch-aware. Keep the download mock faithful and cover the
new arch branch with tests.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-08-04 15:32:12 +02:00
Michael B. Gale
3013ac07bd
Promote AllowToolcacheInput feature
2026-07-24 16:28:21 +01:00
Henry Mercer and Copilot App
d57cc916e8
Remove Zstandard availability diagnostic
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-07-20 17:57:01 +01:00
Henry Mercer
87ac48dae6
Improve error message
2026-05-08 19:16:47 +01:00
Henry Mercer
01bc9be56a
Filter to code scanning only
2026-05-07 11:00:54 +01:00
Henry Mercer
b967fdfbdc
Add dry run mode so we can dark ship
2026-05-06 18:30:24 +01:00
Henry Mercer
55d6319f96
Match CLI version to cached overlay-base database
2026-05-06 18:01:37 +01:00
Henry Mercer
b0942116d7
Expose all enabled default CLI versions
2026-05-06 17:45:56 +01:00
Michael B. Gale
f8c75d3f32
Change diagnostic level to note
2026-02-16 17:12:12 +00:00
Michael B. Gale
e315c6fd3b
Add diagnostic when a nightly release is forced
2026-02-16 09:29:32 +00:00
Michael B. Gale
73f5a29960
Complete JSDoc
2026-02-16 09:07:02 +00:00