No description
Find a file
jtricerolph 4bad66c91a Fix revenue endpoint 500 — rollback SQLAlchemy session after caught exceptions
When forecast_covers_range or forecast_revenue_for_date throw DB exceptions,
the swallowed exception leaves the async session in an aborted transaction state.
Subsequent queries (DOW averages, per-date accom) then fail with
InFailedSQLTransactionError. Adding db.rollback() in the except blocks
resets the session so the fallback path can continue cleanly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-21 14:53:54 +00:00
backend Fix revenue endpoint 500 — rollback SQLAlchemy session after caught exceptions 2026-07-21 14:53:54 +00:00
db Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
frontend Remove responsive breakpoint — sidebar always visible (desktop-forced via CSS) 2026-07-21 08:54:51 +00:00
.gitignore Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
docker-compose.yml NewBook credentials from central Settings service 2026-07-04 19:36:41 +00:00
seed-app.js Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00