fix(elysia): avoid AsyncLocalStorage probe on Bun - #497
Conversation
🦋 Changeset detectedLatest commit: 9d9df53 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
@adrian-scehura is attempting to deploy a commit to the HRCD Projects Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe AsyncLocalStorage support check now skips the ChangesBun AsyncLocalStorage fix
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thank you for following the naming conventions! 🙏 |
commit: |
Avoid calling
AsyncLocalStorage.enterWith(undefined)while detecting support on Bun because the probe replacesbun:test's active lifecycle context. Bun continues using its native implementation, while runtimes with missing or throwing implementations still receive the existing fallback.Adds a regression test ensuring Bun detection does not invoke
enterWith().Closes #496
Summary by CodeRabbit