The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(module-pins): cover widened candidate commit in parity proof
Steven Enamakel127e7a0a567e
diff --git a/scripts/__tests__/module-pins.test.mjs b/scripts/__tests__/module-pins.test.mjsindex 69444fdd6b..37eed6a30d 100644--- a/scripts/__tests__/module-pins.test.mjs+++ b/scripts/__tests__/module-pins.test.mjs@@ -360,6 +360,14 @@ test("source parity proof rejects production, manifest, build, lock, and unknownproof: fixture.parity,});assert.equal(result.ok, false, `${changedFile} was incorrectly accepted`);+ const widenedCandidate = validateTestOnlySourceParity({+ repoPath: fixture.root,+ version: "1.0.0",+ assets: [{ hostKey: "linux", archive: "fixture.tar.gz", sha256: "a".repeat(64) }],+ actualHead: head,+ proof: { ...fixture.parity, candidateCommit: head },+ });+ assert.equal(widenedCandidate.ok, false, `${changedFile} was accepted after widening the attested full head`);} finally {rmSync(fixture.root, { recursive: true, force: true });}