Henry Mercer
e574ef13a6
Merge main into per-language bundle follow-ups
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-22 16:54:25 +01:00
Henry Mercer
48321b2d48
Update src/per-language-bundles.ts
...
Co-authored-by: Michael B. Gale <mbg@github.com >
2026-09-22 16:49:21 +01:00
Henry Mercer
f2ec2f6267
Tweak comment for latest nightly version check
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-09-22 16:23:55 +01:00
Henry Mercer
a9a8cd1aec
Explain the nightly bundle version-check exception
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-22 16:07:10 +01:00
Henry Mercer
dba87a18dc
Clarify elapsed-time helper documentation
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-22 16:07:10 +01:00
Henry Mercer
06344e2ba1
Stub nightly release listing directly
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-22 16:07:09 +01:00
Henry Mercer
07dc94940e
Use default state in per-language bundle tests
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-22 16:07:07 +01:00
Michael B. Gale
8a88af6849
Refactor cleanupAndUploadDatabases querying checkout_path itself
2026-09-22 11:17:02 +01:00
Michael B. Gale
ada4e83349
Refactor cleanupAndUploadOverlayBaseDatabaseToCache querying checkout_path itself
2026-09-22 10:54:07 +01:00
Michael B. Gale
3a30b151d6
Refactor setupDiffInformedQueryRun querying checkout_path itself
2026-09-22 10:53:49 +01:00
Michael B. Gale
669351e880
Replace getRequiredEnvParam calls in init and setup-codeql action
2026-09-22 10:53:27 +01:00
Michael B. Gale
a65b83a73d
Merge pull request #4146 from github/henrymercer/per-language-bundles-pr
...
Use per-language CodeQL bundles
2026-09-18 12:30:36 +00:00
Henry Mercer
07fa87d333
Clarify the latest-nightly eligibility exception
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-17 19:08:05 +01:00
Henry Mercer
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
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
79fe3a1270
Move download telemetry into the status-report directory
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-17 19:04:38 +01:00
Henry Mercer
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
549d498da3
Simplify per-language platform eligibility checks
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-17 19:02:12 +01:00
Henry Mercer
ed3a24ccbc
Group bundle eligibility test state overrides
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-17 19:01:31 +01:00
Henry Mercer
28b8f598f5
Use shared test state for bundle eligibility
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-17 19:00:38 +01:00
Henry Mercer
41c04be873
Use initAllState in bundle cleanup tests
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-17 14:35:02 +01:00
Henry Mercer
06f4ce74f9
Isolate bundle cleanup test environments
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-17 14:34:28 +01:00
Henry Mercer
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
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
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
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
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
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
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
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
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
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
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
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
d65664dcae
Merge pull request #4138 from github/henrymercer/bundle-download-errors
...
Preserve HTTP errors from streaming bundle downloads
2026-09-15 12:36:14 +00:00
Henry Mercer
0224ca9728
Use a plain error when the HTTP status is unknown
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-15 12:55:26 +01:00
Henry Mercer
13354125bc
Omit unknown HTTP status codes from download errors
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-14 11:41:48 +01:00
Mario Campos
1cf8f518e1
Merge pull request #4140 from github/mario-campos/move-withTmpFile
...
Move `withTmpFile` next to `withTmpDir`
2026-09-11 18:54:51 +00:00
Mario Campos
faf4f3af21
Add JSDoc to withTmpFile
2026-09-11 11:12:03 -05:00
Mario Campos
80d5f4e36a
Always clean-up temp dirs in withTmpDir
2026-09-10 18:48:14 -05:00
Mario Campos
f6491d646e
Reduce duplication by using withTmpDir in withTmpFile
2026-09-10 15:37:39 -05:00
Mario Campos
4375107b7e
Move withTmpFile to util.ts and update tests to use it
2026-09-10 15:36:26 -05:00
Henry Mercer
5bdaf5d4af
Preserve HTTP errors from streaming bundle downloads
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-10 19:05:41 +01:00
github-actions[bot]
40484b3395
Update default bundle to codeql-bundle-v2.27.0
2026-09-09 11:33:48 +00:00
Henry Mercer
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
copilot-swe-agent[bot]
034db721dd
Merge remote-tracking branch 'origin/main' into henrymercer/toolcache-bundle-cleanup
...
Co-authored-by: henrymercer <14129055+henrymercer@users.noreply.github.com >
2026-09-07 12:57:51 +00:00
Henry Mercer
313a0b9922
Merge pull request #4122 from github/henrymercer/friendly-potato
...
Don't record an overlay status when the job was cancelled
2026-09-04 16:55:52 +00:00
Henry Mercer
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
a48f2d3077
Record an overlay status only for conclusive job statuses
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-04 17:33:02 +01:00
Henry Mercer
657964c39f
Read the job status from a ReadOnlyEnv in recordOverlayStatus
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com >
2026-09-04 17:31:24 +01:00