fix(ci): stabilize CLI startup memory gate

This commit is contained in:
Peter Steinberger
2026-07-13 02:31:44 -04:00
parent 71295851d7
commit 82d53fd91d
3 changed files with 18 additions and 2 deletions

View File

@@ -63,6 +63,10 @@ describe("check-cli-startup-memory", () => {
);
});
it("keeps status startup headroom above Linux runner RSS variance", () => {
expect(testing.resolveDefaultLimitsMb("linux").statusJson).toBe(425);
});
it("keeps invalid startup memory env values from bypassing budgets", () => {
expect(() =>
testing.readPositiveNumberEnv("OPENCLAW_STARTUP_MEMORY_HELP_MB", 100, {