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

Fix initial scope handling #3837

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Conversation

sl0thentr0py
Copy link
Member

@sl0thentr0py sl0thentr0py commented Dec 2, 2024

Instead of relying on fallback behaviour, it makes sense to populate the scopes on the first context during init.

This also fixes breadcrumb leakage between httplib and subprocess tests.

Copy link

codecov bot commented Dec 2, 2024

❌ 415 Tests Failed:

Tests completed Failed Passed Skipped
19535 415 19120 4433
View the top 3 failed tests by shortest run time
tests.test_scope test_get_current_scope_tags
Stack Traces | 0.001s run time
tests/test_scope.py:343: in test_get_current_scope_tags
    assert scope1.client.__class__ == NonRecordingClient
E   AttributeError: client
tests.test_scope test_get_current_scope_tags
Stack Traces | 0.001s run time
tests/test_scope.py:343: in test_get_current_scope_tags
    assert scope1.client.__class__ == NonRecordingClient
E   AttributeError: 'PotelScope' object has no attribute 'client'
tests.test_scope test_get_current_scope_tags
Stack Traces | 0.001s run time
tests/test_scope.py:343: in test_get_current_scope_tags
    assert scope1.client.__class__ == NonRecordingClient
E   AttributeError: 'PotelScope' object has no attribute 'client'

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@sl0thentr0py sl0thentr0py merged commit 6e1b1cb into potel-base Dec 3, 2024
50 of 125 checks passed
@sl0thentr0py sl0thentr0py deleted the neel/potel/fix-scope-resetting branch December 3, 2024 13:43
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