Commit Graph
207 Commits
Author SHA1 Message Date
psvanzyl ec70f090b7 Add OpenCode GitHub workflow 2026-07-17 22:16:52 +02:00
GitHub Actions Bot 229fde2960 🤖 Update pakketpunten data - 2026-07-06 06:57 UTC 2026-07-06 06:57:19 +00:00
GitHub Actions Bot 9610c68691 🤖 Update Amazon data - 2026-07-06 05:17 UTC 2026-07-06 05:17:41 +00:00
GitHub Actions Bot 20a1c459cc 🤖 Update GLS data - 2026-07-06 02:45 UTC 2026-07-06 02:45:06 +00:00
GitHub Actions Bot 56c45298a8 🤖 Update pakketpunten data - 2026-06-30 17:54 UTC 2026-06-30 17:54:40 +00:00
robbertjanssen85andClaude Opus 4.8 c4c76c3078 Fix update-data workflow timeout during polygon cache refresh
The semi-annual boundary cache refresh (last week of June/December) wipes
all ~342 cached municipality polygons, forcing a full re-fetch from the
rate-limited Overpass API. With 429/504 retries this pushed the generate
step past its 60-min timeout (killed at 264/342 on 2026-06-29).

- Raise generate step timeout 60->120 min and job timeout 120->180 min
- Commit data/municipality_polygon_cache.json so the refresh persists
  instead of being recomputed and discarded every refresh-week run

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 17:52:35 +02:00
GitHub Actions Bot f1da6185e5 🤖 Update Amazon data - 2026-06-29 05:37 UTC 2026-06-29 05:37:16 +00:00
GitHub Actions Bot d323dba814 🤖 Update GLS data - 2026-06-29 03:28 UTC 2026-06-29 03:28:09 +00:00
GitHub Actions Bot 29147de2f8 🤖 Update pakketpunten data - 2026-06-22 07:52 UTC 2026-06-22 07:52:59 +00:00
GitHub Actions Bot f9cf3e9956 🤖 Update Amazon data - 2026-06-22 06:07 UTC 2026-06-22 06:07:43 +00:00
GitHub Actions Bot ec8df12ca9 🤖 Update GLS data - 2026-06-22 03:44 UTC 2026-06-22 03:44:30 +00:00
GitHub Actions Bot 6e7ae83711 🤖 Update pakketpunten data - 2026-06-15 07:48 UTC 2026-06-15 07:48:27 +00:00
GitHub Actions Bot 4192a5eb2a 🤖 Update Amazon data - 2026-06-15 06:02 UTC 2026-06-15 06:02:46 +00:00
GitHub Actions Bot af6042c412 🤖 Update GLS data - 2026-06-15 03:44 UTC 2026-06-15 03:44:27 +00:00
GitHub Actions Bot c0cc21f6e0 🤖 Update pakketpunten data - 2026-06-08 07:09 UTC 2026-06-08 07:09:47 +00:00
GitHub Actions Bot 8039416f90 🤖 Update Amazon data - 2026-06-08 05:38 UTC 2026-06-08 05:38:54 +00:00
GitHub Actions Bot 9166a2ae1d 🤖 Update GLS data - 2026-06-08 03:33 UTC 2026-06-08 03:33:37 +00:00
GitHub Actions Bot a83fc07d05 🤖 Update pakketpunten data - 2026-06-01 07:29 UTC 2026-06-01 07:29:10 +00:00
GitHub Actions Bot 473c32d1af 🤖 Update Amazon data - 2026-06-01 05:51 UTC 2026-06-01 05:51:55 +00:00
GitHub Actions Bot fdb52ea8db 🤖 Update GLS data - 2026-06-01 03:36 UTC 2026-06-01 03:36:24 +00:00
GitHub Actions Bot e9483c93a3 🤖 Update pakketpunten data - 2026-05-25 06:56 UTC 2026-05-25 06:56:32 +00:00
GitHub Actions Bot 28c957f93d 🤖 Update Amazon data - 2026-05-25 05:28 UTC 2026-05-25 05:28:54 +00:00
GitHub Actions Bot e20c57f842 🤖 Update GLS data - 2026-05-25 02:58 UTC 2026-05-25 02:58:47 +00:00
robbertjanssen85andClaude Opus 4.7 9894691228 Add "Gebruik mijn locatie" button to nearest-points widget
Uses navigator.geolocation (browser/Wi-Fi positioning) after the user
grants permission, then reverse-geocodes the coordinates via PDOK to
resolve the municipality so the existing dataset-switch flow works.

- New reverse mode on /api/geocode (lat+lon → address + gemeente)
- Distinct error messages for PERMISSION_DENIED, POSITION_UNAVAILABLE,
  TIMEOUT, and unsupported browsers
- Skips dataset reload when the resolved municipality is already loaded

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 08:08:59 +02:00
robbertjanssen85andClaude Opus 4.7 6c0a96aedd Add open-now / preferred-time filter to nearest-points widget
Three modes under "Openingstijden": Alle, Nu open, Op tijdstip (day +
HH:MM). A checkbox controls whether points with missing/unparseable
hours are kept or hidden; the header shows how many were excluded so
disappearing results are explainable.

Filtering runs before the 500m/10-point cutoff so further-away open
points still surface when nearby ones are closed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 08:05:17 +02:00
robbertjanssen85andClaude Opus 4.7 e775f7d931 Show parcel point opening hours in webapp popups
Carrier hours are now normalised in the Python pipeline (DHL, DPD, GLS,
PostNL, ViaTim, InPost — covering 75% of all points), written into the
per-municipality GeoJSON, and rendered as a weekly table (or single line
where the source only exposes a free-text window) in both the simple and
detailed marker popups. Regenerated data for all 342 municipalities.

