-
Notifications
You must be signed in to change notification settings - Fork 2.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(Bun.serve) fix buffering edge case #5152
Conversation
❌ @cirospaciari 5 files with test failures on bun-darwin-aarch64:
|
✅ test failures on linux-x64-baseline have been resolved. |
✅ test failures on linux-x64 have been resolved. |
❌ @Jarred-Sumner 5 files with test failures on bun-darwin-x64-baseline:
|
bun-server tests are failing |
@@ -1673,7 +1673,7 @@ pub const VirtualMachine = struct { | |||
printed, | |||
), | |||
}; | |||
res.* = ErrorableString.err(error.NameTooLong, ResolveMessage.create(global, VirtualMachine.get().allocator, msg, source.utf8()).asVoid()); | |||
res.* = ErrorableString.err(error.NameTooLong, ResolveMessage.create(global, VirtualMachine.get().allocator, msg, source_utf8.slice()).asVoid()); |
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.
this also solves an issue on linux when running test/js/bun/resolve/resolve.test.ts
. I am not sure if this is the right approach
* fix buffering clean * fix resolveMaybeNeedsTrailingSlash and try to fix ci/cd error * fix resolveMaybeNeedsTrailingSlash and try to fix ci/cd error * oops --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
What does this PR do?
Fix: #4966
How did you verify your code works?
I wrote automated tests