Repository navigation
Lock Git dependency graphs and report build progress - #8
Merged
Merged
Conversation
LunaStev
marked this pull request as ready for review
August 6, 2026 16:20
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
vex.lockversion 2.vex fetchfor materializing the locked graph andvex updatefor explicitly refreshing Git refs.Resolving,Cloning,Fetching,Locking,Compiling,Checking,Running, andFinishedmessages.Why
The previous lockfile mirrored direct manifest entries but was never read during a build. Branch dependencies were fetched and pulled on every invocation, so the same manifest and lockfile could select different source revisions over time. Vex also provided little feedback while dependency and compiler work was running.
This change keeps Vex Git-first without introducing a central registry. Git selectors are resolved once to immutable commits, transitive package edges are recorded, and updates happen only through an explicit command.
Impact
vex fetchpreserves locked commits and avoids Git network work when checkouts are already available.vex updaterefreshes refs and rewrites the lockfile when selected commits change.--dry-runnever fetches or writes dependency state and explains whenvex fetchis required first.Validation
cargo fmt --checkcargo test --locked(13 unit tests and 1 integration test passed)cargo clippy --locked --all-targets -- -D warningscargo build --lockedvex fetchretains the original commit without fetching, and verifies that onlyvex updateadvances the lockfile and managed checkout.vex run; output:Hello Worldwith progress stages.