Repository navigation
Replies: 1 comment
|
same here |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
On one host running seven long-lived orchestrator threads plus their delegated children,
~/.t3/userdata/statev2.sqliteis 17.0 GB (4,155,037 pages at 4 KiB, freelist 0) and grows about 100 MB per hour. Measured read-only on 2026-10-25 (T3 Code 0.1.2):payload_jsonorchestration_events(2026-08-10 → now)turn-item.updatednode.updatedprovider-turn.updatedorchestration_v2_projection_turn_itemsThe rest of the file is indexes and per-row overhead. Nothing prunes or compacts, so the file only grows; on this host it is now the largest single file written in a day, and it sits on the same volume as every worktree and CI runner.
Related but different: #18204 (closed) removed subagent-prompt write amplification; #23482 and #23687 are about WAL and reader locking. None covers retention of the append-only event log.
Reproduction
Run several orchestrators with delegated children for a few weeks. Watch
select count(*) from orchestration_eventsand the file size. Archived threads keep their full event history.Proposed behavior
Keep the event log authoritative but bounded:
VACUUM) with a configurable retained window, andWhy this belongs in T3
Users cannot safely prune a live SQLite file the server has open (#23482 shows a read transaction alone can freeze writes). Only the server knows which events are replayable from projections.
All reactions