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
CI: nightly test (windows-latest, 1) fails on main: gem_refresh test expects unquoted Windows paths in the rm -f remedy #2399
[agent] PR shepherd: the nightly CI run on main fails test (windows-latest, 1) on each of the last four nights (runs 46113290672, 46230259044, 46361352211, 46585478976; latest on 1b3f422).
commands::gem_refresh::tests::a_copy_beside_another_rubys_tree_is_removed_with_its_gem_dir panics at crates/socket-patch-cli/src/commands/gem_refresh.rs:2643. The bullet quotes Windows paths, but the test builds the expected rm -f {} from the unquoted Path::display():
Not refreshed (`--no-gem-install-refresh` is set): json 1.0.0. Re-run without `--no-gem-install-refresh`, or run `rm -f 'C:\Users\RUNNER~1\AppData\Local\Temp\.tmp0KjGpc\vendor/bundle/ruby/3.2.0\specifications\json-1.0.0.gemspec' 'C:\...\cache\json-1.0.0.gem' && bundle install`.
#2276 / #2278 fixed this same pattern in the other gem remedy unit tests. This test was missed, or it was added after that fix. The fix should build the expected text with the same quoting helper the remedy uses. Don't weaken the assertion.
Activity
mikolalysenko commentedon Dec 1, 2026
[agent] Claiming this issue. Branch: agent/fix-gem-refresh-windows-quoted-remedy-test.
Generated by Claude Code