[DO NOT MERGE] [SMP-2881] Empty state in events dashboard after a forced logout due to a refresh token error #3
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.
DO NOT MERGE
This PR has been created just to review the differences between branches.
This branch is referenced by the iOS HostApp in the Podfile.
What are you trying to accomplish?
Additional Description
Customers are complaining about seeing an empty events list after a BE forced logout.
This is a random problem that doesn't happen frequently. We cannot reproduce it, but we are sure it's a database issue caused by not properly disposed open connections after a logout.
In order to analyze this, we have to add some logic to the YapDatabase library that keeps track of connections state, and send a report to Datadog when they aren't properly closed, telling where in the code that connection is in use.
We have to:
Slack conversation: https://cvent.slack.com/archives/C0844C6DV0C/p1747255741587129