-
-
Notifications
You must be signed in to change notification settings - Fork 379
GSK-1963: ignore mixpanel errors #1502
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
Merged
mattbit
merged 8 commits into
main
from
feature/gsk-1963-swallow-mixpanel-errors-when-they-happen
Oct 25, 2023
Merged
Changes from 2 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
53bdc43
GSK-1963: ignore mixpanel errors
andreybavt 764dee6
Merge branch 'main' into feature/gsk-1963-swallow-mixpanel-errors-whe…
mattbit d8cbe4f
Fix import in analytics collector tests
mattbit 8176676
Actually fix import in analytics collector tests
mattbit 53d341a
fix test
andreybavt c002bcb
Merge branch 'main' into feature/gsk-1963-swallow-mixpanel-errors-whe…
mattbit fb6b1a6
added analytics_method test
andreybavt b6a7ecc
Merge remote-tracking branch 'origin/feature/gsk-1963-swallow-mixpane…
andreybavt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,9 @@ | ||||||
| from mixpanel import Consumer | ||||||
|
|
||||||
| from utils.analytics_collector import GiskardAnalyticsCollector | ||||||
|
||||||
| from utils.analytics_collector import GiskardAnalyticsCollector | |
| from tests.utils.analytics_collector import GiskardAnalyticsCollector |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I remember correctly, this was removed to avoid infinite loops. Can we add a test to ensure that this is not happening (since
_report_errorhas been removed in the decorator, this should be the case) and make sure we will not reintroduce this in the future?EDIT: maybe the test that is present already covers this case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was actually the presence of
that was causing an infinite loop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added an extra test for
analytics_method