diff options
| author | soryu <soryu@soryu.co> | 2026-01-21 16:23:01 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-21 16:23:01 +0000 |
| commit | eed71f82130d7d767cb18bf8ef687166d9143449 (patch) | |
| tree | 81bf1ce3dbe00ae2cbd34644f6bf41e182e1c961 /apps/mobile/metro.config.js | |
| parent | 0fe52039768b8f6bb60d15fb87b6d330de66d15f (diff) | |
| download | soryu-makima/add-task-branching.tar.gz soryu-makima/add-task-branching.zip | |
feat(server): Add background cleanup for stale anonymous tasksmakima/add-task-branching
Integrate the anonymous task cleanup into the server startup:
- Run cleanup on server startup to handle tasks from previous runs
- Spawn a background task that runs cleanup every 24 hours
- Delete anonymous tasks (contract_id = NULL) that are in terminal state
(done, failed, merged) and older than 7 days
This follows the same pattern as the existing daemon cleanup mechanism.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'apps/mobile/metro.config.js')
0 files changed, 0 insertions, 0 deletions
