Skip to content

server: reduce log noise and fix inbound webhook fanout crash#39

Merged
willwashburn merged 3 commits intomainfrom
fixes-from-logs
Feb 19, 2026
Merged

server: reduce log noise and fix inbound webhook fanout crash#39
willwashburn merged 3 commits intomainfrom
fixes-from-logs

Conversation

@willwashburn
Copy link
Copy Markdown
Member

Summary

  • reduce noisy request logging for expected client errors on /v1/ws 401 and /mcp 400/406 with suppression plus sampling
  • add actionable structured request metadata (status_class, route_group, auth_scheme, error_code, hashed fingerprints)
  • fix fanout webhook.received crash by allowing fanoutToChannel to accept an explicit workspace id when context workspace is absent
  • add regression tests for logging middleware behavior and fanout workspace override

Validation

  • npm --prefix packages/server test

Notes

  • Latest production error investigated: TypeError: Cannot read properties of undefined (reading id) on /v1/hooks/:webhookId background fanout path.

@github-actions
Copy link
Copy Markdown

Preview deployed!

Environment URL
API https://pr39-api.relaycast.dev
Health https://pr39-api.relaycast.dev/health
Observer https://pr39-observer.relaycast.dev

This preview shares the staging database and will be cleaned up when the PR is closed.

Run E2E tests

npm run e2e -- https://pr39-api.relaycast.dev --ci

Open observer dashboard

https://pr39-observer.relaycast.dev

@willwashburn willwashburn merged commit d9cc4f1 into main Feb 19, 2026
3 checks passed
@willwashburn willwashburn deleted the fixes-from-logs branch February 19, 2026 20:33
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.

1 participant