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
ux(cli): ripr cache clear failure text prints the raw \?\ verbatim path for the layer it could not remove #7388
On Windows, when ripr cache clear --force cannot remove a cache layer (a file held open by another process), the error message prints the verbatim extended-length spelling of the layer path:
ripr: failed to remove ripr cache layer \?\C:\tmp\ripr-audit-scratch\target\ripr\cache\repo-file-facts: The process cannot access the file because it is being used by another process. (os error 32); the cache root and unrelated siblings were preserved
The sibling Cache dir: header in the same command's output renders the same directory through human_path as the plain C:/... forward-slash spelling (#7326 / PR #7333); the failure line uses layer.path.display() raw, so the verbatim prefix and backslash spelling leak only on the error path.
Evidence
crates/ripr/src/cli/commands/cache.rs:448-453 (clear error construction) formats with layer.path.display(); confirmed unchanged on origin/main @ 31bb765.
Verified on this Windows host (ripr 0.11.0): held a cache file open with an exclusive PowerShell FileStream, ran ripr cache clear --force — exit 2, message exactly as above, verbatim \?\ prefix included.
The user meets the most technical spelling of the path exactly when they are already in error recovery. It is inconsistent with every other path rendering in the same output, and the \?\ form is the one spelling that pastes poorly into editors, other shells, and issue reports — which is precisely what a user doing recovery is about to do.
Suggested direction
Route the failure message through output::path::human_path like the header (and like the #7343 fix direction for the Real dir: line). Keep the raw spelling in any JSON/log surface where identity matters.
Classification: verified_current, confidence high (behavioral repro on this Windows host; source at origin/main confirmed unchanged).
Activity
fix(ux): changelog fragments — address devin review on #7485
fix(ux): vscode restored status and changelog wording — address coder…