mirror of
https://github.com/morluto/rea.git
synced 2026-11-04 13:56:06 +00:00
test: strengthen and prune audited test coverage (#8573)
* test: strengthen and prune audited test coverage * test: require delivered DeepSeek skill instructions * test: keep schema fixture types private * test: verify Gemini receives skill instructions * test: bind Qwen skill evidence to its tool result * test: report NativeAOT verifier checks precisely * fix: verify Ghidra cleanup paths reliably * fix: verify Command Code skill activation * test: tighten cleanup and fixture checks * test: verify packet capture evidence is recorded * fix: report HTTP3 capture provenance accurately * test: preserve resource coverage through MCP * test: prune repeated assertions and retain cancellation identity * fix: validate client verifier fixture paths * test: skip Copilot verifier cases on Windows * test: keep verifier setup target relative
This commit is contained in:
1 parent
ce9095d727
commit
7bcefead69
167 files changed
+2396
-1012
No files matched your search
@@ -48,9 +48,6 @@ describe("Python pyc stable filesystem boundary", () => {
|
||||
const tooSmall = await service.inspect({ path, max_file_bytes: 16 });
|
||||
if (tooSmall.ok) throw new Error("Expected resource budget failure");
|
||||
expect(tooSmall.error._tag).toBe("AnalysisResourceConstraintError");
|
||||
const tooFewObjects = await service.inspect({ path, max_objects: 1 });
|
||||
if (tooFewObjects.ok) throw new Error("Expected object budget failure");
|
||||
expect(tooFewObjects.error._tag).toBe("AnalysisResourceConstraintError");
|
||||
for (const [field, selected] of [
|
||||
["max_objects", 1],
|
||||
["max_depth", 1],
|
||||
@@ -58,6 +55,8 @@ describe("Python pyc stable filesystem boundary", () => {
|
||||
] as const) {
|
||||
const refused = await service.inspect({ path, [field]: selected });
|
||||
if (refused.ok) throw new Error(`Expected ${field} refusal`);
|
||||
if (field === "max_objects")
|
||||
expect(refused.error._tag).toBe("AnalysisResourceConstraintError");
|
||||
const projected = projectAnalysisError(refused.error);
|
||||
expect(projected).toMatchObject({
|
||||
code: "resource_constraint",
|
||||
|
||||
Reference in new issue
Block a user