Repository navigation
fix(udev): host-independent elevation argv (unblocks 2.5.32 Windows check) - #1626
Conversation
…ass on Windows NormalizedPath::display() prints backslashes on Windows, so the pkexec/sudo argv tests added in #1622 failed the 2.5.32 release dry run (windows Check job). display_slash is identity on Unix, where this argv actually executes, so Linux behavior is unchanged.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe ChangesElevated command arguments
Priority: ➖ Normal Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The change preserves Linux path rendering while normalizing the elevation executable path for Windows argv tests. No actionable merge-blocking risk is established. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Release dry run 37070075494 for 2.5.32 failed
Full validation / windows / Check:udev_install::tests::pkexec_runs_the_named_helper_with_the_destination_firstandsudo_askpass_adds_dash_a(added in #1622) got\usr\bin\pkexecbecauseNormalizedPath::display()renders backslashes on Windows.elevated_argvnow renders the elevation binary withdisplay_slash(), which is identity on Unix (the only place this argv executes), so Linux behavior is byte-identical.The other failure in that run,
Adafruit QT Py M0 / build, was a daemon-startup flake ("daemon did not become healthy after 3 spawn attempts", no compilation attempted) while 75 other board builds passed with the same artifact; it needs a rerun, no code change.Verified locally: the 13 udev_install unit tests pass and clippy with
-D warningsis clean.Summary by CodeRabbit
pkexecandsudocommand paths.