Skip to content

Trace the async FastStream health check - #421

Merged
lesnik512 merged 1 commit into
mainfrom
fix/386-faststream-health-span
Nov 3, 2026
Merged

lesnik512 merged 1 commit into
mainfrom
fix/386-faststream-health-span

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Closes #386.

Apply tracing to the async health check before wrapping it with FastStream's handle_get. Regression tests verify that a span created inside an async probe is a child of the health-check span and that the mounted route remains an HttpHandler.

Verification

  • Both regressions failed before the fix and passed afterward.
  • just lint-ci passed.
  • just test-ci passed with 632 tests and 100% coverage.

@lesnik512
lesnik512 merged commit d22cb63 into main Nov 3, 2026
35 checks passed
@lesnik512
lesnik512 deleted the fix/386-faststream-health-span branch November 3, 2026 10:47
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.

Fix the FastStream health check span, which ends before the check runs

1 participant