Make demo actions reliable under retries and failures#2
Merged
Conversation
|
@SaarthurR is attempting to deploy a commit to the rankasaarth-7835's projects team on Vercel, but is not a member of this team. To resolve this issue, you can:
To read more about collaboration on Vercel, click here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Demo Server Actions could fail before dispatch when action modules re-exported non-function state, and retrying request acceptance could leave a fulfilled request without its chat recovery path. Report and cancellation layers also needed settled-state cleanup so failed or pending actions do not strand controls.
What this changes
Verification
Migration note
The included migrations 20260713175559_public_ride_detail.sql and 20260713190208_accept_ride_request_idempotent_retry.sql are already applied to the linked Supabase project. Two earlier location-privacy migrations in the working tree are intentionally excluded from this PR because they predate and are outside this change set.