-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Push adapter not loading on some versions of Node 22 #9524
Conversation
I will reformat the title to use the proper commit message syntax. |
Thanks for opening this pull request! |
6aea65c
to
5793d09
Compare
It seems that the Node 22 testing env was not added, even though the project is listed to support node 22 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## alpha #9524 +/- ##
==========================================
+ Coverage 84.33% 93.51% +9.18%
==========================================
Files 186 186
Lines 14810 14804 -6
==========================================
+ Hits 12490 13844 +1354
+ Misses 2320 960 -1360 ☔ View full report in Codecov by Sentry. |
I will reformat the title to use the proper commit message syntax. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, seems like the fix is only the change in src/Adapters/AdapterLoader.js
, right? If so, could you please revert all other changes and submit a PR also for the release-7.x.x
branch? And could you please rephrase the PR title, so indicate what the issue is for the changelog entry?
Sure - I still think it's worth adding the tests for Node 22 considering it's listed as supported |
I understand the bug occurs from a specific Node 22 version onwards; the Node 22 bump occurs in #9521, which is actually a broader change. |
Could you lower this to Node 22.12.0, which is also the Node version in #9521? So we don't have to downgrade again to meet our engines.node version. The bug occurs in that version as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
# [8.0.0-alpha.2](8.0.0-alpha.1...8.0.0-alpha.2) (2025-01-11) ### Bug Fixes * Push adapter not loading on some versions of Node 22 ([#9524](#9524)) ([ff7f671](ff7f671))
🎉 This change has been released in version 8.0.0-alpha.2 |
Pull Request
Issue
The push adapter type stops the server from starting
Closes: #9517
Approach
Uses the
.default
export for the push adapter