You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(windows): offer long-path repair at startup with a seven-day snooze #2159
fbuild currently offers long-path repair only during interactive ESP32 operations outside CI. A decline is forgotten when the process exits. The existing fbuild --fix-win command performs the repair through a scoped UAC helper.
Proposal
On interactive Windows CLI startup, automatically offer to enable long paths when Windows reports them disabled. Ask for confirmation before requesting UAC. If the user declines, accepts the default No, or cancels UAC, continue the original command and save a seven-day snooze. Offer repair again on the first eligible startup after it expires.
Acceptance criteria
Offer repair on the first eligible launch, including non-ESP32 commands such as fbuild device list.
Persist a dismissal across CLI processes. With a controlled clock, verify silence before seven days and a prompt at or after seven days.
Reuse the existing UAC helper and fresh-process handoff after verified repair. Explicit fbuild --fix-win works during a snooze.
Skip automatic offers when long paths are enabled, outside Windows, in CI, or when stdin or stderr is redirected. Keep help and version output free of prompts.
Capture failing startup and snooze regression tests before implementation, then verify they pass. Exercise confirmation, UAC, and cancellation on Windows with long paths disabled.
Decisions
Store the snooze per Windows user outside package caches so changing cache locations or modes preserves the dismissal.
Keep the offer in CLI preflight and reuse the existing repair path.
Activity