Austen Stone
006d6978c1
linting
2025-10-22 11:44:21 -04:00
Austen Stone
fea4f6b5c5
fix: resolve critical pagination bugs and add comprehensive testing
...
- Fix off-by-one error in pagination loop (< to <=) that prevented fetching last page
- Add Math.ceil() to maxNumberOfPages calculation for proper limit handling
- Replace hardcoded 2000 limit with configurable getMaxArtifactListCount()
- Add pagination test for multi-page artifact listing
- Add environment variable test for ACTIONS_ARTIFACT_MAX_ARTIFACT_COUNT
- Add comprehensive test coverage for getMaxArtifactListCount() function
Fixes compound bug where pagination and limit logic capped results at 900 artifacts instead of intended 1000.
2025-10-21 09:22:11 -04:00
Salman Muin Kayser Chishti
028d621193
Merge remote-tracking branch 'origin/main' into salmanmkc/node24
2025-10-15 16:41:54 +01:00
Daniel Kennedy
9b4ee219ef
fix: only mock the cpus() function on the os module instead of the whole module
2025-10-15 16:26:39 +01:00
Daniel Kennedy
9b08f07cd3
Fix linting
2025-09-25 09:26:13 -04:00
Daniel Kennedy
d26e9423f4
Test: add a timeout test for downloading chunks from the stream
2025-09-25 09:11:38 -04:00
Daniel Kennedy
1db3130eb3
fix: only mock the cpus() function on the os module instead of the whole module
2025-09-24 20:01:53 -04:00
Salman Muin Kayser Chishti
8c3fc9ed99
Update test to use mock
2025-08-06 12:49:50 +01:00
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
d13e6311f1
fix tests
2025-03-14 04:28:22 -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
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
Salman Chishti
944e6b78db
Add secret and signature masking for cache and artifact packages
2025-03-06 14:25:32 -08:00
Ryan Ghadimi
d5c8a0fa27
Update proto artifact interface, retrieve artifact digests, return indicator of mismatch failure
2025-03-05 11:29:44 +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
5a62022195
/
2024-09-20 17:52:14 -04:00
Rob Herley
8551843690
fix assertion
2024-09-20 17:45:55 -04:00
Rob Herley
7f19a7886a
fix regression, auto readlink on symlinks again
2024-09-20 17:23:43 -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
9eb3d3a673
lint
2024-04-23 16:10:57 -04: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
918b468a41
replacing writeFile with writeFileSync
2024-04-15 16:57:28 +00:00
Vallie Joseph
234761dc05
replacing writeFile with writeFileSync
2024-04-15 16:51:30 +00:00
Vallie Joseph
fa1cb5d153
correcting imports
2024-04-15 16:49:47 +00:00
Vallie Joseph
e998cf1216
cleaning up tests
2024-04-15 16:32:31 +00:00
Vallie Joseph
be507421b1
.
2024-04-15 15:24:57 +00:00
Vallie Joseph
90fca23920
replacing timeout
2024-04-09 20:51:12 +00:00
Vallie Joseph
2ed9516172
updating timeout
2024-04-09 19:24:52 +00:00
Vallie Joseph
4fc93ec115
.
2024-04-09 19:01:54 +00:00
Vallie Joseph
61d6acdeb1
updating test
2024-04-09 18:52:19 +00:00
Vallie Joseph
f98ccd1e39
updating tests
2024-04-09 18:21:41 +00:00
Vallie Joseph
2e7a11c409
upgrading archiver package along with chunk timeout
2024-04-09 18:02:48 +00:00
bethanyj28
6cf4fbcef8
add a comment
2024-02-23 15:33:24 -05:00
bethanyj28
ac84a9bee3
re-add noop logs and format + lint
2024-02-23 13:46:22 -05:00
bethanyj28
4256ea99c5
update test case and handling
2024-02-23 13:41:40 -05:00
bethanyj28
76489f433b
attempt with comparing index
2024-02-23 11:59:36 -05:00
bethanyj28
e9005f7727
ensure no path traversal
2024-02-23 10:54:12 -05:00
bethanyj28
b956d8a4dd
audit, lint, format
2024-02-22 17:55:53 -05:00