add gstack 2 parity and lifecycle gates

This commit is contained in:
Sinabina
2026-07-17 11:08:32 -07:00
parent b6572ebbb7
commit 9919c4cdd3
212 changed files with 29098 additions and 3845 deletions
@@ -45,6 +45,13 @@ describe("security-sidecar-client — availability probe", () => {
expect(typeof result.reason).toBe("string");
}
});
test("never sends the TypeScript model downloader directly to plain Node", async () => {
const { findSecuritySidecar } = await import("../src/find-security-sidecar");
const location = findSecuritySidecar();
expect(location === null || location.mode === "compiled").toBe(true);
expect(location?.entry.endsWith(".ts") ?? false).toBe(false);
});
});
describe("security-sidecar-client — circuit breaker after repeated failures", () => {