CodeIssuesPull RequestsActionsSecurityInsights
✨ AI
More
Settings

Fix booking price resilience and CI workflow noise #3703

Merged⚡ AI-generatedMccantynz wants to mergeclaude/fix-booking-price-and-cimainopened Jun 16, 20260/2 tasks
ccantynzcommented Jun 16, 2026

Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/Hibiscus-to-airport/pull/44


Summary

  • Booking price fallback: The server-side price recalculation added in the previous PR was hard-failing every booking with a 500 error when GOOGLE_MAPS_API_KEY isn't configured in Vercel. Fixed to fall back gracefully — if the Maps API is available it recalculates server-side (secure); if not it logs a warning and applies a $100 floor, so bookings can still be created. To get full server-side price security, set GOOGLE_MAPS_API_KEY in your Vercel environment variables.
  • CI workflow fix: Removed the pull_request trigger from agent-pr.yml. That workflow requires a patch_url input which is only available on workflow_dispatch — running it on every PR push guaranteed a failure on every single PR.

Test plan

  • Create a booking — verify it completes without "Could not calculate distance" errors
  • Confirm no more make_pr CI failures on future PRs

https://claude.ai/code/session_0128AhV6qVV1cEcCu4AhRP36


Generated by Claude Code

Cross-repo impact

See what breaks downstream if this PR merges.

Analyze →
⮌ Merged

This pull request was merged into main.

c comment · e edit title · m merge · a approve · r request changes · ? shortcuts