fix(map): geofence delete, vessel snapshots, sentinel cache, news briefs #32
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/dashboard-geofence-vessels-sentinel-news"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
DELETE /api/geofences/{id})vesselstable (today only, UTC-day purge). DVR?timestamp=uses latest poll_at ≤ t so the 5 daily calls are visible when scrubbing. Hydrate last-known on boot.bounds, skip refetch while the center is inside the scene.finish_reason=length. Briefs lead with critical/high then fill with incidents/crime. Ticker falls back to medium/low; HUD polls every 3 min.Alembic
009_vesselscreates the snapshot table (lazyCREATE TABLE IF NOT EXISTSalso runs in-app).Test plan
pytest tests --ignore=tests/test_gpsjam.py(173 passed, 17 skipped DB)PYTHONPATH=news/summerizer pytest news/summerizer/tests(29 passed)Geofences could be drawn but not removed. VesselAPI Hormuz dots vanished on restart and DVR skipped between the 5 daily polls. Sentinel-1 re-hit STAC on every pan and often painted a neighbouring swath. Executive briefs truncated; ticker stayed empty unless something was critical. - Layer-panel list + polygon popup DELETE /api/geofences/{id} - Persist VesselAPI polls to vessels (UTC-day purge, DVR as-of, boot hydrate) - Cache Sentinel-1 by 2° cell; pick covering scene; clip Leaflet tiles - Retry truncated LLM JSON; ticker falls back to medium/low; 3-min HUD poll