Skip to content

test(uploadfs): compare path components so absolute() test passes on Windows - #1791

Merged
zackees merged 2 commits into
mainfrom
fix/uploadfs-absolute-test-windows
Oct 30, 2026
Merged

zackees merged 2 commits into
mainfrom
fix/uploadfs-absolute-test-windows

Conversation

@zackees

@zackees zackees commented Oct 30, 2026

Copy link
Copy Markdown
Member

cli::uploadfs::tests::absolute_resolves_relative_paths_against_the_project fails on full / windows / Check (windows-latest) (seen in the setup-soldr canary run 40990684036):

left: "\\work\\blink\\build\\littlefs.bin"
right: "/work/blink/build/littlefs.bin"

The test compared display strings. Windows renders the joined path with \\ separators, and /tmp/fs.bin has no drive there, so it isn't absolute. The fix compares path components and uses the host temp dir for the already-absolute case. Test-only; absolute() itself is unchanged.

ci-full is needed because only the full tier runs the Windows check, which is the failing lane. It passes locally on Linux.

… on Windows

The test compared display strings, so on Windows the joined path
(`\\work\\blink\\build\\littlefs.bin`) never equalled the POSIX literal,
and `/tmp/fs.bin` has no drive there, so it is not absolute. Compare
components, and use the host temp dir for the already-absolute case.
@zackees zackees added the ci-full Run the complete release-equivalent CI matrix on this PR SHA label Oct 30, 2026
@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Oct 30, 2026
@zackees zackees removed the ci-full Run the complete release-equivalent CI matrix on this PR SHA label Oct 30, 2026
@zackees
zackees added this pull request to the merge queue Oct 30, 2026
Merged via the queue into main with commit f8c779e Oct 30, 2026
26 checks passed
@zackees
zackees deleted the fix/uploadfs-absolute-test-windows branch November 5, 2026 05:51
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.

1 participant