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(ci): allow chrome windows lock probe in storage bypass check
Steven Enamakel9157e88e74fc
diff --git a/scripts/__tests__/storage-bypass.test.mjs b/scripts/__tests__/storage-bypass.test.mjsindex 8585795b5a..ec7fee3d6f 100644--- a/scripts/__tests__/storage-bypass.test.mjs+++ b/scripts/__tests__/storage-bypass.test.mjs@@ -229,9 +229,10 @@ test("a verbatim copy of an allowlisted line is still a finding", () => {);});- test("Chrome's Windows lock probe is not persisted state; additional writes still fail", () => {+test("Chrome's Windows lock probe is not persisted state; additional writes still fail", () => {const file = `${SRC}/modules/browser_profile.rs`;- const probe = "lock.exists() && std::fs::OpenOptions::new().write(true).open(&lock).is_err()";+ const probe =+ "lock.exists() && std::fs::OpenOptions::new().write(true).open(&lock).is_err()";const { status, out } = run({ [file]: probe }, []);assert.equal(status, 0, out);const extra = run({ [file]: `${probe}\nstd::fs::write(path, data);` }, []);diff --git a/scripts/ci/check-storage-bypass.mjs b/scripts/ci/check-storage-bypass.mjsindex fe4bad33d8..0eb29c3acf 100755--- a/scripts/ci/check-storage-bypass.mjs+++ b/scripts/ci/check-storage-bypass.mjs@@ -65,6 +65,12 @@ const FALLBACK =*/export const ALLOW = new Map([+ [+ "modules/browser_profile.rs",+ "json-write",+ "lock.exists() && std::fs::OpenOptions::new().write(true).open(&lock).is_err()",+ "probes Chrome's machine-local Windows profile lock for sharing violations; opens an existing file without creating, truncating or writing persisted state",+ ],["security/approval/store.rs","sqlite-open",