Another database read optimization: schema checks (triggered repeatedly by publish) are cached per database client, including concurrent requests. Migrations clear the cache.73e795d
Publishing unconditionally invalidates calendars once per process per published day. This brings the number of calendar fetches during publishing to zero (from a lot). The result should be occasional, as-needed invalidation of historical months, and regular but not constant invalidation of the current month, which is about right. The occasional unnecessary invalidation should cost a lot less than the repeated calendar queries that power conditional invalidation.3a21424
Merge branch 'batch-review'c93c1d2
Make validation errors, batch run errors, and overall review progress more prominent in the batch review UI.1cb88fe
Increase caching in @vod/api and run diagnostics on API requests, query counts, returned rows, and cache outcomes. The goal is to reduce row reads in Turso by 75% (they are currently a bit out of hand at ~100 million/day).463faf3
Make the batch review workspace a full-page route at /review in the @vod/manager UI. The review interface itself is now a React component, instead of an iframe embedding script output. The dependency is now inverted: ring-review.ts (the aforementioned script) now embeds the React component and produced a standalone, offline bundle.2773516
Add batch import review workspace to @vod/manager. It uses the new decisions.json workflow to generate a supplemental review batch. The whole process--review, import, and publish--can now be completed in the UI.8f80bc3