Also: drop the legacy Folium HTML viewer from main.py (Next.js webapp is
the only supported frontend), and capture GLS openingHours/vacations in
the upstream cache.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 07:13:40 +02:00
GitHub Actions Bot 84570683ae 🤖 Update pakketpunten data - 2026-05-18 06:41 UTC 2026-05-18 06:41:40 +00:00
GitHub Actions Bot 0257dfa353 🤖 Update Amazon data - 2026-05-18 05:18 UTC 2026-05-18 05:18:13 +00:00
GitHub Actions Bot c65778ff82 🤖 Update GLS data - 2026-05-18 02:52 UTC 2026-05-18 02:52:48 +00:00
GitHub Actions Bot 3d376f3193 🤖 Update pakketpunten data - 2026-05-11 06:29 UTC 2026-05-11 06:29:04 +00:00
GitHub Actions Bot a4bd995774 🤖 Update Amazon data - 2026-05-11 05:10 UTC 2026-05-11 05:10:54 +00:00
GitHub Actions Bot d8319147b8 🤖 Update GLS data - 2026-05-11 02:44 UTC 2026-05-11 02:44:49 +00:00
GitHub Actions Bot 07fcb2d694 🤖 Update pakketpunten data - 2026-05-04 06:04 UTC 2026-05-04 06:04:03 +00:00
GitHub Actions Bot f9458459cf 🤖 Update Amazon data - 2026-05-04 04:44 UTC 2026-05-04 04:44:11 +00:00
GitHub Actions Bot 6bc53dde76 🤖 Update GLS data - 2026-05-04 02:31 UTC 2026-05-04 02:31:06 +00:00
GitHub Actions Bot 162ebe1c0b 🤖 Update pakketpunten data - 2026-04-27 05:36 UTC 2026-04-27 05:36:44 +00:00
GitHub Actions Bot 2f88bba9f7 🤖 Update Amazon data - 2026-04-27 04:33 UTC 2026-04-27 04:33:38 +00:00
GitHub Actions Bot c0feeb1098 🤖 Update GLS data - 2026-04-27 02:27 UTC 2026-04-27 02:27:03 +00:00
GitHub Actions Bot ee011aaeac 🤖 Update pakketpunten data - 2026-04-20 05:28 UTC 2026-04-20 05:28:23 +00:00
GitHub Actions Bot 6deb5b1c61 🤖 Update Amazon data - 2026-04-20 04:24 UTC 2026-04-20 04:24:55 +00:00
GitHub Actions Bot 2df869654f 🤖 Update GLS data - 2026-04-20 02:13 UTC 2026-04-20 02:13:37 +00:00
GitHub Actions Bot 3d9db849e2 🤖 Update pakketpunten data - 2026-04-13 05:29 UTC (* Budbee used previous cache) 2026-04-13 05:29:07 +00:00
GitHub Actions Bot 041c53bf8d 🤖 Update Amazon data - 2026-04-13 04:26 UTC 2026-04-13 04:26:34 +00:00
GitHub Actions Bot 3b94cb58a6 🤖 Update GLS data - 2026-04-13 02:13 UTC 2026-04-13 02:13:31 +00:00
GitHub Actions Bot 34ceb4272a 🤖 Update pakketpunten data - 2026-04-06 10:57 UTC 2026-04-06 10:57:33 +00:00
robbertjanssen85andClaude Opus 4.6 3f824cbe85 Simplify anomaly handling: drop email, use cache preservation + retry
Remove email alert machinery from all workflows. When a carrier fetch
detects an anomaly (>20% drop), it simply preserves the existing cache
and logs a warning in the GitHub Actions step summary. The weekly cron
automatically retries next Monday. Commit messages note which carriers
used previous cache data with an asterisk.

No secrets required — works out of the box.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 12:15:10 +02:00
robbertjanssen85andClaude Opus 4.6 f827899113 Add cache guard: protect all carriers against data anomalies
New shared utility (scripts/cache_guard.py) that all fetch scripts now
use. If a fetch returns >20% fewer locations than the existing cache,
the save is skipped and the process exits with code 2.

Changes:
- Add scripts/cache_guard.py with safe_save() function
- Integrate into all 7 fetch scripts (DHL, DPD, ViaTim, InPost,
  Budbee, Amazon, GLS)
- Add email alerts to all 3 GitHub Actions workflows when anomalies
  are detected (requires ALERT_EMAIL_USERNAME, ALERT_EMAIL_PASSWORD,
  and ALERT_EMAIL_TO secrets)
- Workflows continue with preserved caches so batch generation still
  runs with last-known-good data

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 11:09:36 +02:00
robbertjanssen85andClaude Opus 4.6 7fcc9cf1e2 Fix GLS fetch: direct API, cache protection, restore data
GLS API (apm.gls.nl/glspoints/nearby) is returning 504 timeouts since
April 6. The old Playwright-based script silently wrote 0 locations to
cache, causing GLS to drop from 961 to 0 points.

- Rewrite gls_fetch_all.py to use direct API calls (no Playwright)
- Protect cache: never overwrite with 0 results
- Remove POC fallback from api_client.py
- Restore last good cache (961 locations from March 30)
- Simplify GitHub Actions workflow (no browser install needed)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 11:04:23 +02:00
GitHub Actions Bot e1725b129f 🤖 Update pakketpunten data - 2026-04-06 05:14 UTC 2026-04-06 05:14:48 +00:00
GitHub Actions Bot a0ed536f39 🤖 Update Amazon data - 2026-04-06 04:14 UTC 2026-04-06 04:14:18 +00:00