Routing coverage UI: see coverage, pick areas, build + progress (owner page + editor overlay) #78
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
public/wanderer#78
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Routing coverage (BRouter rd5 + DEM + Valhalla) is currently France-only (Geofabrik PACA + IGN dept 06), so routes stop at the Italian border. Coverage extension is becoming routine; this is the UI for it.
Phases
apps/trail/coverage.yaml= regions (bbox, Geofabrik extracts, DEM source IGN/Copernicus GLO-30, probe routes); in-cluster rebuild pipeline dem -> rd5 -> brouter restart -> valhalla -> probe; status ConfigMaptrail-coverage-status; CLI/root/wanderer-coverage.sh(--check / rebuild / probe / rollback). First region: liguria-piemonte-sw (lon 6.6-8.3, lat 43.5-44.6).trail-coverageservice (homelab-flux): the only privileged part. Reads the status, proposes coverage.yaml changes as a homelab-flux PR (bot), starts a rebuild from fixed templates (narrow RBAC). NetworkPolicy: ingress from wanderer-web only; shared secret; never given to the preview.TRAIL_ANALYZE_USERS): map of current coverage (coloured by DEM quality, probe routes green/red), pick area/tiles with size estimate, "Propose" (-> PR), "Build" (after merge) with live progress (steps, log tail, probe results). Server-side proxy to trail-coverage after the owner check.Fork-only feature (not for upstream).
🤖 Generated with Claude Code
Status check 2026-11-12 (night run). Nothing has been sent outside our Forgejo.
Where the phases stand
liguria-piemonte-sw, was built, promoted and probed on 2026-11-06 (run20261106-162443, coveragec886beba1b15). All 4 BRouter probes pass, including Sospel–Ventimiglia via the Roya, Breil–Tende–Limone and Menton–Sanremo. ConfigMaptrail-coverage-statusis current.trail-coverageservice: done and running. hf #927 (5afc20db plus follow-ups). Podtrail-coverage-apiis up in nstrail-coverage. From inside the pod, Forgejo answers (/api/v1/version200). TheFORGEJO_URL ... gaierrorin the 2026-11-11 startup readiness line was transient. Proposals are still off:FORGEJO_TOKENis empty, soPOST /proposalsanswers 503 "not configured". This is by design until Bear does the setup (see below).deploy-c78be3de, wired by hf a9d6c4c5 withTRAIL_COVERAGE_USERS= Bear only./settings/coverage(owner-only allow-list, server-side proxy)Verified on live tonight (claude_test, not the owner)
t9_coverage.mjs→/root/tools/wanderer-shots/acceptance/out/t9-live.json:/settings/coveragereturns 403 with no map. Screenshot:/root/tools/wanderer-shots/acceptance/out/t9a-coverage-page-live.pngcoverage.geojsonreturns 200 with 12 features./root/tools/wanderer-shots/acceptance/out/t9b-editor-overlay-live.pngNew
t9c_coverage_hint.mjs(start near Albenga, by the east edge at lon 8.3) →/root/tools/wanderer-shots/acceptance/out/t9c-live.json:/root/tools/wanderer-shots/acceptance/out/t9c-editor-overlay-on-live.png/root/tools/wanderer-shots/acceptance/out/t9c-editor-outside-hint-live.pngNo screenshot of the owner page with real data exists: claude_test is not the owner, and it must never go on the live allow-list.
Preview wiring (done tonight, preview still scaled to 0)
hf #1051, merged ff as 3cf7fb94 after green CI, gives
wanderer-preview-webTRAIL_COVERAGE_URLandTRAIL_COVERAGE_USERS=claude_test, with no secret. The service stays unreachable from the preview (its netpol and the preview egress both block it), so the owner page renders its map, legend and the 503 message. The initial image is the livedeploy-c78be3de, so no build is needed. Flux applied it, and I deleted the replicas-0 Deployment once so Flux recreated it with the env (checked: image deploy-c78be3de@sha256:ddf25304…, both env vars present).Decisions made on Bear's behalf (also in /root/decisions-2026-11-12.md)
kubectl set env(drifts from git) or skipping the preview, since the UI has been live since 11-06. I wired it because this is #79's checklist and it is the only way to see the owner page layout without Bear's account. Revert: revert hf #1051, then delete the replicas-0 Deployment again.up/downtonight. The alternative was feedingyesto the script's tty prompt. I didn't, because the typed yes is Bear's explicit interlock and it is now inside the script's 01:45-05:15 UTC busy window. There is also no batch to ship: the UI is already in prod.Needs Bear
jmz/homelab-fluxmainthat excludes the bot. Then create a bot user (e.g.trail-coverage-bot) as write collaborator on homelab-flux only, with awrite:repositorytoken, stored asFORGEJO_TOKENinapps/trail-coverage/secret.enc.yaml(README "Setup (Bear)" step 1)./root/wanderer-preview.sh up <live web digest sha256:ddf25304…>(typed yes), thencd /root/tools/wanderer-shots/acceptance && WANDERER_TARGET=preview nice -n 10 node t9_coverage.mjs, thendown(typed yes).🤖 Generated with Claude Code