fix: restore playwright/cpu-friendly config and deployment memory handling

This commit is contained in:
openhands committed 2026-10-23 14:18:39 +02:00
1 parent a4bc25b6d6
commit af67a28639
3 files changed
+33 -15

No files matched your search

+3 -3
View File
@@ -48,15 +48,15 @@ it("passes a compiled release to both the application build and final image", ()
expect(compose).toContain("NEXT_DEPLOYMENT_ID: ${CMS_RELEASE:-unknown}");
});
it("keeps the compose CMS opt-in and inside the 2 GB limit", () => {
it("keeps the compose CMS opt-in and inside the 4 GB limit", () => {
const compose = readFileSync("docker-compose.yml", "utf8");
// A bare `docker compose up -d` starts only byparr. On a CI-managed host the
// CMS owns port 3002 through ci-deploy.sh; letting compose claim the same
// port again produces an endless EADDRINUSE crash loop.
expect(compose).toContain('profiles: ["cms"]');
expect(compose).not.toContain("cms-green");
expect(compose).toContain("mem_limit: 2g");
expect(compose).toContain("memswap_limit: 2g");
expect(compose).toContain("mem_limit: 4g");
expect(compose).toContain("memswap_limit: 5g");
});
it("builds with fixtures and excludes installation secrets from every stage", () => {