Skip to content

feat(chalice): Add span streaming support to Chalice integration#6503

Merged
ericapisani merged 12 commits into
masterfrom
py-2312-migrate-chalice
Jun 12, 2026
Merged

feat(chalice): Add span streaming support to Chalice integration#6503
ericapisani merged 12 commits into
masterfrom
py-2312-migrate-chalice

.

c6d2360
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden: code-review completed Jun 12, 2026 in 5m 30s

1 issue

code-review: Found 1 issue (1 low)

Low

Streaming path with no existing segment is untested - `tests/integrations/chalice/test_chalice.py:176`

The new tests only cover the case where a pre-existing StreamedSpan segment is present, leaving the segment = None branch of the streaming path in chalice.py uncovered — including the separate client.flush() call that only fires in that branch. There is no test for span streaming enabled with no parent Lambda segment.

Also found at:

  • sentry_sdk/integrations/chalice.py:14
  • sentry_sdk/integrations/chalice.py:83-128

⏱ 4m 49s · 394.1k in / 26.5k out · $0.95