Commit Graph
4 Commits
Author SHA1 Message Date
openhands eb67424a1c test: add verification comment to .gitlab-ci.yml, triggering workflow run 2026-10-12 18:25:05 +02:00
openhands 22f834ef45 fix: add explicit runner tags to .gitlab-ci.yml jobs, ensuring shared runners are used and 'no matching online runner' error is prevented 2026-10-12 17:46:36 +02:00
openhands 0845f80768 fix(ops): run heavy commands under a hard memory cap to stop host OOM kills
The host runs with vm.overcommit_memory=0 and no swap, so a process that
grows past free memory makes the kernel OOM-kill across the whole machine
-- the Turbopack build (commit 3d828a61) could take out the database,
nginx or the live release.

Add scripts/with-memory-cap.sh: it moves a command into its own systemd
scope with MemoryMax, so only that cgroup gets OOM-killed (verified: a
Turbopack build died at its 6GB cap, host untouched). Build/analyze/dev/
test*/typecheck now run under explicit caps; ulimit -v is only an explicit
opt-in because it bounds virtual address space per process and 10g/20g both
break V8-based builds. Docker and GitLab builds run in their own isolated
containers with a read-only cgroupfs and opt out explicitly (webpack +
--max-old-space-size stay their bound).

Measured: webpack build peaks ~6.5GB RSS, so 10GB leaves headroom within
the 23.5GB host.
2026-10-07 20:17:00 +02:00
openhands d4e4711a77 feat: add gitlab-ci, logrotate setup and deploy alerts 2026-09-13 21:17:04 +02:00