Files
ems/db/routines
Dusan Vojacek 62a5c64f77
All checks were successful
CI and deploy / migration-check (push) Successful in 19s
CI and deploy / deploy (push) Successful in 1m17s
HOTFIX web: /status/full 500 (str→tzinfo), /plan/compare 500 (chybějící comparison), canonical PV fn 4.5s→0.4s (force_custom_plan)
1) full_status._iso_utc dostával z JSONB bundle stringy → AttributeError → 500
   celého /status/full; nyní parsuje přes _parse_ts.
2) /plan/compare: NameError — 'comparison = _bundle_from_current(compare_raw)'
   se nikdy nesestavilo (smazaný řádek), endpoint vždy 500.
3) fn_forecast_pv_slots_range_canonical_ab: PG 18 cachuje plány SQL funkcí →
   generický plán 4.5 s / 607k buffers; set plan_cache_mode=force_custom_plan
   → 0.4 s / 34k (změřeno explain analyze na živé DB). Táhne /plan/current,
   /plan/compare i rolling plánovač.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-12 15:48:10 +02:00
..
2026-04-29 13:48:13 +02:00
2026-04-20 11:11:47 +02:00
2026-04-20 11:11:47 +02:00
fix
2026-05-02 14:09:52 +02:00