feat: Expose upload/download errors, credential management, last synced value from core extension#7
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR enhances the core extension integration by updating the core release URL, exposing upload/download errors in the synchronization status, revising credential management, and loading the last synced time along with improved test coverage.
- Updated core extension download URL in Setup.cs.
- Expanded SyncStatus to include upload/download error details.
- Improved credentials management and error handling in Remote.cs and StreamingSyncImplementation.cs.
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| Tools/Setup/Setup.cs | Updated the core extension URL to v0.3.14. |
| Tests/PowerSync/PowerSync.Common.Tests/Client/PowerSyncDatabaseTests.cs | Renamed test class and added new query and error handling tests. |
| PowerSync/PowerSync.Common/DB/Crud/SyncStatus.cs | Exposed new properties for upload/download errors and updated logging message. |
| PowerSync/PowerSync.Common/Client/Sync/Stream/StreamingSyncImplementation.cs | Updated error handling and credential invalidation logic. |
| PowerSync/PowerSync.Common/Client/Sync/Stream/Remote.cs | Revised credentials fetching, removed safety period check, and added unauthorized response handling. |
| PowerSync/PowerSync.Common/Client/PowerSyncDatabase.cs | Updated last synced time retrieval to use a sync priority. |
| PowerSync/PowerSync.Common/CHANGELOG.md | Documented all new changes for upcoming release. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ync-ja/powersync-dotnet into feat/api-catchup-effort-1
stevensJourney
approved these changes
May 26, 2025
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.
Working towards API parity with newly added features from other SDKs:
Edit: I am planning on moving the credential caching to the connector in a future PR.