ci / test (postgres) (push) Successful in 2m10s
ci / test (sqlite) (push) Successful in 2m14s
ci / image (push) Successful in 31s
ci / test (postgres) (pull_request) Failing after 2m50s
ci / test (sqlite) (pull_request) Successful in 2m27s
ci / image (pull_request) Skipped
- Gaps between the last stored bar and the first new one were never found, so a minute the live feed skipped, or a day missing right after the stored history, was lost for good. A gap is now new when it ends after the last bar held, and is downloaded again like any other. - When one OKX connection dropped while the other kept writing, the write to the closed feed threw out of the live loop and left it marked connected. Writes now stop quietly, and the loop treats any failure (database included) as a drop: marked down, back off, reconnect. - The background worker now survives a failed round instead of stopping for the life of the process. - Alpaca gives adjusted prices on the basis of the download day, so a later split looked like a crash. Each download re-reads the last stored day and, if its adjusted/real ratio changed, rescales all older adjusted prices. - Stock days are fetched up to the last closed New York session, so the job after the close collects that day; missing stock days are checked against the exchange calendar; delisted stocks with history are not asked again. - Smaller: a lock in the freshness monitor, no NaN mood readings (SQLite stored them as NULL), and the network proof runs only with ANUBIS_LIVE_PROOF=1. The test wait is 30 s for busy machines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>