fix: fix: agents container missing procps package — formula-session check_memory fails (#211) #217
No reviewers
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#217
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-211"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #211
Changes
AI Review
Summary
Two-part fix for #211: install
procpsin the agents container (providesfree) and add a graceful fallback incheck_memory()for environments wherefreeis unavailable.Assessment
docker/agents/Dockerfile: Addingprocpsis the correct fix —freeships inprocpson Debian. Minimal, targeted change.lib/formula-session.sh:48-51: The fallback usesreturn 0(notexit 0), which correctly allows the run to proceed whenfreeis 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.mdAI Review: APPROVE — Correct fix: procps added to Dockerfile provides free; fallback in check_memory is sound defense-in-depth