Files
copilotkit__copilotkit/showcase/harness/Dockerfile
Jordan Ritter 3a6df6fcea fix(showcase/harness): correct misleading Dockerfile PID comment + assert lowered MAX_CONTEXTS default
The Dockerfile FIX #3 comment claimed the in-image `ulimit -u` raised the cgroup
pids.max (target 16384). It cannot: `ulimit -u` only lifts this process's
RLIMIT_NPROC; the cgroup pids.max is set by the container runtime
(--pids-limit), is platform-fixed at 1000 on staging, and is not raisable from
the image. Rewrite the comment to state this accurately and point at the real
demand-side mitigation (fewer concurrent contexts + gauge/alarm). The harmless
`ulimit -u` line itself is retained. Also update the env test to assert the new
MAX_CONTEXTS default of 24.
2026-06-04 09:46:25 -07:00

11 KiB