Skip to content

Bound Firebase Realtime Database request waits - #10

Merged
jpdup merged 2 commits into
mainfrom
copilot/fix-app-hanging-issue
Oct 20, 2026
Merged

jpdup merged 2 commits into
mainfrom
copilot/fix-app-hanging-issue

Conversation

Copilot AI commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Firebase requests could remain pending indefinitely, leaving the lobby join flow on its loading state. Bound database request waits while preserving existing error handling and fallback behavior.

  • Request timeouts: Add a shared 13-second timeout for Firebase reads and writes used by lobby loading, table storage, and identity persistence.
  • Regression coverage: Verify that a request that does not complete raises a timeout.
await withFirebaseRequestTimeout(
  FirebaseDatabase.instance.ref(path).get(),
);

Copilot AI linked an issue Oct 20, 2026 that may be closed by this pull request
Co-authored-by: jpdup <2709213+jpdup@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix app hanging issue due to backend Firebase Bound Firebase Realtime Database request waits Oct 20, 2026
Copilot AI requested a review from jpdup October 20, 2026 23:25
@jpdup
jpdup marked this pull request as ready for review October 20, 2026 23:31
@jpdup
jpdup merged commit a514c4d into main Oct 20, 2026
1 of 3 checks passed
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.

The app is hanging due to backend Firebase

2 participants