From 2efb81a497b14f0d35ca660fcd4656f2c709bf02 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Sun, 12 Apr 2026 22:02:25 +0200 Subject: [PATCH] style: prettier format oom-prevention SKILL.md --- .github/skills/oom-prevention/SKILL.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/skills/oom-prevention/SKILL.md b/.github/skills/oom-prevention/SKILL.md index b3ce737..cece65a 100644 --- a/.github/skills/oom-prevention/SKILL.md +++ b/.github/skills/oom-prevention/SKILL.md @@ -100,16 +100,17 @@ isolated DB, never seeing the prior run's file. ## Quick Reference -| Problem | Root Cause | Fix | -|---|---|---| -| Machine freezes during `git push` | zram swap absorbs cgroup-limited process | `MemorySwapMax=0` in all cgroup scopes | -| Machine freezes during `git commit` | Same as above | `run_capped()` in `.git/hooks/pre-commit` | +| Problem | Root Cause | Fix | +| ---------------------------------------- | ------------------------------------------ | ------------------------------------------- | +| Machine freezes during `git push` | zram swap absorbs cgroup-limited process | `MemorySwapMax=0` in all cgroup scopes | +| Machine freezes during `git commit` | Same as above | `run_capped()` in `.git/hooks/pre-commit` | | pytest INTERNALERROR on coverage combine | Stale `.coverage` SQLite DB from prior run | `COVERAGE_FILE=` per subprocess | -| pytest OOM during per-package run | Accumulated memory across package runs | 2 GB nested cgroup per package | +| pytest OOM during per-package run | Accumulated memory across package runs | 2 GB nested cgroup per package | ## Adding New Hooks If you add a new pre-commit or pre-push hook that runs: + - `pytest` with coverage - `mypy` or `pylint` - `node` / `eslint` / TypeScript compilation