Skip to content

Serve FastStream health and metrics routes with or without trailing slashes - #420

Merged
lesnik512 merged 1 commit into
mainfrom
fix/397-faststream-probe-slashes
Nov 3, 2026
Merged

lesnik512 merged 1 commit into
mainfrom
fix/397-faststream-probe-slashes

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Closes #397.

  • Mount both trailing-slash forms so existing probes keep working and either spelling returns directly without a redirect.
  • Preserve explicitly configured paths when the health and metrics routes differ only by a trailing slash.
  • Document the behavior and cover both spellings and route precedence with HTTP regression tests.

Verification

  • just lint-ci
  • just test-ci (631 passed, 100% coverage)

@lesnik512
lesnik512 merged commit eb3526e into main Nov 3, 2026
35 checks passed
@lesnik512
lesnik512 deleted the fix/397-faststream-probe-slashes branch November 3, 2026 08:41
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.

Answer FastStream health and metrics paths with and without the trailing slash

1 participant