fix: smoke test leaks orphaned mock-forgejo.py processes #196
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#196
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
The smoke test spawns mock-forgejo.py processes but does not clean them up on completion or failure. Over time, these accumulate.
Observed: 2881 processes in the disinto-dev-box container, almost all orphaned python3 mock-forgejo.py. This consumed 7.45GB of 8GB RAM + 4GB swap, causing the entire container to freeze (OOM thrash). Required a forced container restart.
Root cause
Smoke tests spawn mock-forgejo.py servers in the background. The test teardown does not kill these processes. Each CI run leaks more. The agents-llama entrypoint also installs duplicate smoke-test crontabs that keep re-running.
Proposed solution
Affected files
Acceptance criteria
Blocked — issue #196
no_push2026-04-04T21:34:05ZDiagnostic output