Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

merge: preserve wallet and search module pin regressions

Steven Enamakelbb4f97675485
diff --cc scripts/__tests__/module-pins.test.mjs
index 840941b417,d246d334e6..2923ffb76e
--- a/scripts/__tests__/module-pins.test.mjs
+++ b/scripts/__tests__/module-pins.test.mjs
@@@ -125,16 -125,16 +125,26 @@@ test("voice source release matches the
);
});
+test("search source release matches the loaded search artifact", () => {
+ const record = [...parseRecords(readRegistry()).values()].find(
+ (record) => record.id === "tinysearch",
+ );
+ assert.ok(record, "search adapter requires a registered module");
+ const source = readFileSync(join(REPO_ROOT, "vendor/tinysearch/Cargo.toml"), "utf8");
+ const version = source.match(/^version\s*=\s*"([^"]+)"/m)?.[1];
+ assert.equal(version, record.version, "search source must match its loaded artifact");
+});
+
+ test("wallet source release matches the loaded wallet artifact", () => {
+ const record = [...parseRecords(readRegistry()).values()].find(
+ (record) => record.id === "tinywallet",
+ );
+ assert.ok(record, "wallet adapter requires a registered module");
+ const source = readFileSync(join(REPO_ROOT, "vendor/tinywallet/Cargo.toml"), "utf8");
+ const version = source.match(/^version\s*=\s*"([^"]+)"/m)?.[1];
+ assert.equal(version, record.version, "wallet source must match its loaded artifact");
+ });
+
// ── Registry parsing ──────────────────────────────────────────────────────────
test("parses every record `ALL` lists out of the real registry", () => {