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

Parse FeatureFlags when OnSendCallbacks are configured #1589

Merged
merged 1 commit into from
Jan 27, 2022

Conversation

lemnik
Copy link
Contributor

@lemnik lemnik commented Jan 27, 2022

Goal

Fix a bug where configuring an OnSendCallback would potentially cause feature flags to be dropped from reports. This was caused by BugsnagEventMapper not parsing the feature flags list back into the in-memory model, causing them to be dropped from any Event that was stored on disk (although only if an OnSendCallback was configured).

Testing

Additional unit tests, and new Mazerunner tests to cover this scenario.

@lemnik lemnik requested a review from nickdowell January 27, 2022 12:24
@lemnik lemnik force-pushed the PLAT-7194/onsend-feature-flags branch from e527ad4 to 4299611 Compare January 27, 2022 12:24
Copy link

@nickdowell nickdowell left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@lemnik lemnik force-pushed the PLAT-7194/onsend-feature-flags branch from 4299611 to 3f8b852 Compare January 27, 2022 13:31
@lemnik lemnik merged commit a1e96f8 into next Jan 27, 2022
@lemnik lemnik deleted the PLAT-7194/onsend-feature-flags branch January 27, 2022 13:54
This was referenced Jan 31, 2022
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