Wipe Rocky's synthetic weather rows too, matching the VPS

Backed up locally via pg_dump before truncating; both environments now
hold only real open-data observations.
This commit is contained in:
b0txec
2026-08-23 12:39:33 +03:00
parent 4a104c18dd
commit e19f4899b7
+11 -14
View File
@@ -178,19 +178,16 @@ running in parallel until each real source is proven, not cut over in one step.
real/fake data — both shown identically as "older observation" — is a
real hazard, not just messiness: removed `dev/seed_weather.sql`, the
`seed` Compose service, and the README section describing it.
- [x] Wipe the synthetic rows already sitting in the VPS `weather` table
(backed up to `/srv/weathertool/backups/pre-real-data-release/` first)
as part of the 2026-08-23 VPS release, so VPS history going forward is
real data only, not a mix — confirmed Valmiera (no matching open-data
station) now shows no data rather than a stale synthetic fallback.
**Rocky's own `weather` table still holds its original synthetic rows
mixed with real ones (449k rows as of 2026-08-23) — not wiped yet,
since Rocky is a development/staging environment rather than the
newsroom-facing UAT domain; revisit if it starts interfering with
testing.** Cities with no matching open-data station (Valmiera, Cēsis)
should show no data rather than falling back to old synthetic rows —
deferred by design, revisit once a real source is found or accepted as
permanently unavailable.
- [x] Wipe the synthetic rows already sitting in the `weather` table on both
the VPS and Rocky (both backed up first — VPS to
`/srv/weathertool/backups/pre-real-data-release/`, Rocky to a local
`pg_dump` — before truncating) so history going forward is real data
only, not a mix — confirmed Valmiera (no matching open-data station)
now shows no data rather than a stale synthetic fallback. Cities with
no matching open-data station (Valmiera, Cēsis) should show no data
rather than falling back to old synthetic rows — deferred by design,
revisit once a real source is found or accepted as permanently
unavailable.
- [x] Deleted the dead `METEO_*` fetch path (`fetch/csv/FetchService.scala`,
its empty test, and its env vars everywhere). Confirmed via git history
it wasn't a separate vendor: the first commit (2023-04-13) included
@@ -247,7 +244,7 @@ Status: in progress
- The fixed production PNG bases, browser/social metadata, reviewed frontend dependency updates, stabilized header navigation, authenticated API routing, the full Brīdinājumi warning-map workspace (including draggable per-warning symbol placement), hardened LVĢMC warning fetching, real open-data station/water-temperature ingestion, and the scheduler safety split are deployed in UAT release `138f57c8`; newsroom workflow validation is in progress.
- Link-preview crawlers cannot authenticate through Authelia; the final Nginx policy must deliberately expose only the minimum preview metadata/assets if WhatsApp previews are required.
- The VPS `weather` table now holds only real open-data station observations (synthetic rows wiped 2026-08-23); Rocky's own `weather` table still has its original synthetic rows mixed in with real ones, not yet wiped.
- Both the VPS and Rocky `weather` tables now hold only real open-data station observations; their original synthetic rows were backed up and wiped 2026-08-23.
- LVGMC forecast CSV fixtures are not yet available.
- HARMONIE GRIB fixtures are not yet available.
- The legacy private LVGMC FTP feed and DMI HARMONIE forecast feed remain gated behind `ENABLE_LEGACY_PROVIDER_JOBS` (default off) pending real credentials, in both development and staging (Rocky and VPS).