Skip to content

feat: requestId override in a worker environment#43

Merged
HugoRCD merged 3 commits intoHugoRCD:mainfrom
saltytostitos:cfray
Feb 6, 2026
Merged

feat: requestId override in a worker environment#43
HugoRCD merged 3 commits intoHugoRCD:mainfrom
saltytostitos:cfray

Conversation

@saltytostitos
Copy link
Contributor

Very simple pull request to allow for a requestId override in a Worker environment.

WHY

Using Nuxt framework on a Cloudflare Workers env means the logs will have a UUID for resultId, not matching the requestId in Workers Observability.

This will look for a workerd environment and use the cf-ray headers in place of the UUID request ID.

Currently testing for durability.

@vercel
Copy link

vercel bot commented Feb 5, 2026

@saltytostitos is attempting to deploy a commit to the HRCD Projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

Thank you for following the naming conventions! 🙏

@saltytostitos saltytostitos marked this pull request as ready for review February 5, 2026 21:50
@saltytostitos
Copy link
Contributor Author

✔️ Works on CF Workers using Nuxt
✔️ Works in Dev

@HugoRCD HugoRCD changed the title Cfray feat: requestId override in a worker environment Feb 6, 2026
@HugoRCD HugoRCD changed the title feat: requestId override in a worker environment feat: requestId override in a worker environment Feb 6, 2026
@HugoRCD HugoRCD merged commit 5795151 into HugoRCD:main Feb 6, 2026
10 of 12 checks passed
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.

2 participants