Windows: daemon worker crashes with libuv fs-event assertion when workspace path is an 8.3 short path
## Summary
On Windows, if a workspace directory is given as an 8.3 short path (e.g. C:\Users\ABCDEF~1\AppData\Local\Temp\..., which is what $env:TEMP often expands to), the daemon worker process crashes repeatedly with a libuv assertion. The supervisor restarts the worker each time, but it crashes again as long as that workspace exists.
Environment
- Windows 11, PowerShell 7
- Node v24.19.0, npm 11.17.0
@getpaseo/cli0.10.2 (npm install -g)- Provider: claude (Claude Agent SDK)
Steps to reproduce
- Create a git repo under
%TEMP%where%TEMP%resolves to a short path (C:\Users\XXXXXX~1\...). paseo runan agent with that directory as cwd.- Watch
daemon.log.
Actual
Worker exits with:
Assertion failed: !_wcsnicmp(filename, dir, dirlen), file src\win\fs-event.c, line 72
exit code 3221226505 (0xC0000409). Happened 3 times within ~16 minutes.
Workaround
Archive the workspace, remove the project, recreate it with the long path. No crashes after that.
Suggestion
Normalize workspace/watch paths to their long form (e.g. fs.realpathSync.native) before starting file watchers on Windows.
Possibly related (minor)
paseo daemon restart hung until its 600s timeout even though the new worker was up almost immediately.
Thanks for the clear report. I've kept this open as a Windows bug.
Until it's fixed, adding the project by its long path, as you did, avoids the crash. Updates go on this issue.
Thanks for the report. I'm closing this because it has been quiet for a month. If this still happens on Paseo v0.16.2, please open a new issue.