Repository navigation
output: report a failed write to stdout instead of claiming success #39531
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
Open
robobun
wants to merge
21
commits into
main
Choose a base branch
from
farm/ad6253fd/output-write-errors
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
3965593
output: report a failed write to stdout instead of claiming success
alii c7740cb
pm hash-string propagates the write error too; a zero-length write is…
alii bd5963b
console: stop printing instead of panicking when stdout cannot be wri…
alii 6ce8b11
pm hash: keep output buffering paired when the write fails
alii 0a53911
test: cover pm hash-string and console.log with an unwritable stdout
alii f8541ce
console: Request and BuildArtifact stop printing like their siblings …
alii c55b23a
install: a core WriteFailed is install's WriteFailed, so bun.lockb in…
alii 8bca574
bun --filter: printing a child's output is best-effort, finishing it …
alii 1f10bcf
test --coverage: a closed stderr does not skip the lcov/junit output …
alii 6b384de
build: write every output file even when the summary cannot be printed
alii e56d2ec
install: printing the log or the summary is best-effort once node_mod…
alii 2115988
bun build: free the option snapshots before exit_or_watch so LeakSani…
alii 0803f70
restore .bk.yaml
alii a411553
console: cover the Request and BuildArtifact printing paths in the cl…
alii 53d1236
test: cover the --parallel, bun build and --coverage paths when stdou…
alii ea17c9b
console test: drop the BuildArtifact case, its writes cannot fail aft…
alii 4f134ae
install: the remaining log prints to stderr are best-effort too
robobun 804de55
bun build: write a single bundle to stdout unbuffered so a failed wri…
robobun f107e40
BuildArtifact: restore the formatter indent on every exit of write_fo…
robobun 308f334
Blob: restore the formatter indent on every exit of write_format
robobun 76331b2
install: an allocation failure while printing the summary tree is sti…
robobun 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
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.