Skip to content

feat(server): add request-id correlation - #218

Merged
Ashborne267 merged 5 commits into
StreamGive:mainfrom
dumbdevss:feat/request-id
Oct 8, 2026
Merged

Ashborne267 merged 5 commits into
StreamGive:mainfrom
dumbdevss:feat/request-id

Conversation

@dumbdevss

Copy link
Copy Markdown
Contributor

Generate or accept x-request-id, bind it to Fastify request logs, and echo it in responses. Expose the correlation header through CORS and cover supplied/generated IDs.

Closes #113

Tests: npm test -- --run test/requestId.test.ts; npx eslint src/server.ts src/requestId.ts test/requestId.test.ts

Generate or accept x-request-id, bind it to Fastify request logs, and echo it in responses. Expose the correlation header through CORS and cover supplied/generated IDs.

Closes StreamGive#113

Tests: npm test -- --run test/requestId.test.ts; npx eslint src/server.ts src/requestId.ts test/requestId.test.ts
@drips-wave

drips-wave Bot commented Sep 30, 2026

Copy link
Copy Markdown

@dumbdevss Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Ashborne267
Ashborne267 merged commit 881da55 into StreamGive:main Oct 8, 2026
1 check failed
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.

Add a request-id correlation header propagated to logs

2 participants