Repository navigation
Open
Labels
P4Post-launch polish and enhancementsenhancementNew feature or requestsize:MModerate scope, some design neededtype:featureNew functionality or capability
Description
Context
The Windows release target (x86_64-pc-windows-msvc) and the PowerShell installer were removed from dist-workspace.toml in #148 so v0.6.1 could ship. The Windows job had failed every tagged release since the daemon landed in V0.5, and one failed target blocked the whole GitHub Release. v0.4.2 was the last release with a Windows binary.
Why it fails
From the v0.6.0 tag build (run 43167307968):
error[E0432]: unresolved imports `tokio::net::UnixListener`, `tokio::net::UnixStream`
error[E0432]: unresolved import `tokio::signal::unix`
error: could not compile `vestige-daemon`
Unix-only code with no cfg guards:
crates/vestige-daemon/src/ipc/server.rs—UnixListener/UnixStreamcrates/vestige-daemon/src/lifecycle.rs—tokio::signal::unixcrates/vestige-cli/src/commands/daemon/{ipc_client,kick}.rs,commands/init.rs—UnixStreamcrates/vestige-cli/src/commands/daemon/restart.rs—libc::getuid
Proposed
The daemon is already macOS-only in practice (LaunchAgent; daemon install exits with an error elsewhere), so the smallest change is to compile the daemon out on Windows rather than port it:
- Gate
vestige-daemonand thevestige daemon/vestige uicommands behind#[cfg(unix)]; on Windows the subcommands return a clear "not supported on this platform" error. - Gate the best-effort daemon registration ping in
init. - Make
libcacfg(unix)dependency. - Re-add the target and
powershellinstaller indist-workspace.toml, rundist generate.
Definition of Done
-
cargo check --target x86_64-pc-windows-msvcpasses for the workspace. - Core CLI + MCP work on Windows; daemon commands fail with an actionable message.
- Windows target restored in
dist-workspace.tomland validated withpr-run-mode = "upload"on the PR before merge (as in fix(release): drop Windows target, fix Apple Silicon runner, bump to 0.6.1 #148). - A Windows
cargo checkjob in CI so this cannot regress silently.
Metadata
Metadata
Assignees
Labels
P4Post-launch polish and enhancementsenhancementNew feature or requestsize:MModerate scope, some design neededtype:featureNew functionality or capability
Activity