Skip to content

util/process_wrapper: improve resilience to non-JSON output#4021

Open
th0br0 wants to merge 1 commit into
bazelbuild:mainfrom
th0br0:process_wrapper_non_json
Open

util/process_wrapper: improve resilience to non-JSON output#4021
th0br0 wants to merge 1 commit into
bazelbuild:mainfrom
th0br0:process_wrapper_non_json

Conversation

@th0br0
Copy link
Copy Markdown

@th0br0 th0br0 commented May 8, 2026

Make process_line in process_wrapper catch parsing failures and wrap non-JSON lines in valid JSON warnings.
This prevents crashes when rustc emits unexpected warnings.

@th0br0 th0br0 force-pushed the process_wrapper_non_json branch from f0d457b to 2ef5a58 Compare May 8, 2026 11:11
@scentini scentini requested a review from slackito May 8, 2026 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant