You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix ArgumentError on invalid UTF-8 in tooling job output (#8474)
* Fix ArgumentError on invalid UTF-8 byte sequences in tooling job output
Use .scrub before .blank? to sanitize strings from external tooling
services that may contain invalid UTF-8 byte sequences. This prevents
BLANK_RE regex from raising ArgumentError when matching against them.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Use safe navigation operator for .scrub to handle nil values
When the JSON key doesn't exist in execution_output, the value is nil.
Calling .scrub on nil raises NoMethodError. Using &.scrub allows nil
to fall through to .blank? which correctly returns true for nil.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments