sergio
|
4c9d1b4c1d
|
feat(shipote): quota enforce + cgroup memory.max + pipeline restart (fase L)
- WorkspaceSpec.quota_enforce: QuotaAction (None|Log|Kill) por recurso
(mem, nproc). reap_dead aplica policy; Kill usa stop_with_grace(ZERO).
- ente_incarnate::cgroup::apply_rlimits_to_cgroup escribe memory.max y
pids.max. WorkspaceManager::create_with_id lo invoca si soma.cgroup.path
y delegation. Kernel hace OOM kill al exceder; falla silenciosa si no
hay delegation.
- PipelineSpec.restart_on_failure: bool. register_pipeline_supervisor
retiene spec; reap_dead detecta all-dead + any-failed → push a queue;
daemon reaper drena y relanza pipeline ENTERO (los pipes intermedios
no permiten restart parcial).
82 tests pasan (ente-incarnate 16, nouser-core 27, shipote-card 8,
shipote-core 24, shipote-discern 5, yahweh-provider-fs 3).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-11 10:22:46 +00:00 |
|