mirror of
https://github.com/morluto/rea.git
synced 2026-11-14 18:52:48 +00:00
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 <gensokyo-dev@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4bf5226724
commit
abd64498b7
1 file changed
-14
@@ -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 },
|
||||
|
||||
Reference in new issue
Block a user