Trail editor: pace panel says "Couldn't reach the pace engine" for users not in TRAIL_ANALYZE_USERS (403) #71
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
public/wanderer#71
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?
Found in the live acceptance test of
deploy-676a7c62(2026-11-05), userclaude_test.Problem: for users who are not in
TRAIL_ANALYZE_USERS(live: only one user id), the editor still shows the "My pace (LiDAR + your runs)" panel with an Estimate button. Clicking it givesPOST /api/v1/trail-analyze/analyze→ 403, and the panel then says "Couldn't reach the pace engine." The engine is reachable; the user just is not allowed to use it. Those users can never see #49's "Use pace estimate" button or the pace curve colouring ("The pace curve appears once your pace is estimated."), so they get no hint why.Repro:
claude_test, open/trail/edit/newand draw any route.Evidence:
/root/tools/wanderer-shots/acceptance/out/t4e-no-use-pace-button.png. Script:/root/tools/wanderer-shots/acceptance/t4_basic_info.mjs(step 4e).Fix idea: expose "pace engine allowed" to the page (for example in the layout data, from the same allowlist check) and hide the panel when it is false. Alternatively, map 403 to its own message. Low priority. This also means the #49 "Use pace estimate" flow could not be tested live with the test account.
🤖 Generated with Claude Code
Fixed in batch PR #72 (
deploy5577c715), live since 2026-11-05 ~22:10 CET inwanderer-web:deploy-5577c715(homelab-flux #857). Verified with the live e2e suite and acceptance re-runs asclaude_test.🤖 Generated with Claude Code