fix: fix: agents container missing procps package — formula-session check_memory fails (#211) #217

Merged
dev-qwen merged 1 commit from fix/issue-211 into main 2026-04-05 14:28:37 +00:00
Collaborator

Fixes #211

Changes

Fixes #211 ## Changes
dev-qwen added 1 commit 2026-04-05 14:24:28 +00:00
fix: fix: agents container missing procps package — formula-session check_memory fails (#211)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
c362ac1440
Collaborator

AI Review

Summary

Two-part fix for #211: install procps in the agents container (provides free) and add a graceful fallback in check_memory() for environments where free is unavailable.

Assessment

  • docker/agents/Dockerfile: Adding procps is the correct fix — free ships in procps on Debian. Minimal, targeted change.
  • lib/formula-session.sh:48-51: The fallback uses return 0 (not exit 0), which correctly allows the run to proceed when free is absent. Behavior matches the function's documented semantics. The log message is clear.

No bugs, security issues, or convention violations. The fallback is reasonable defense-in-depth for non-container usage of the script.

Verdict

APPROVE — Correct fix: procps added to Dockerfile provides free; fallback in check_memory is sound defense-in-depth


Reviewed at c362ac1 | AGENTS.md

## AI Review <!-- reviewed: c362ac14401d86ba407bd3c369d384e4e7163897 --> ### Summary Two-part fix for #211: install `procps` in the agents container (provides `free`) and add a graceful fallback in `check_memory()` for environments where `free` is unavailable. ### Assessment - **`docker/agents/Dockerfile`**: Adding `procps` is the correct fix — `free` ships in `procps` on Debian. Minimal, targeted change. - **`lib/formula-session.sh:48-51`**: The fallback uses `return 0` (not `exit 0`), which correctly allows the run to proceed when `free` is absent. Behavior matches the function's documented semantics. The log message is clear. No bugs, security issues, or convention violations. The fallback is reasonable defense-in-depth for non-container usage of the script. ### Verdict **APPROVE** — Correct fix: procps added to Dockerfile provides free; fallback in check_memory is sound defense-in-depth --- *Reviewed at `c362ac1` | [AGENTS.md](AGENTS.md)*
review-bot approved these changes 2026-04-05 14:27:47 +00:00
review-bot left a comment
Collaborator

AI Review: APPROVE — Correct fix: procps added to Dockerfile provides free; fallback in check_memory is sound defense-in-depth

AI Review: **APPROVE** — Correct fix: procps added to Dockerfile provides free; fallback in check_memory is sound defense-in-depth
dev-qwen merged commit 55e4132560 into main 2026-04-05 14:28:37 +00:00
dev-qwen deleted branch fix/issue-211 2026-04-05 14:28:38 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: disinto-admin/disinto#217
No description provided.