Skip to content

Run all Cloud Functions in europe-west1#623

Merged
rzueger merged 2 commits intodevelopfrom
pr/cloud-fn-eu
Mar 3, 2026
Merged

Run all Cloud Functions in europe-west1#623
rzueger merged 2 commits intodevelopfrom
pr/cloud-fn-eu

Conversation

@rzueger
Copy link
Copy Markdown
Member

@rzueger rzueger commented Mar 3, 2026

No description provided.

rzueger added 2 commits March 3, 2026 16:09
Move all function triggers and HTTPS handlers to europe-west1 to keep
processing in Europe. Two functions (scheduledAircraftListUpdate,
updateArrivalPaymentStatusOnCardPaymentUpdate) were already there;
this brings the remainder in line.

Update firebase.json hosting rewrite, all frontend Cloud Function URLs,
the Cypress auth endpoint, and documentation accordingly.
The fill-in guard in addMovementToState was skipping re-insertion of a
movement when it ended up as the last element in the sorted list. This
guard exists to prevent spurious movementAdded fill-in events (fired by
Firebase when a preceding movement is deleted) from expanding the
visible range. It must not apply when called from movementChanged, where
the movement is legitimately being re-inserted after an update.

Passing applyFillInGuard=true only from movementAdded and false from
movementChanged fixes the case where a single-item list would lose its
movement on every onChildChanged event (e.g. triggered by the
enrichDepartureOnCreate Cloud Function updating aerodrome metadata).
@rzueger rzueger merged commit ba75f74 into develop Mar 3, 2026
2 checks passed
@rzueger rzueger deleted the pr/cloud-fn-eu branch March 3, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant