0e78c404

By: Michael Lynch <git@mtlynch.io>

Run garbage collection immediately on startup

Previously, garbage collection waited seven hours after each process start.
Fly's automatic idle shutdown could restart the process before its first
cleanup, leaving expired files in the database indefinitely.

Run cleanup asynchronously on startup, then continue on the existing
seven-hour schedule. This restores the startup cleanup introduced in #51
and removed by the time.Ticker refactor in #186.

AI-Model: openai/gpt-6.1-sol-fast
GitHub

Total

11s

Created Started Finished

Time to Start Worker time Duration Time to finish Idle
Config 0s 2s 2s 2s 0s
Eval 2s 8s 8s 11s 0s
Build 11s 1s 0s 12s 0s
Suite 0s 11s 11s 12s 1s