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
Do not create target before build dependency preflight succeeds #120
bugSomething isn't workingbuildIssues related to building projects or integrating with wavec.good first issueIssues that are good for newcomers or first-time contributors.stabilityIssues that improve reliability, recovery, and deterministic behavior.
src/commands/build.rs creates target/ before calling resolver::resolve. A build, run, or check rejected for a missing or mismatched lockfile can therefore leave a new output directory even though compilation never started.
Acceptance criteria
Move target-directory creation after manifest, input, lockfile, and dependency preflight that can fail without compilation.
A failed --locked or --offline build/run/check leaves a previously absent target/ absent.
Preserve successful artifact placement and existing target contents.
Add process-level tests for missing lockfile and unresolved offline dependency.
bugSomething isn't workingbuildIssues related to building projects or integrating with wavec.good first issueIssues that are good for newcomers or first-time contributors.stabilityIssues that improve reliability, recovery, and deterministic behavior.
Activity
LunaStev commentedon Oct 2, 2026
Verified completed against master
67797f6415f640e8c33f9a072879124b83934f84.Build/check/run complete dependency preflight before creating output directories. Tests verify rejected preflight leaves target absent; dry-run creates no build output.
Evidence: src/commands/build.rs, tests/project_state.rs.
Master CI run 36963423149 passed all eight jobs, including native Windows, macOS, and Linux tests. Closing as completed.