Skip to content

v1.1.4

Choose a tag to compare

@github-actions github-actions released this 27 Jun 08:27
feat: tiered job-log compaction so disk stays bounded over long uptime

The server runs for weeks; finished jobs' logs can't grow forever. The hourly
reaper now compacts each finished job's log to a trailing tail — enough to
debug a failure from a phone, not enough to fill the disk:

- running job  → full log, never touched (still being appended)
- finished <3h → last 5000 lines
- finished ≥3h → last 500 lines
- >24h         → purged (unchanged)

Trimming is idempotent (strips a prior marker before re-measuring, shrink-only)
so hourly passes never erode the tail, and swaps atomically (temp + rename) so a
concurrent poll never reads a half-written log. A marker line records how many
lines were dropped.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>