rea/tests
Kaoru0822 cd2ad1f240
fix(artifacts): report malformed ZIP archives as format failures (#2683)
* fix(artifacts): report malformed ZIP archives as format failures

zip.js signals archive faults (missing end-of-central-directory record,
unrecognized format, overlapping members, corrupt member data,
unsupported compression) as plain Errors. ZipArtifactReader passed them
through untyped, so the artifact provider's fallback reported every one
as `io` with no detail and told the caller to "check file access".

Type these faults at the ZIP reader boundary: structural and data
corruption become `format` failures and unsupported archive features
become `unavailable`, each carrying the zip.js reason as detail. This
covers enumeration, the getData rejection, and the WritableStream abort
path that delivers corrupt-data errors first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(artifacts): share the ZIP inventory failure assertion

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 20:07:28 +08:00
..
acceptance fix(setup): resolve DeepSeek Harness home overrides (#2461) 2026-10-13 20:05:31 +08:00
boundary fix(artifacts): report malformed ZIP archives as format failures (#2683) 2026-10-13 20:07:28 +08:00
composition test(evm): verify static descriptor bindings before use (#2427) 2026-10-13 09:07:40 +08:00
conformance fix(ghidra): resolve file offsets in decompile (#2101) 2026-10-13 18:23:17 +08:00
evaluation ci: observe affected-owner test plans against full results 2026-10-13 19:21:09 +08:00
fixtures fix(native): select one slice when universal Mach-O slices share a CPU type (#2040) 2026-10-13 16:36:23 +08:00
process-global fix(setup): preserve current recovery snapshots and decoding failures 2026-10-13 14:51:55 +08:00
support test(cli): preserve Windows runtime paths and failure diagnostics 2026-10-12 15:46:42 +08:00
ciTestSequencer.ts ci: finish main validation and balance complete test costs 2026-10-13 18:54:05 +08:00
processOwnershipRunner.ts test(process): retire native caches at worker teardown 2026-10-09 04:12:49 +08:00