Repository navigation
console.write: no unhandled rejections from a broken pipe; FileSink write counts #43679
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
Closed
Closed
Changes from 16 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
77066e2
console.write: handle every failed write when given several arguments
dylan-conway fbf7c3a
console.write: only a Promise is pending; intrinsics for the array an…
dylan-conway 7072113
console.write: sum the pending Promises without Promise.all
dylan-conway 5c4dae0
console.write: write every argument natively
dylan-conway 7288f3a
console-write test: check the pipe is broken, and cover mixed argumen…
dylan-conway 10773d4
console.write: crediting the counts never replaces a stored error
dylan-conway 33f6390
console.write: a pending operation a later argument settles; flush af…
dylan-conway 28530c9
Sink: the flush result's conversion to JS is not generic
dylan-conway 6afac97
FileSink: a write that flushes earlier chunks reports its own bytes
dylan-conway 63035f1
console.write: a flush that leaves the sink backed up gives the calle…
dylan-conway e096f7c
FileSink: a write to a sink that failed reports the error it failed with
dylan-conway 9716f7d
FileSink: a sink that was closed stays "done"
dylan-conway 958f02e
FileSink: a write to a finished sink is "done" again
dylan-conway a2aaf97
filesink test: the un-awaited writes case is POSIX behaviour
dylan-conway 8fcb219
Merge branch 'main' of github.com:oven-sh/bun into claude/filesink-wi…
dylan-conway 9b14b3d
Terminal: the writer no longer reports more than the chunk
dylan-conway 5c98ced
console.write: a Promise that never reaches the caller is not an unha…
dylan-conway 54188c4
console.write: tell the sink's operations apart by their Promise
dylan-conway 80f235d
console.write: carry only this call's bytes; shorter comments
dylan-conway ec2c027
console-write and filesink tests: the new spawning tests run concurre…
dylan-conway c45bae8
console.write: back to the loop in JS; mark the Promises it drops as …
dylan-conway a64b952
console-write test: the later write failing is how it always was
dylan-conway 4e0d147
fs.promises.writeFile test: short and long chunks from an async iterator
dylan-conway 92fb862
console.write: only a Promise that is already rejected is marked handled
dylan-conway 44600fe
console.write: a write that settled before the call was over counts
dylan-conway ca1353b
console-write test: find the C library the way the harness does
dylan-conway 9975cb5
console.write: what is not a Promise adds up as it did in 1.4.2
dylan-conway 8ab6db2
console.write: no private slot; a failed write's Promise is told apar…
dylan-conway 4133870
Merge branch 'main' of github.com:oven-sh/bun into claude/filesink-wi…
dylan-conway File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.