Skip to content

Diagnostics app reconnect #624

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 9, 2025
Merged

Diagnostics app reconnect #624

merged 3 commits into from
Jun 9, 2025

Conversation

rkistner
Copy link
Contributor

@rkistner rkistner commented Jun 9, 2025

Since #604, credentials are cached on the Remote, and diagnostics-app re-used the same WebRemote when reconnecting with different credentials (token and/or endpoint). This caused the diagnostics-app to re-use old credentials, which is confusing if you edit it directly on the login screen.

This did not affect the hosted version of the diagnostics-app, which is still on an older version.

This should not affect other apps in the same way, since apps typically don't instantiate the Remote directly.

@rkistner rkistner requested a review from Chriztiaan June 9, 2025 10:23
Copy link

changeset-bot bot commented Jun 9, 2025

🦋 Changeset detected

Latest commit: fa59f26

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@powersync/diagnostics-app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rkistner rkistner merged commit 6707966 into main Jun 9, 2025
9 of 10 checks passed
@rkistner rkistner deleted the diagnostics-app-reconnect branch June 9, 2025 11:03
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.

2 participants