Skip to content

Implement exponential backoff for RTDB Desktop - #1983

Draft
dconeybe wants to merge 20 commits into
mainfrom
rtdb-desktop-exponential-backoff
Draft

dconeybe wants to merge 20 commits into
mainfrom
rtdb-desktop-exponential-backoff

Conversation

@dconeybe

Copy link
Copy Markdown
Contributor

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new RetryHelper class to manage connection retries with exponential backoff and random jitter on the desktop client, matching the behavior of Android and iOS RTDB clients. It integrates RetryHelper into PersistentConnection, tracks token fetch attempts to ignore outdated results, and adds comprehensive unit tests for the new retry logic. There are no review comments, and we have no feedback to provide.

@dconeybe dconeybe added the tests-requested: quick Trigger a quick set of integration tests. label Nov 24, 2026
@github-actions github-actions Bot added tests: in-progress This PR's integration tests are in progress. and removed tests-requested: quick Trigger a quick set of integration tests. labels Nov 24, 2026
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

❌  Integration test FAILED

Requested by @dconeybe on commit 9c4a3a7
Last updated: Tue Nov 24 09:32 PST 2026
View integration test log & download artifacts

Failures Configs
missing_log [TEST] [ERROR] [iOS] [macos] [1/2 ios_device: ios_target]
database [BUILD] [ERROR] [Android] [1/3 os: windows]
[TEST] [ERROR] [Android] [All 2 os] [1/2 android_device: emulator_ftl_target]

Add flaky tests to go/fpl-cpp-flake-tracker

@dconeybe dconeybe self-assigned this Nov 24, 2026
@github-actions github-actions Bot added the tests: failed This PR's integration tests failed. label Nov 24, 2026
@firebase-workflow-trigger firebase-workflow-trigger Bot removed the tests: in-progress This PR's integration tests are in progress. label Nov 24, 2026
@dconeybe dconeybe added the tests-requested: quick Trigger a quick set of integration tests. label Nov 24, 2026
@github-actions github-actions Bot added tests: in-progress This PR's integration tests are in progress. tests: failed This PR's integration tests failed. and removed tests-requested: quick Trigger a quick set of integration tests. tests: failed This PR's integration tests failed. labels Nov 24, 2026
@firebase-workflow-trigger firebase-workflow-trigger Bot removed the tests: in-progress This PR's integration tests are in progress. label Nov 24, 2026
@dconeybe dconeybe added the tests-requested: quick Trigger a quick set of integration tests. label Nov 24, 2026
@github-actions github-actions Bot added the tests: in-progress This PR's integration tests are in progress. label Nov 24, 2026
@github-actions github-actions Bot added tests: failed This PR's integration tests failed. and removed tests-requested: quick Trigger a quick set of integration tests. tests: failed This PR's integration tests failed. labels Nov 24, 2026
@firebase-workflow-trigger firebase-workflow-trigger Bot removed the tests: in-progress This PR's integration tests are in progress. label Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests: failed This PR's integration tests failed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant