root 73ad10f1a6 fix(stock): 7-day heartbeat write bypasses dedup for stale observations
upsertStockObservation dedup guard was preventing writes for unchanged
stock data (e.g. ATGBICS all-OOS for 55d), causing v_scraper_health to
mark sources as dead even when scrapers run normally. Skip dedup when
last observation is >7 days old so health view stays current.
2026-07-07 11:40:31 +00:00
..