214 Commits

Author SHA1 Message Date
Salman Chishti
2559a2ac8a
Merge pull request #1982 from actions/salmanmkc/obfuscate-sas
Remove logging of any SAS tokens in Actions/Cache and Actions/Artifact
2025-03-17 11:47:29 +00:00
Salman Chishti
957d42e6c5 add encoding back with extra tests 2025-03-14 06:38:57 -07:00
Salman Chishti
39419dd8c3 don't need to url encode or set var 2025-03-14 06:21:41 -07:00
Salman Chishti
6876e2a664 update ts docs 2025-03-13 04:47:49 -07:00
Salman Chishti
fc482662af PR feedback, back to simplified approach, no export on client as well 2025-03-13 04:23:45 -07:00
Salman Chishti
3ac34ffcb7 Mask different situations, malformed URL, encoded, decoded, raw signatures, nested parameters, and moved to a utility file 2025-03-12 03:17:35 -07:00
Ryan Ghadimi
56c5a39afb
Update blob-upload.ts 2025-03-12 07:59:00 +00:00
Ryan Ghadimi
d7ddca4309 Fix comment on expectedHash 2025-03-11 10:52:19 +00:00
Salman Chishti
47c4fa85df masks the whole URL, update tests 2025-03-10 06:47:52 -07:00
Salman Chishti
1cd2f8a538 Instead of using utility method in core lib, use method in both twirp clients 2025-03-07 06:01:25 -08:00
Ryan Ghadimi
dc22dc7cad
Merge pull request #1975 from actions/ghadimir/update_call_to_list_artifacts
Compare Artifact Digests
2025-03-07 09:51:05 +00:00
Ryan Ghadimi
8c05dc87d8
Change info logs to debug logs 2025-03-07 09:38:33 +00:00
Salman Chishti
944e6b78db Add secret and signature masking for cache and artifact packages 2025-03-06 14:25:32 -08:00
Ryan Ghadimi
3726c11433 Please the linter 2025-03-05 14:44:58 +00:00
Ryan Ghadimi
71b40f7024 nicer wording 2025-03-05 14:35:01 +00:00
Ryan Ghadimi
83e5e2517b Change some debug -> info for artifacts hash logging 2025-03-05 14:30:51 +00:00
Ryan Ghadimi
d5c8a0fa27 Update proto artifact interface, retrieve artifact digests, return indicator of mismatch failure 2025-03-05 11:29:44 +00:00
JoannaaKL
780e24be34
Dont skip pages 2025-03-05 09:27:35 +00:00
Yang Cao
c26e6f3aba Default upload artifacts concurrency to 5 2025-02-20 17:03:29 +00:00
Yang Cao
e55409315f Rename the prefix to be more specific 2025-01-08 20:32:45 +00:00
Yang Cao
d4385a64a7 Concurrency has a min of 1 2025-01-08 18:14:04 +00:00
Yang Cao
ede05b95d7 Make concurrency change opt-in, but can only go lower 2025-01-08 18:11:38 +00:00
Yang Cao
f3c12d5561 Set default concurrency to 10 and make timeout configurable 2025-01-08 16:19:09 +00:00
Brian DeHamer
1e0c16f0dc
return artifact digest on upload
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-12-06 14:27:46 -08:00
Rob Herley
545e0e6b95
properly resolve relative symlinks 2024-10-08 12:35:48 -04:00
Rob Herley
7f19a7886a
fix regression, auto readlink on symlinks again 2024-09-20 17:23:43 -04:00
Sébastien Morais
3a33cca851
FIX: Set chunk timeout back to 5 minutes 2024-08-06 10:27:41 +02:00
Robin Munn
7c61054649 Remove unused import 2024-07-27 17:00:02 +07:00
Robin Munn
9517cdf52d Prevent "too many open files" in artifact upload
See https://www.archiverjs.com/docs/archiver/#file
2024-07-26 08:49:34 +07:00
Rob Herley
3e34f6d19c
add comment for chunk timeout 2024-07-24 12:40:57 -04:00
Rob Herley
182702d2df
fix chunk timeout + update tests 2024-07-23 21:57:39 -04:00
Rob Herley
176b40a888
allow localhost hostnames for artifact checks 2024-07-03 16:55:53 +00:00
bethanyj28
6e642f628f lint 2024-04-23 16:06:02 -04:00
bethanyj28
476276bf98 use latest unzip-stream 2024-04-23 15:54:54 -04:00
Rob Herley
ccb1df45d1
artifact client: retry on non-JSON response 2024-04-19 14:03:47 +00:00
Vallie Joseph
5eea9e34e7 cleaning up comments and removing clear timeout outside of finaly 2024-04-15 16:08:45 +00:00
Vallie Joseph
222733049e . 2024-04-09 21:22:40 +00:00
Vallie Joseph
fa9db3c8fa wrapping timeout in try catch 2024-04-09 21:18:30 +00:00
Vallie Joseph
18a8a22c65 updating upload try catch to always call cleartimeout 2024-04-09 21:05:58 +00:00
Vallie Joseph
425f05e29d moving timer outside of uploadZipToBlobStorage 2024-04-09 21:04:29 +00:00
Vallie Joseph
90fca23920 replacing timeout 2024-04-09 20:51:12 +00:00
Vallie Joseph
0d3d3bbb40 Adding missing progress time 2024-04-09 20:40:08 +00:00
Vallie Joseph
2ed9516172 updating timeout 2024-04-09 19:24:52 +00:00
Vallie Joseph
2e7a11c409 upgrading archiver package along with chunk timeout 2024-04-09 18:02:48 +00:00
bethanyj28
bb420e4681 add info level logging for zip extract 2024-03-01 12:54:40 -05:00
bethanyj28
dcc55dfd04 feedback 2024-02-26 09:56:00 -05:00
bethanyj28
902046e4d8 ensure callback is only called once 2024-02-26 09:36:35 -05:00
bethanyj28
7fa864a4f4 go back to normalize) 2024-02-23 15:28:25 -05:00
Bethany
f77cbc9ef7
Update packages/artifact/src/internal/download/download-artifact.ts
Co-authored-by: Tingluo Huang <tingluohuang@github.com>
2024-02-23 15:20:01 -05:00
bethanyj28
8a1800c5da use resolve instead of normalize 2024-02-23 15:15:17 -05:00