Skip to content

Fix WSGI tests #3734

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
merged 1 commit into from
Nov 5, 2024
Merged

Fix WSGI tests #3734

merged 1 commit into from
Nov 5, 2024

Conversation

sl0thentr0py
Copy link
Member

@sl0thentr0py sl0thentr0py commented Nov 5, 2024

  • Don't default to OK span status for UNSET, this breaks older behavior
  • Set transaction name manually on scope after isolation (we should generally do this everywhere)
    • This is necessary because now unsampled (so when performance is off, for instance) spans are NonRecordingSpans and therefore have no attributes - this is completely different behavior than our older tracing spans since we have active spans but they carry NO DATA.

* Don't default to OK span status for UNSET, this breaks older behavior
* Set transaction name manually on scope after isolation (we should
  generally do this everywhere)
Copy link

codecov bot commented Nov 5, 2024

❌ 1734 Tests Failed:

Tests completed Failed Passed Skipped
20290 1734 18556 4463
View the top 3 failed tests by shortest run time
tests.integrations.asgi.test_asgi test_capture_transaction_with_error
Stack Traces | 0s run time
No failure message available
tests.integrations.litestar.test_litestar test_middleware_partial_receive_send
Stack Traces | 0s run time
No failure message available
tests.integrations.litestar.test_litestar test_middleware_partial_receive_send
Stack Traces | 0s run time
No failure message available

To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard

@sl0thentr0py sl0thentr0py merged commit fb66e1a into potel-base Nov 5, 2024
22 of 125 checks passed
@sl0thentr0py sl0thentr0py deleted the neel/potel/fix-wsgi branch November 5, 2024 14:27
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