Repository navigation
Conversation
| Ok(tracing_subscriber::fmt::layer() | ||
| .with_ansi(false) | ||
| .with_timer(uptime()) |
There was a problem hiding this comment.
[P3] Reuse the ANSI-stripping field formatter for diagnostic files
with_ansi(false) only disables styling added by tracing; it leaves escape sequences embedded in messages intact. For example, discovery's Error::is_critical logs interpreter errors whose StatusCodeError and UnexpectedResponseError implementations color the [stdout] and [stderr] headings. These sequences will appear in the uploaded diagnostic files. Add .fmt_fields(uv_fields()), as the stderr layer already does, to reuse the existing handling for colored field values.
Merging this PR will not alter performance
|
9b98278 to
9ae2735
Compare
9ae2735 to
268772b
Compare
Test commands capture
uv's stderr until it exits, so a timeout can hide evidence of where the test stalled. Add an opt-in internal file sink for Python discovery, archive handling, interpreter queries and locks, and upload those traces when Windows tests fail.