From abd64498b7969956debeb45875db54ec11a28622 Mon Sep 17 00:00:00 2001 From: gensokyo-dev Date: Sat, 14 Nov 2026 07:32:31 +0000 Subject: [PATCH] test(cli): scope the entropy cleanup regression to the provider id Main now reports a descriptor close failure as unreadable_output without the completed partial observation, so the retained-Evidence assertion from the original branch no longer describes current behavior. Keep the provider-id regression this fix owns; the dropped partial observation is tracked separately. Co-Authored-By: gensokyo-dev Co-Authored-By: Claude Opus 5.5 --- tests/process-global/byteEntropyCleanupCli.test.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/process-global/byteEntropyCleanupCli.test.ts b/tests/process-global/byteEntropyCleanupCli.test.ts index 1c50384496..83181a5eea 100644 --- a/tests/process-global/byteEntropyCleanupCli.test.ts +++ b/tests/process-global/byteEntropyCleanupCli.test.ts @@ -1,4 +1,3 @@ -import { createHash } from "node:crypto"; import { writeFile } from "node:fs/promises"; import { join } from "node:path"; import { afterEach, expect, it, vi } from "vitest"; @@ -93,19 +92,6 @@ it.each([ details: { cleanup: "incomplete", diagnostics: { - primary_error: { - details: { - partial_observation: { - provider: { id: BYTE_ENTROPY_PROVIDER.id }, - subject: { - digest: { - sha256: createHash("sha256").update(content).digest("hex"), - }, - }, - normalized_result: { artifact: { bytes: content.length } }, - }, - }, - }, cleanup_error: { code: "cleanup_incomplete", details: { provider_id: BYTE_ENTROPY_PROVIDER.id },