Skip to content

Commit 85cf62c

Browse files
committed
feat #2664: Add tests to parsing functions
1 parent b81a025 commit 85cf62c

7 files changed

Lines changed: 1890 additions & 454 deletions

File tree

apps/location-service/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ can be re-run independently — e.g. after tweaking the filters, re-run just
4646
`refresh-places.sh extract ingest` without re-downloading ~85 GB. Regions are
4747
selectable with `-r` (any Geofabrik path): `-r europe`, `-r europe/slovakia`.
4848

49+
Set `SLACK_ALERT_WEBHOOK_URL` (a Slack incoming-webhook URL) on the cron host
50+
to get a Slack message whenever any step fails — download, extraction, or
51+
ingest (including the sanity-gate abort). Leave it unset for dev runs.
52+
4953
The ingest loads into staging tables and swaps them in a single transaction —
5054
the service keeps serving the old dataset until the new one is complete, and a
5155
sanity gate refuses to swap in a dataset >30 % smaller than the previous one.

0 commit comments

Comments
 (0)