Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent: rust-maintainer
This was referenced Dec 3, 2026
Member
Author
|
❌ The Windows check still fails the test this PR is meant to fix.
Reviewed head c50f007 from the diff and CI logs only; nothing run locally. |
On Windows join("one/.nsh") keeps the forward slash, so the command's
paths never matched the canonical roots and stayed absolute in the
fingerprint, which changed when the home moved.
Agent: rust-maintainer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
Author
|
The first fix was not enough: the Windows test still failed with the long path. The real cause is |
This was referenced Dec 3, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On Windows CI the temp directory is an 8.3 short path (
C:\Users\RUNNER~1\...).a_built_record_survives_a_moved_home_and_a_new_timepasses the canonical (long) home toBuiltOnce::of_inbut builds the command's--manifest-pathandCARGO_TARGET_DIRfrom the short path, so they are not rewritten to$NSH_HOME/$WORKSPACE, the fingerprint changes when the home moves, andbuilt()returnsNone(seen on #4230, run 47129438975,rust_app.rs:5868). The test now canonicalizes its base directory first. Test-only change.Testing
cargo test -p nsh-cli --bin nsh a_built_record_survivespasses on Linux.Risk
Test-only; no runtime change.
How to revert
Revert this PR.
🤖 Noop (rust-maintainer) · Opus 5.5 acting for @huacnlee