24 Commits

Author SHA1 Message Date
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) 88bcf64e02 feat: change wording of error reporting when a failure occurs during extraction 2024-12-11 11:32:53 +00:00
Fotis Koutoulakis (@NlightNFotis) 4c20d4f58a feat: cleanup destination directory if we fail during streaming of the extraction 2024-12-09 19:13:05 +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 4a7b2d6c90 Merge branch 'main' into henrymercer/extract-direct-to-toolcache 2024-12-04 10:06:51 +00:00
github-actions[bot] 44e03577b2 Rebuild 2024-12-03 18:39:38 +00:00
Henry Mercer 93f3303766 Tweak log wording 2024-12-03 18:23:04 +00:00
Henry Mercer b2a4442810 Ensure destination directory exists when streaming extraction 2024-12-03 18:22:44 +00:00
Henry Mercer d5bcf48469 Add more error handling to zstd extraction 2024-12-03 18:22:28 +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
Henry Mercer be26fe61b5 Enable specifying extraction destination 2024-12-02 17:58:30 +00: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
Fotis Koutoulakis (@NlightNFotis) e6dd4048e9 workaround: disable streaming when downloading codeql bundle 2024-11-12 16:39:21 +00:00
Henry Mercer ebbe050cf6 Do not pass undefined authorization header 2024-11-11 15:07:23 +00:00
Henry Mercer 33f2dc57a4 Enable zstd bundles on GHES and remove feature flag 2024-11-01 15:24:51 +00:00
Henry Mercer 972eba1b90 Only stream installing the bundle on Linux 2024-10-22 22:05:49 +01:00
Henry Mercer 06361b4d2b Bump high water mark when downloading bundle to 16 MB 2024-10-22 21:18:03 +01:00
Henry Mercer 565880b86a Add explicit field for extraction streaming 2024-10-10 19:54:56 +01:00
Henry Mercer 222ac621e3 Improve duration formatting 2024-10-10 19:48:21 +01:00
Henry Mercer 90c42c41ec Improve logging 2024-10-10 19:48:21 +01:00
Henry Mercer df0590b2ee Follow redirects 2024-10-10 19:48:20 +01:00
Henry Mercer d70300d9f5 Use https module 2024-10-10 19:48:20 +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