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 non scope related types #3970

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Fix non scope related types #3970

merged 1 commit into from
Jan 21, 2025

Conversation

sl0thentr0py
Copy link
Member

@sl0thentr0py sl0thentr0py commented Jan 20, 2025

part of #3929

@sl0thentr0py sl0thentr0py force-pushed the neel/potel/fix-mypy branch 2 times, most recently from 48b5b17 to 91fd8d8 Compare January 20, 2025 13:31
Copy link

codecov bot commented Jan 20, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
19156 1 19155 4459
View the top 1 failed tests by shortest run time
tests.integrations.aiohttp.test_aiohttp test_span_origin[pyloop]
Stack Traces | 208s run time
.../integrations/aiohttp/test_aiohttp.py:620: in test_span_origin
    (event,) = events
E   ValueError: too many values to unpack (expected 1)

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

@sl0thentr0py sl0thentr0py force-pushed the neel/potel/fix-mypy branch 9 times, most recently from 1b9e8c2 to 1c1b0a1 Compare January 21, 2025 13:30
@sl0thentr0py sl0thentr0py changed the title Fix typing WIP Fix non scope related types Jan 21, 2025
@sl0thentr0py sl0thentr0py marked this pull request as ready for review January 21, 2025 13:31
Copy link
Member

@antonpirker antonpirker left a comment

Choose a reason for hiding this comment

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

Except for one question, looks good!

@@ -14,6 +14,7 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
- You can no longer change the sampled status of a span with `span.sampled = False` after starting it.
- The `Span()` constructor does not accept a `hub` parameter anymore.
- `Span.finish()` does not accept a `hub` parameter anymore.
- `Span.finish()` no longer returns the `event_id` if the event is sent to sentry.
Copy link
Member

Choose a reason for hiding this comment

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

isnt this a problem? I remember that we need the event_id returned by capture_event() or else the user feedback modal can not be used?

Copy link
Member Author

Choose a reason for hiding this comment

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

user feedback is for error events, not transactions

@sl0thentr0py sl0thentr0py merged commit 37d8599 into potel-base Jan 21, 2025
136 of 138 checks passed
@sl0thentr0py sl0thentr0py deleted the neel/potel/fix-mypy branch January 21, 2025 14:02
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