Repository navigation
Harden locked Git checkouts and project defaults - #113
Merged
Merged
Conversation
Reject dirty managed Git checkouts on every reuse path, including locked offline and dry-run resolution. Improve init scaffolds, lazy managed state, manifest diagnostics, and target parsing with regression coverage. Signed-off-by: LunaStev <[email protected]>
This was referenced Sep 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--locked --offline, and dry-run paths.vex init --libexport a public example, generate a project.gitignorewithout overwriting an existing one, and create.vex/depsonly when a Git checkout is needed.--targetvalues before project work.Why
A dirty checkout could be compiled while
vex.lockstill claimed its committed source, breaking reproducibility. The smaller CLI and scaffold fixes remove confusing new-project behavior and make errors actionable.Behavior
.gitignorefiles remain untouched. Path-only and empty projects no longer create.vex/deps.--locked/--offlinesemantics remain unchanged.Validation
cargo fmt --checkcargo test --lockedcargo clippy --locked --all-targets -- -D warningscargo build --lockedgit diff --checkwavec 0.2.1-pre-beta-devsmoke: generated library as a path dependency passedvex checkandvex run --locked --offline, printingHello from library.Closes #19
Closes #35
Closes #100
Closes #101
Closes #102
Closes #103