Henry Mercer
|
4901f549de
|
Lint
|
2025-09-22 14:01:09 +02:00 |
|
Henry Mercer
|
e2e36b17af
|
Add helper function for reserved tools values
|
2025-09-22 13:59:40 +02:00 |
|
Henry Mercer
|
a25c57cebe
|
Wrap API call to provide better error message
|
2025-09-22 13:20:16 +02:00 |
|
Henry Mercer
|
39be66afb0
|
Add log message
|
2025-09-22 12:54:42 +02:00 |
|
Henry Mercer
|
0f4529ee05
|
Enable requesting latest nightly with "tools: nightly"
|
2025-09-22 12:49:35 +02:00 |
|
Henry Mercer
|
1afa0e7463
|
Cleanup extract to toolcache feature flag
|
2025-08-08 11:26:14 +01:00 |
|
Henry Mercer
|
ea05bf27b6
|
Use more explicit checks on .length for readability
|
2025-08-05 17:55:50 +01:00 |
|
Henry Mercer
|
d23f49f56f
|
Fix assumption that download URLs contain file extension
This is not the case when downloading the bundle from a GitHub Release synced to GHES with the CodeQL Action sync tool.
|
2025-01-22 13:02:45 +00:00 |
|
Fotis Koutoulakis (@NlightNFotis)
|
0dc76a996d
|
feat: use http agent that respects environment proxy settings when streaming
|
2024-12-04 19:29:22 +00:00 |
|
Henry Mercer
|
7bcf845de9
|
Record telemetry for cache operation duration
|
2024-12-03 18:23:15 +00:00 |
|
Henry Mercer
|
0b2048550c
|
Write toolcache marker file
|
2024-12-03 18:05:53 +00:00 |
|
Henry Mercer
|
198fb4b4b2
|
Extract directly to toolcache when feature enabled
|
2024-12-02 18:23:41 +00:00 |
|
Angela P Wen
|
b500b62cea
|
Throw configuration error when tar is not available
|
2024-11-18 11:21:11 -08:00 |
|
Fotis Koutoulakis (@NlightNFotis)
|
5445a29a97
|
tests: instead of false, use old feature flag with default value of false
|
2024-11-12 17:59:47 +00:00 |
|
Henry Mercer
|
26077f3119
|
Remove fallback to gzip
Data shows it is unneeded
|
2024-11-01 15:29:16 +00:00 |
|
Henry Mercer
|
33f2dc57a4
|
Enable zstd bundles on GHES and remove feature flag
|
2024-11-01 15:24:51 +00:00 |
|
Henry Mercer
|
1f4b0cb523
|
Add regression test
|
2024-10-28 20:07:52 +00:00 |
|
Henry Mercer
|
b07135c4b8
|
Improve robustness of extracting bundle tag name
|
2024-10-28 20:07:12 +00:00 |
|
Henry Mercer
|
e5048f5d84
|
Tweak a couple of log messages
|
2024-10-22 21:19:34 +01:00 |
|
Henry Mercer
|
ab636d7049
|
Node 16 fix: Import performance
|
2024-10-10 19:55:07 +01:00 |
|
Henry Mercer
|
4dca88a5fc
|
Logging: Add a space after a URL for easier copying
|
2024-10-10 19:48:21 +01:00 |
|
Henry Mercer
|
222ac621e3
|
Improve duration formatting
|
2024-10-10 19:48:21 +01:00 |
|
Henry Mercer
|
edd7713837
|
Only echo command if we are streaming the stdout
|
2024-10-10 19:48:21 +01:00 |
|
Henry Mercer
|
90c42c41ec
|
Improve logging
|
2024-10-10 19:48:21 +01:00 |
|
Henry Mercer
|
ddead5420c
|
Stream the download and extraction of zstd bundles
Behind a feature flag
|
2024-10-10 19:48:20 +01:00 |
|
Henry Mercer
|
eefb943f7e
|
Don't use Zstandard bundles on Windows
In testing, gzip performs better than Zstandard on Windows.
|
2024-10-10 19:24:32 +01:00 |
|
Henry Mercer
|
28db28fc03
|
Improve clean up if extraction fails
|
2024-10-02 15:45:55 +01:00 |
|
Henry Mercer
|
3da852e107
|
Capture stderr from extracting .tar.zst
|
2024-10-02 15:32:34 +01:00 |
|
Henry Mercer
|
bc68dc9d95
|
Extract constant for first std-compressed version
|
2024-09-24 17:39:33 +01:00 |
|
Henry Mercer
|
0abc1ec90b
|
Capture reason if zstd fails unexpectedly
|
2024-09-23 22:53:13 +01:00 |
|
Henry Mercer
|
4d015b8cba
|
Fall back to gzip if zstd fails
|
2024-09-23 22:53:13 +01:00 |
|
Henry Mercer
|
a7a6a6951e
|
Determine zstd availability earlier on to simplify log
|
2024-09-23 22:39:47 +01:00 |
|
Henry Mercer
|
db98c27941
|
Gate zstd enablement on tar version
|
2024-09-23 22:39:47 +01:00 |
|
Henry Mercer
|
ac3fca3e9f
|
Use zstd bundle by default when feature flag enabled
|
2024-09-23 22:39:46 +01:00 |
|
Henry Mercer
|
0aafba91ba
|
Add standard tools URLs to status report
|
2024-09-05 19:40:26 +02:00 |
|
Henry Mercer
|
27dbb1ab21
|
Infer compression method from URL
Using the downloaded path is unreliable since we may have removed the file extension.
|
2024-08-29 18:09:34 +01:00 |
|
Henry Mercer
|
379271d235
|
Support passing local zstd-compressed bundles
|
2024-08-29 18:08:18 +01:00 |
|
Henry Mercer
|
ffa1b05b27
|
Only try zstd for specified version ranges of tar
|
2024-08-29 17:28:43 +01:00 |
|
Henry Mercer
|
cf64c3e3a3
|
Add telemetry for compression method
|
2024-08-29 17:26:14 +01:00 |
|
Henry Mercer
|
e2572269a1
|
Experiment with asking tar to figure out the decompression method
|
2024-08-29 16:49:45 +01:00 |
|
Henry Mercer
|
50357f5d12
|
Add telemetry for time spent extracting CodeQL bundle
|
2024-08-08 17:46:21 +01:00 |
|
Henry Mercer
|
0407820509
|
Remove CLI version lookup based on release assets
This is now superseded by semantically versioned bundles
|
2024-08-05 19:28:35 +01:00 |
|
Henry Mercer
|
48c11ed2ba
|
Remove supporting code for CodeQL 2.13.0 through 2.13.4
|
2024-08-05 19:28:35 +01:00 |
|
Henry Mercer
|
e7d04fdb41
|
Enable unsafe call rule
|
2024-06-13 19:38:06 +01:00 |
|
Fotis Koutoulakis (@NlightNFotis)
|
df4819e3a1
|
Soften deprecation message wording and remove unhelpful version strings from some locations
|
2024-05-13 14:51:06 +01:00 |
|
Fotis Koutoulakis (@NlightNFotis)
|
bcc13653e8
|
Move logging messages to downstream function and add deprecation notice
|
2024-05-13 14:51:06 +01:00 |
|
Fotis Koutoulakis (@NlightNFotis)
|
998a4c720d
|
Change overriding log message to make default version more explicit.
|
2024-05-13 14:51:06 +01:00 |
|
Fotis Koutoulakis (@NlightNFotis)
|
c92bbd4223
|
Add test for CodeQL version appearing in log.
|
2024-05-13 14:51:06 +01:00 |
|
Fotis Koutoulakis (@NlightNFotis)
|
cff15d7117
|
Add logging for CodeQL CLI Version and add tests to the logger for it.
|
2024-05-13 14:51:06 +01:00 |
|
Fotis Koutoulakis (@NlightNFotis)
|
cbe408dfc9
|
Add option tools: linked for init action.
Also ensure that option latest remains compatible, and add tests for
the two options.
|
2024-05-13 14:51:06 +01:00 |
|