Robyn
Robyn copied to clipboard
Feat before request
Description
This PR adds request parameter to after_request middleware
Summary
This PR adds the request parameter to the after_request middleware function to enable proper propagation of trace_id between request and response headers. This change supports distributed tracing functionality by ensuring that the trace_id remains consistent throughout the request lifecycle and can be properly passed to downstream services.
PR Checklist
Please ensure that:
- [x] The PR contains a descriptive title
- [x] The PR contains a descriptive summary of the changes
- [x] You build and test your changes before submitting a PR.
- [x] You have added relevant documentation
- [ ] You have added relevant tests. We prefer integration tests wherever possible
Pre-Commit Instructions:
- [x] Ensure that you have run the pre-commit hooks on your PR.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| robyn | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 19, 2025 10:21am |
😱 Found 1 issue. Time to roll up your sleeves! 😱