mirror of
https://github.com/morluto/rea.git
synced 2026-12-01 19:09:21 +00:00
test(wasm): expect the shared Evidence identity refusal in compare_wasm_interfaces (#15415)
#15385 moved compare_wasm_interfaces onto the shared Evidence input owner, which reports an Evidence whose subject or selected path does not match its artifact identity as evidence_integrity_mismatch and names the argument through details.side. The process-global attribution test still expected the old invalid_request issue at [side], so it failed on main; main CI skips the Portable tests job, so only PR runs caught it.
This commit is contained in:
1 parent
1c00958431
commit
ff3c1d23b4
1 file changed
+7
-7
@@ -927,15 +927,15 @@ describe("compare_wasm_interfaces Evidence attribution", () => {
|
||||
},
|
||||
});
|
||||
|
||||
// The shared Evidence input owner reports an identity mismatch as an
|
||||
// integrity failure and names the argument through details.side.
|
||||
expect(parseMcpToolError(response).error).toMatchObject({
|
||||
code: "invalid_request",
|
||||
code: "evidence_integrity_mismatch",
|
||||
details: {
|
||||
issues: [
|
||||
expect.objectContaining({
|
||||
path: [side],
|
||||
reason: "invalid_value",
|
||||
}),
|
||||
],
|
||||
side,
|
||||
reason: expect.stringContaining(
|
||||
"subject or selected path does not match its normalized artifact identity",
|
||||
),
|
||||
},
|
||||
});
|
||||
expect(session.exportEvidenceBundle().records).toEqual([]);
|
||||
|
||||
Reference in new issue
Block a user