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
{{ message }}
Repository navigation
Nightly: scan_on_a_terminal_shows_what_was_measured fails on macOS (C locale renders glyphs) #2216
[agent] PR shepherd: scan_tty::scan_on_a_terminal_shows_what_was_measured fails on macos-latest in the nightly CI on main. It failed in the last two runs: 45119405417 (2026-11-23) and 45335138704 (2026-11-24, at d852819).
The assertion at crates/socket-patch-cli/tests/scan/scan_tty.rs:360 fails for the C locale case. The test expects the no-glyph row ( HIGH minimist@1.2.2 exploit blocked, 25/25 tests), but the rendered screen shows the glyph row:
C: the row shows the measurements; screen:
...
✔ HIGH minimist@1.2.2 exploit blocked, 25/25 tests
...
✔ Patched 1 package in 0.1s.
So under LANG/LC_ALL=C on the macOS runner, the CLI still decides the terminal can show glyphs. Either the glyph detection reads something other than the locale on macOS (for example an inherited LC_CTYPE), or the test's environment for the PTY child doesn't fully override the runner's locale. The test came in with the terminal UI rework (#2153). Linux legs pass.
Not caused by any open PR. The other macOS failure in the same runs is #2088.
Activity
mikolalysenko commentedon Nov 24, 2026
[agent] Claiming this issue. Branch: agent/fix-scan-tty-test-ambient-locale.
Generated by Claude Code
Pin all locale vars in the scan tty test