Skip to content

ref: Add warnings to span streaming APIs (10) #6967

ref: Add warnings to span streaming APIs (10)

ref: Add warnings to span streaming APIs (10) #6967

Triggered via pull request March 9, 2026 10:19
Status Success
Total duration 6m 0s
Artifacts 2

test-integrations-cloud.yml

on: pull_request
Matrix: Cloud
All Cloud tests passed
4s
All Cloud tests passed
Fit to window
Zoom out
Zoom in

Annotations

1 error and 42 warnings
NoOpStreamedSpan._end will crash due to incorrect hasattr() call: sentry_sdk/traces.py#L152
The new code at line 152 returns `NoOpStreamedSpan()` when span streaming is disabled. However, `NoOpStreamedSpan._end()` at line 474 contains `hasattr(self._previous_span_on_scope)` which is missing the second required argument (attribute name). This will raise `TypeError: hasattr expected 2 arguments, got 1` when the span is used as a context manager and exits, or when `end()` is called.
Cloud (3.10, ubuntu-22.04)
❌ Patch coverage check failed: 9.09% < target 80%
Duplicate warning emitted when using streaming span decorator without span streaming enabled: sentry_sdk/tracing_utils.py#L962
The new warning check in `async_wrapper` (lines 962-968) duplicates the warning that is already issued by `start_streaming_span()` (which is `traces.start_span()` at lines 145-151 of traces.py). When span streaming is not enabled, users will see two warnings per decorated function call. Additionally, the two warnings have inconsistent messages: this one says 'Use @sentry_sdk.trace instead' while the one in traces.py says 'Use sentry_sdk.start_transaction() and sentry_sdk.start_span() instead.'
[PF8-6UU] Duplicate warning emitted when using streaming span decorator without span streaming enabled (additional location): sentry_sdk/tracing_utils.py#L985
The new warning check in `async_wrapper` (lines 962-968) duplicates the warning that is already issued by `start_streaming_span()` (which is `traces.start_span()` at lines 145-151 of traces.py). When span streaming is not enabled, users will see two warnings per decorated function call. Additionally, the two warnings have inconsistent messages: this one says 'Use @sentry_sdk.trace instead' while the one in traces.py says 'Use sentry_sdk.start_transaction() and sentry_sdk.start_span() instead.'
Cloud (3.14, ubuntu-22.04)
❌ Patch coverage check failed: 9.09% < target 80%
Cloud (3.14, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.14, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.6, ubuntu-22.04)
❌ Patch coverage check failed: 9.09% < target 80%
Cloud (3.6, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.6, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.14t, ubuntu-22.04)
❌ Patch coverage check failed: 9.09% < target 80%
Cloud (3.14t, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.14t, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.12, ubuntu-22.04)
❌ Patch coverage check failed: 9.09% < target 80%
Cloud (3.12, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.12, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.11, ubuntu-22.04)
❌ Patch coverage check failed: 9.09% < target 80%
Cloud (3.11, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.11, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.7, ubuntu-22.04)
❌ Patch coverage check failed: 9.09% < target 80%
Cloud (3.7, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.7, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.8, ubuntu-22.04)
❌ Patch coverage check failed: 9.09% < target 80%
Cloud (3.8, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.8, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.9, ubuntu-22.04)
Failed to post/update PR comment: API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID D000:1448BD:120E824:4E33A23:69AE9FCD and timestamp 2026-03-09 10:24:13 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/rest/overview/rate-limits-for-the-rest-api
Cloud (3.9, ubuntu-22.04)
Failed to report status 'codecov/patch': API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID D000:1448BD:120E7A0:4E3379E:69AE9FCD and timestamp 2026-03-09 10:24:13 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/rest/overview/rate-limits-for-the-rest-api
Cloud (3.9, ubuntu-22.04)
Failed to report status 'codecov/project': API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID D000:1448BD:120E737:4E335A8:69AE9FCD and timestamp 2026-03-09 10:24:13 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/rest/overview/rate-limits-for-the-rest-api
Cloud (3.9, ubuntu-22.04)
Failed to calculate patch coverage: HttpError: API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID D001:3C64AC:1279418:4FB61AD:69AE9FCD and timestamp 2026-03-09 10:24:13 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/rest/overview/rate-limits-for-the-rest-api
Cloud (3.9, ubuntu-22.04)
Failed to download base coverage artifact: API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID D000:1448BD:120E67D:4E3327B:69AE9FCC and timestamp 2026-03-09 10:24:13 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api#rate-limiting
Cloud (3.9, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.9, ubuntu-22.04)
Failed to download base test artifact: API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID D000:1448BD:120E4AF:4E32A42:69AE9FCC and timestamp 2026-03-09 10:24:12 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/rest/overview/rate-limits-for-the-rest-api
Cloud (3.9, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.9, ubuntu-22.04)
Failed to detect default branch, falling back to 'main': API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID D000:1448BD:120E35B:4E32492:69AE9FCC and timestamp 2026-03-09 10:24:12 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/rest/overview/rate-limits-for-the-rest-api
Cloud (3.13, ubuntu-22.04)
Failed to post/update PR comment: API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID 7410:4FEAD:F22FAE5:F74BED3:69AEA00B and timestamp 2026-03-09 10:25:15 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api#rate-limiting
Cloud (3.13, ubuntu-22.04)
Failed to report status 'codecov/patch': API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID 7410:4FEAD:F22FA65:F74BE4C:69AEA00B and timestamp 2026-03-09 10:25:15 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api#rate-limiting
Cloud (3.13, ubuntu-22.04)
Failed to report status 'codecov/project': API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID 7410:4FEAD:F22F97D:F74BD63:69AEA00A and timestamp 2026-03-09 10:25:15 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/rest/overview/rate-limits-for-the-rest-api
Cloud (3.13, ubuntu-22.04)
Failed to calculate patch coverage: HttpError: API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID 7410:4FEAD:F22F898:F74BC82:69AEA00A and timestamp 2026-03-09 10:25:14 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/rest/overview/rate-limits-for-the-rest-api
Cloud (3.13, ubuntu-22.04)
Failed to download base coverage artifact: API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID 7410:4FEAD:F22F7E5:F74BBC8:69AEA00A and timestamp 2026-03-09 10:25:14 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/rest/overview/rate-limits-for-the-rest-api
Cloud (3.13, ubuntu-22.04)
Failed to upload coverage artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.13, ubuntu-22.04)
Failed to download base test artifact: API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID 7410:4FEAD:F22F54C:F74B93C:69AEA009 and timestamp 2026-03-09 10:25:14 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/rest/overview/rate-limits-for-the-rest-api
Cloud (3.13, ubuntu-22.04)
Failed to upload test artifact: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Cloud (3.13, ubuntu-22.04)
Failed to detect default branch, falling back to 'main': API rate limit exceeded for installation. If you reach out to GitHub Support for help, please include the request ID 7410:4FEAD:F22F351:F74B733:69AEA009 and timestamp 2026-03-09 10:25:13 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/rest/overview/rate-limits-for-the-rest-api

Artifacts

Produced during runtime
Name Size Digest
codecov-coverage-results-ivana-span-first-10-random-improvements-test-cloud Expired
107 KB
sha256:2a60fa85c1945eb59c4d273513deab9734ff9d421cb6f6511a4b41f313088845
codecov-test-results-ivana-span-first-10-random-improvements-test-cloud Expired
229 Bytes
sha256:31900a3b0282ce71179b6639a4df107fdbfd24e6dd04fe917b0c27f587d7c55a