Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

test(interaction-harness): the WebKit container lifts podman's process cap, which eight workers reached (#8912)

Christopher Chedeaucdb298854597
diff --git a/internal/interaction-harness/scripts/webkit-container.mjs b/internal/interaction-harness/scripts/webkit-container.mjs
index cb20fd44aa..3f15bb2b0c 100644
--- a/internal/interaction-harness/scripts/webkit-container.mjs
+++ b/internal/interaction-harness/scripts/webkit-container.mjs
@@ -77,6 +77,11 @@ const command = [
...user,
'--network=host',
'--ipc=host',
+ // Podman caps a container at 2,048 processes, threads included. Every
+ // worker's browser and the tests' own child processes run in this one, and
+ // at eight workers WebKit could not start a page's process: `newPage` (a
+ // frame decode's scratch page) waited out the test.
+ '--pids-limit=-1',
'-v',
`${root}:${root}`,
'-w',