From 51b91c873d392f288aa4f98d2db4f19628c2a8bb Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Tue, 1 Dec 2026 19:12:16 -0500 Subject: [PATCH] test(artifacts): expect resource_constraint for the ZIP zstd window ceiling (#15696) The fixed 128 MiB ZIP Zstandard window allowance refuses the read at admission, which #15588 reports as resource_constraint. The test still pinned partial through a ternary keyed by the fixture size. --- tests/boundary/cli/artifactZstandardWindow.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/boundary/cli/artifactZstandardWindow.test.ts b/tests/boundary/cli/artifactZstandardWindow.test.ts index feefe72ab94..d485458894a 100644 --- a/tests/boundary/cli/artifactZstandardWindow.test.ts +++ b/tests/boundary/cli/artifactZstandardWindow.test.ts @@ -16,7 +16,7 @@ import { ZIP_ZSTANDARD_WINDOW_CEILING } from "../../../src/resources/ZipArtifact const expectRefusal = (diagnostic: unknown, large: boolean): void => { expect(diagnostic).toMatchObject({ - code: large ? "partial" : "unsupported_target", + code: large ? "resource_constraint" : "unsupported_target", details: large ? { reason: "limit", boundary: "memory", truncated: true } : { failure_kind: "malformed", format: "zip" },