fix(core): preserve structured error messages (#33530)

This commit is contained in:
Aiden Cline
2026-06-23 18:43:59 -05:00
committed by GitHub
parent 10f6bb7878
commit c17b9557f1
11 changed files with 73 additions and 9 deletions
@@ -206,6 +206,7 @@ describe("ToolRegistry", () => {
expect(Exit.isFailure(exit)).toBe(true)
if (Exit.isFailure(exit)) expect(Option.getOrUndefined(Cause.findErrorOption(exit.cause))).toBe(retentionFailure)
expect(retentionFailure.message).toBe("Failed to write tool output: disk full")
}),
)