Skip to content

Fixes for Windows#421

Merged
rxgrant merged 1 commit intomainfrom
windows-fixes
Mar 7, 2026
Merged

Fixes for Windows#421
rxgrant merged 1 commit intomainfrom
windows-fixes

Conversation

@parasyte
Copy link
Collaborator

@parasyte parasyte commented Mar 7, 2026

  • Fix build error in jp_cli/src/signal.rs
  • Ignore directory recursion test with stack-overflow on Windows
  • Cleanup dead_code warnings
  • Fix many test failures due to Windows-isms
    • Use camino_testfile instead of hard-coded /tmp
    • Replace \ with / in joined paths
    • Use USERNAME env var instead of USER on Windows
    • Workspace::find_root finds a workspace at C:\Users\ when the project path is "default" because C:\Users\Default\ is a legit directory that exists.

@parasyte parasyte requested review from JeanMertz and rxgrant March 7, 2026 20:13
- Fix build error in jp_cli/src/signal.rs
- Ignore directory recursion test with stack-overflow on Windows
- Cleanup dead_code warnings
- Fix many test failures due to Windows-isms
  - Use camino_testfile instead of hard-coded /tmp
  - Replace `\` with `/` in joined paths
  - Use `USERNAME` env var instead of `USER` on Windows
  - `Workspace::find_root` finds a workspace at `C:\Users\` when the
    project path is "default" because `C:\Users\Default\` is a legit
    directory that exists.
Copy link
Collaborator

@rxgrant rxgrant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code seems reasonable. cargo test passes on my laptop.

@rxgrant rxgrant merged commit 4f668a2 into main Mar 7, 2026
11 checks passed
@parasyte parasyte deleted the windows-fixes branch March 8, 2026 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants