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
fix(module-pins): ignore submodule state when checking worktree cleanliness
Steven Enamakel82e1fc80a80c
diff --git a/scripts/__tests__/module-pins.test.mjs b/scripts/__tests__/module-pins.test.mjsindex b94baf534f..aa000a60db 100644--- a/scripts/__tests__/module-pins.test.mjs+++ b/scripts/__tests__/module-pins.test.mjs@@ -211,6 +211,8 @@ function sourceParityFixture() {git(["init", "-q"]);git(["config", "user.email", "[email protected]"]);git(["config", "user.name", "Pin Check"]);+ git(["config", "commit.gpgsign", "false"]);+ git(["config", "tag.gpgsign", "false"]);mkdirSync(join(root, "src"), { recursive: true });writeFileSync(join(root, "src/lib.rs"), '#[cfg(test)]\n#[path = "tests.rs"]\nmod tests;\npub fn value() -> u8 { 1 }\n');writeFileSync(join(root, "src/tests.rs"), "#[test] fn works() {}\n");diff --git a/scripts/lib/module-pins.mjs b/scripts/lib/module-pins.mjsindex 9b42ac2208..9c119762ba 100644--- a/scripts/lib/module-pins.mjs+++ b/scripts/lib/module-pins.mjs@@ -243,7 +243,14 @@ export function validateTestOnlySourceParity({if (runGit(["rev-parse", "HEAD"]) !== proof.candidateCommit) {throw new Error("checked-out HEAD differs from attested candidate");}- if (runGit(["status", "--porcelain", "--untracked-files=all"])) {+ if (+ runGit([+ "status",+ "--porcelain",+ "--untracked-files=all",+ "--ignore-submodules=none",+ ])+ ) {throw new Error("module worktree is dirty");}if (