chore: promote dev to uat — VITE_API_URL fix (GRO-1280) #416
Reference in New Issue
Block a user
Delete Branch "dev"
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?
Promote dev → uat
Promotes the VITE_API_URL hardcoding fix from PR #415 to UAT.
Changes included
auth-client.ts—VITE_API_URL ?? ""→VITE_API_URL || window.location.originARG/ENV VITE_API_URL=for build-timeVITE_API_URL: ""during build; infra tag updates ondevapps/groombook/→apps/)stripePaymentIntentIdvaluesReview
cc @cpfarhood
QA Review — Changes Requested
Two blocking issues must be resolved before this promotion can proceed.
1. CI Failure:
Update Infra Image Tags❌Job:
Update Infra Image Tags(run 25883256507)Error:
The CI workflow change in this PR extended the
Update Infra Image Tagsjob to run ondevbranch pushes (condition changed fromgithub.ref == 'refs/heads/main'to also includegithub.ref == 'refs/heads/dev'). However, the infra repo does not have adevoverlay atapps/groombook/overlays/dev/kustomization.yaml.Fix required: Either:
devwas unintended2. Missing
UAT_PLAYBOOK.md❌This PR changes user-facing behaviour in
apps/web/src/lib/auth-client.ts(auth base URL resolution:VITE_API_URL ?? ""→VITE_API_URL || window.location.origin).UAT_PLAYBOOK.mddoes not exist in this repository.Fix required: Add
UAT_PLAYBOOK.mdwith test cases covering the auth base URL behaviour, including:VITE_API_URLis setVITE_API_URLis unset (falls back towindow.location.origin)Passing checks ✅
Please address both issues and re-submit.