mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
On a host whose temp directory is full or unwritable, every worker_done failed and the task never settled (#38123). The settlement runs inside savepoints, and SQLite keeps savepoint journals in a temp file by default. When that file cannot be written, SQLite rolls back the whole transaction itself, so our own rollback then failed with 'cannot rollback - no transaction is active' and hid the real error. Heartbeats and questions use no savepoints, which is why they kept working. The orchestration database now keeps temp storage in memory, and the lifecycle rollback skips when SQLite already ended the transaction so any remaining failure of this kind reports its own error.