-
Notifications
You must be signed in to change notification settings - Fork 39
fix: crash on http server use #1671
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
Conversation
6617f8e to
ad9b548
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1671 +/- ##
=======================================
Coverage 40.62% 40.62%
=======================================
Files 798 798
Lines 37774 37769 -5
Branches 5385 5382 -3
=======================================
+ Hits 15344 15345 +1
+ Misses 20606 20600 -6
Partials 1824 1824
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
28327b9 to
961069d
Compare
Signed-off-by: Dario Valdespino <dvaldespino00@gmail.com>
Signed-off-by: Dario Valdespino <dvaldespino00@gmail.com>
Signed-off-by: Dario Valdespino <dvaldespino00@gmail.com>
Signed-off-by: Dario Valdespino <dvaldespino00@gmail.com>
961069d to
1c6db1f
Compare
Summary
This PR fixes #1670 and restores minimal functionality to Elide's HTTP server intrinsics:
Contextinstances are now correctly attached to anEngine. This behavior is disabled by default when acquiring a new context from a CLI command usingresolvePolyglotContext(), to avoid breaking existing code; it can be enabled by passingdetached = false.NettyHttpResponse.from(...)builder function now returns a new empty mutable response; it was previously unimplemented.In general, the
servecommand should now work again, though some features are still unimplemented (coming soon).Important
The old
expressintrinsics are no longer available,Elide.httpshould be used instead. Support for express-like APIs and a drop-in express.js replacement may be added in the near future.