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

Re-enable and (hopefuly) simplify background app refresh handling #1462

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

stefanceriu
Copy link
Member

This was previously disabled by rust not being able to recover correctly after stopping a sync and processing the stop signal on app foregrounding.
That has been since fixed and the original implementation should work but I also wanted to simplify it a bit.

@stefanceriu stefanceriu requested a review from a team as a code owner August 8, 2023 12:35
@stefanceriu stefanceriu requested review from Velin92 and pixlwave and removed request for a team and Velin92 August 8, 2023 12:35
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions
Copy link

github-actions bot commented Aug 8, 2023

Warnings
⚠️ Please add a changelog.
⚠️ Some of the commits are missing ticket numbers. Please consider squashing all commits that don't have a tracking number.

Generated by 🚫 Danger Swift against e9dae62

@codecov
Copy link

codecov bot commented Aug 8, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.12% ⚠️

Comparison is base (56544d6) 52.49% compared to head (e9dae62) 52.38%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1462      +/-   ##
===========================================
- Coverage    52.49%   52.38%   -0.12%     
===========================================
  Files          400      400              
  Lines        26662    26646      -16     
  Branches     13357    13354       -3     
===========================================
- Hits         13997    13958      -39     
- Misses       12284    12308      +24     
+ Partials       381      380       -1     
Flag Coverage Δ
unittests 23.05% <0.00%> (-0.15%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
ElementX/Sources/Application/AppCoordinator.swift 52.51% <0.00%> (-0.43%) ⬇️

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

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

Ok, lets see I guess 🤷‍♂️

@stefanceriu stefanceriu merged commit 8f22a5f into develop Aug 9, 2023
@stefanceriu stefanceriu deleted the stefan/backgroundAppRefresh branch August 9, 2023 08:25
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