Skip to content

fix(test): compare canonicalize_lexical against UNC-stripped paths (#1578) - #1590

Merged
zackees merged 2 commits into
mainfrom
fix/1578-canonicalize-test-unc
Sep 30, 2026
Merged

zackees merged 2 commits into
mainfrom
fix/1578-canonicalize-test-unc

Conversation

@zackees

@zackees zackees commented Sep 29, 2026

Copy link
Copy Markdown
Member

Fixes #1578.

canonicalize_lexical strips the Windows \\?\ prefix, but the two memo tests compared it against the raw Path::canonicalize() result, which keeps the prefix. The expected values now go through strip_unc_prefix too. Test-only change; Linux run passes locally. The Windows behaviour is only verifiable in CI (the failing job was windows-latest).

@coderabbitai

coderabbitai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 49 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository: FastLED/fbuild/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: a9789574-0063-4a26-80a2-b0bd8da4108c

📥 Commits

Reviewing files that changed from the base of the PR and between 4241cbf and 5f65e12.

📒 Files selected for processing (1)
  • crates/fbuild-core/src/path.rs

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@zackees
zackees merged commit aa31af1 into main Sep 30, 2026
22 checks passed
@zackees
zackees deleted the fix/1578-canonicalize-test-unc branch October 16, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

path.rs canonicalize memo tests fail on Windows (path.rs:883/898)

1 participant