Skip to content

Offer Windows long-path repair at startup with a seven-day snooze - #2160

Merged
zackees merged 2 commits into
mainfrom
feat/issue-2159-long-path-snooze
Nov 23, 2026
Merged

zackees merged 2 commits into
mainfrom
feat/issue-2159-long-path-snooze

Conversation

@zackees

@zackees zackees commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Fixes #2159.

  • Offer long-path repair on interactive Windows CLI startup when Windows reports long paths disabled.
  • Remember a declined offer or cancelled UAC request for seven days per Windows user. Keep explicit --fix-win available during the snooze.
  • Reuse the existing UAC helper and fresh-process handoff. Keep the build fallback behavior and link the no-admin package issue separately in Windows with long paths off (the default): no ESP32 build can install its packages #2156.

The startup and persistence regressions were reproduced locally before implementation. Windows native CI is selected for this PR.

Validation

  • The startup and snooze tests failed before implementation. The focused suite passed afterward.
  • Full hosted CI and the native binary build passed on 3c05ab76.
  • On Windows 10 with long paths disabled, device list offered repair. Default No and cancellation at the Windows UAC dialog each persisted a snooze across launches. Aging the persisted timestamp by seven days brought the offer back. Redirected streams kept the offer silent, and explicit --fix-win bypassed the snooze.
  • The first VM run exposed an existing hidden-console default on successful repair. The follow-up keeps the original terminal attached. With the updated binary, approving UAC enabled long paths, drained the old daemon, and printed the resumed device list in the same terminal.

@zackees zackees added the ci-full Run the complete release-equivalent CI matrix on this PR SHA label Nov 23, 2026
@coderabbitai

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

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

Parsing warnings: 1

Validation error: Unrecognized key: "enabled" at "reviews.pre_merge_checks"
Configuration instructions

  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
  • 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

@zackees
zackees added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 561aa8c Nov 23, 2026
144 checks passed
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 24, 2026
@zackees
zackees deleted the feat/issue-2159-long-path-snooze branch November 24, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-full Run the complete release-equivalent CI matrix on this PR SHA

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

feat(windows): offer long-path repair at startup with a seven-day snooze

1 participant