Skip to content
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

Unstick stuck uploads #2844

Merged
merged 7 commits into from
Nov 17, 2024
Merged

Unstick stuck uploads #2844

merged 7 commits into from
Nov 17, 2024

Conversation

gino-m
Copy link
Collaborator

@gino-m gino-m commented Nov 17, 2024

Forces mutation workers to scan all incomplete mutations when home screen is first opened. The should happen when the home screen is opened after app update.

Towards #2726
Fixes #2751

Copy link

codecov bot commented Nov 17, 2024

Codecov Report

Attention: Patch coverage is 69.69697% with 10 lines in your changes missing coverage. Please review.

Project coverage is 61.32%. Comparing base (8c7af6f) to head (7d8afa9).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...rsistence/local/room/stores/RoomSubmissionStore.kt 33.33% 6 Missing ⚠️
...ogle/android/ground/ui/home/HomeScreenViewModel.kt 73.33% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master    #2844   +/-   ##
=========================================
  Coverage     61.31%   61.32%           
- Complexity     1169     1174    +5     
=========================================
  Files           266      266           
  Lines          6318     6342   +24     
  Branches        900      903    +3     
=========================================
+ Hits           3874     3889   +15     
- Misses         1915     1924    +9     
  Partials        529      529           
Files with missing lines Coverage Δ
...e/local/room/stores/RoomLocationOfInterestStore.kt 78.94% <100.00%> (+1.16%) ⬆️
...ground/persistence/sync/LocalMutationSyncWorker.kt 84.61% <100.00%> (-1.35%) ⬇️
...droid/ground/persistence/sync/MediaUploadWorker.kt 73.68% <100.00%> (+0.46%) ⬆️
...le/android/ground/repository/MutationRepository.kt 84.61% <100.00%> (+0.74%) ⬆️
...ogle/android/ground/ui/home/HomeScreenViewModel.kt 80.70% <73.33%> (-2.64%) ⬇️
...rsistence/local/room/stores/RoomSubmissionStore.kt 59.00% <33.33%> (-1.87%) ⬇️

@gino-m gino-m removed the request for review from sufyanAbbasi November 17, 2024 17:09
@gino-m gino-m merged commit c47777c into master Nov 17, 2024
4 checks passed
@gino-m gino-m deleted the gino-m/2726/fix-stuck-sync branch November 17, 2024 17:46
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.

[Data sync] Sync status stuck on "Syncing media" for some items
4 participants