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

(Bugfix Issue 137) | Crash in URLSessionClient #138

Merged
merged 2 commits into from Jul 25, 2019

Conversation

brettwellmanmbo
Copy link
Contributor

This pull request includes (pick all that apply):

  • Bugfixes
  • New features
  • Breaking changes
  • Documentation updates
  • Unit tests
  • Other

Summary

Implementation

Moved dictionary indexing for a completion block collection to the an existing serial queue to avoid edge-case crashes

Test Plan

Utilize the framework

…isting serial queue to avoid edge-case crashes

- MBApp and BizApp are both experiences some crashes from this issue.
- MBApp has had ~300 in the last 30 days
- https://fabric.io/mindbody-inc/ios/apps/com.mindbodyonline.connect/issues/7244511901f119bab3c602094384b2c0?time=last-thirty-days
@ghost
Copy link

ghost commented Jul 19, 2019

1 Warning
⚠️ Source files were modified – don’t forget to update the CHANGELOG if there are code changes.
You can find examples within the CHANGELOG.md

Generated by 🚫 Danger

@johnhammerlund
Copy link
Contributor

Looks good 👍 but SwiftLint appears to be throwing a false-positive. I'll check it out

@johnhammerlund
Copy link
Contributor

Looks like there is an open issue: realm/SwiftLint#2782

We might need to set up a workaround for the time being. I'll open a separate PR to remediate.

@johnhammerlund
Copy link
Contributor

#139

…num_case) (#139)

A recent release of SwiftLint includes a new implicit rule, `duplicate_enum_cases`. This rule doesn't consider conditional compilation flags, as described in the open issue here: realm/SwiftLint#2782

For now, I've added an exception to allow builds to proceed.
@codecov
Copy link

codecov bot commented Jul 22, 2019

Codecov Report

Merging #138 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #138      +/-   ##
==========================================
+ Coverage   82.92%   82.92%   +<.01%     
==========================================
  Files          63       63              
  Lines        2559     2560       +1     
==========================================
+ Hits         2122     2123       +1     
  Misses        437      437
Flag Coverage Δ
#main 82.92% <100%> (ø) ⬆️
Impacted Files Coverage Δ
...Serialization/MultipartFormRequestSerializer.swift 88.02% <ø> (ø) ⬆️
Sources/Conduit/Networking/URLSessionClient.swift 93.5% <100%> (+0.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3fa5e75...db79a28. Read the comment docs.

@eneko
Copy link
Contributor

eneko commented Jul 22, 2019

Need to update the CHANGELOG and prep a release

@brettwellmanmbo brettwellmanmbo merged commit d53c7a0 into master Jul 25, 2019
@brettwellmanmbo brettwellmanmbo deleted the bugfix/PS-8953-crash-in-urlsessionclient branch July 25, 2019 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants