Skip to content

test(esp32): host-absolute nano.specs fixture for the Windows lane - #1837

Merged
zackees merged 2 commits into
mainfrom
fix/printf-thin-windows-path
Nov 1, 2026
Merged

zackees merged 2 commits into
mainfrom
fix/printf-thin-windows-path

Conversation

@zackees

@zackees zackees commented Nov 1, 2026

Copy link
Copy Markdown
Member

The 2.5.48 release dry run (run 41272771252) failed on one test in its full Windows validation: printf_thin::tests::probe_output_is_only_accepted_as_an_absolute_specs_path.

The fixture /toolchain/.../nano.specs has no drive letter, so it is not absolute on Windows, and nano_specs_from_probe correctly returned None. The production code is right, because GCC prints a drive-letter path on Windows. Only the fixture was Unix-only, so it now uses C:\\... under cfg(windows).

Validation: the Windows CI lane is the end-to-end check.

…ne passes

GCC prints a drive-letter path on Windows, where a bare /toolchain/... path
is not absolute; the probe correctly rejected the Unix-only fixture. This
failed release-auto's full Windows validation for 2.5.48.
@coderabbitai

coderabbitai Bot commented Nov 1, 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

…(windows)

The platform-boundary policy forbids new cfg(windows) in crates; an
absolute host directory makes the fixture absolute on every OS.
@zackees
zackees added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit 68b1938 Nov 1, 2026
26 checks passed
zackees added a commit that referenced this pull request Nov 1, 2026
Brings in the host-absolute nano.specs fixture (#1837) so the Windows
lane stops failing on a POSIX-only path assumption.
zackees added a commit that referenced this pull request Nov 1, 2026
`lib.rs` was 994 LOC on main and this branch's few APE install-gate lines
pushed it to 1003, which the LOC gate refuses for a file that starts under
the limit. Move the once-per-process touch key/claim helpers (plus their
`OnceLock` state and the test-only reset) to `src/touch.rs` verbatim; no
behavior change, `lib.rs` back to 977.

Rest of the merge commit from origin/main brings in #1837's host-absolute
nano.specs fixture, which is what the Windows lane was failing on.
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 2, 2026
@zackees
zackees deleted the fix/printf-thin-windows-path 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