From 62e4d31b227971f6e1f146294dcec3f75d5a56da Mon Sep 17 00:00:00 2001 From: Jason Ginchereau Date: Wed, 20 May 2026 09:41:37 -1000 Subject: [PATCH] Update test plan doc regarding warn behavior Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- packages/cache/docs/path-validation-test-plan.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cache/docs/path-validation-test-plan.md b/packages/cache/docs/path-validation-test-plan.md index 1b9aba6f..619e8fcd 100644 --- a/packages/cache/docs/path-validation-test-plan.md +++ b/packages/cache/docs/path-validation-test-plan.md @@ -152,8 +152,8 @@ lists" and observe `extractTar`'s reaction. They mock `@actions/exec`, - Clean archive → no warning, no throw, extraction proceeds - `listAndValidate` throws → wrapped as `CacheIntegrityError(PARSE_ERROR)`, system tar not invoked -- Parse failure in `'warn'` mode → still wrapped as `CacheIntegrityError(PARSE_ERROR)` - and surfaced (we can't trust the archive when we can't even read it) +- Parse failure in `'warn'` mode → warning is logged, validation is skipped, + and extraction still proceeds ### Plumbing