agent.service exited 1 mid-rework on porksicle.com#89 (822M peak, work lost and redone) #272
Labels
No labels
Agent
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No assignees
1 participant
Notifications
Total time spent: 54 seconds
Due date
igor
54 seconds
No due date set.
Dependencies
No dependencies set
Reference
joshtronic/igor#272
Loading…
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?
The 00:39 tick claimed the binding rework for
joshtronic/porksicle.com#89, invoked claude at 00:39:57, and ran ~14 min of heavy work in the worktree (npm install, generatingthumb.png/og.png,npm test,npm run verifywith Playwright/Chromium, security review). Mid-tool-result the harness exited nonzero with no[agent] claude exited/time loggedcompletion markers and no benign explanation. Memory peak was 822.5M -- far above the ~150-360M of every other tick this hour, suggesting the Chromium/Playwright path under the unit blew its budget. The crash discarded all the rework; the 00:55 tick re-opened the same PR and began regenerating the identical thumbnail from scratch (still running at hour close), so the expensive operation is on track to repeat -- and re-crash -- each round.Followed by the from-scratch redo:
'Fixed' = the rework tick either completes (commits + requests review) or fails gracefully with a logged error instead of a raw
status=1/FAILURE; identify what threw at 00:53:46 (likely the Playwright/Chromiumnpm run verifyunder the unit's memory cap) and either bound its memory or run it outside the per-minute tick so a single review round can't crash and indefinitely re-do the same work.service: agent.service
severity: medium
window: 2026-06-27 00:00-01:00 (filed by the hourly logwatch pass)
Closing in favor of #276, which fixes the real cause. This was not OOM — 31 GiB RAM (27 free, swap untouched), exit code 1 (an OOM-kill is SIGKILL → 137), and no kernel OOM-killer entries; the 822M peak was just Chromium under Playwright. The actual bug: claude exited nonzero mid-stream, truncating the cost JSONL, so cost_record_cli failed under a re-enabled set -e and raised a raw status=1 that bypassed the caller’s exit handling. Fixed in #276.