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

Add safety fallback when we are unable to unarchive requests #1368

Merged
merged 7 commits into from
Apr 3, 2024

Conversation

echo-branch
Copy link
Contributor

Reference

SDK-2263

Summary

On failure to unarchive our request queue, we do not remove the incorrect requests. This leads to repeated failures to unarchive.

Believe this issue can occur when upgrading to version 3.3 from some older versions.

Motivation

Safer fallback when we fail to unarchive.

Type Of Change

  • Bug fix (non-breaking change which fixes an issue)

Testing Instructions

We do not have internal repro. However we can mimic a failure to unarchive, will demonstrate during team working meeting.

cc @BranchMetrics/saas-sdk-devs for visibility.

Copy link

codecov bot commented Mar 26, 2024

Codecov Report

Attention: Patch coverage is 96.55172% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 51.18%. Comparing base (4152af5) to head (104c760).
Report is 3 commits behind head on master.

Files Patch % Lines
Sources/BranchSDK/BranchOpenRequest.m 92.30% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1368      +/-   ##
==========================================
+ Coverage   51.03%   51.18%   +0.15%     
==========================================
  Files          66       66              
  Lines       10126    10151      +25     
  Branches     3714     3728      +14     
==========================================
+ Hits         5168     5196      +28     
+ Misses       4700     4695       -5     
- Partials      258      260       +2     

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

# Conflicts:
#	Branch-TestBed/Branch-TestBed.xcodeproj/project.pbxproj
#	Sources/BranchSDK/BNCServerRequestQueue.m
@echo-branch echo-branch merged commit 980a0d5 into master Apr 3, 2024
14 checks passed
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.

3 participants