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
Serialize concurrent dependency state mutations #23
bugSomething isn't workingcross-platformIssues related to making Vex work consistently across operating systems and architectures.dependenciesIssues related to dependency resolution, Git and path sources, and lockfiles.technical debtKnown design or implementation debt that should be addressed.
Multiple Vex processes can currently mutate vex.lock and the same .vex/deps/<package> checkout concurrently. Concurrent fetch, update, build, or tree invocations can race Git fetch and checkout operations or overwrite a lockfile derived from stale state.
Cargo-like project tooling needs a clear project lock around shared mutable state.
Expected behavior
Commands that mutate dependency state should coordinate through a project-scoped lock, while read-only work should not observe half-finished state.
Acceptance criteria
Define which commands and phases require a shared or exclusive lock.
Serialize lockfile writes and managed Git clone, fetch, and checkout operations.
Display a concise waiting status when another Vex process owns the lock.
Recover cleanly from stale lock metadata after a crashed process.
Work on Linux, macOS, and Windows.
Add a concurrency integration test using two Vex processes.
Verified completed against master 67797f6415f640e8c33f9a072879124b83934f84.
Shared/exclusive project leases protect state before lockfile reads and through compilation, and are released before the user program starts. Tests cover concurrent readers/writers, cancellation, and parent-death compiler protection. The approved dry-run coordination-file policy is documented.
bugSomething isn't workingcross-platformIssues related to making Vex work consistently across operating systems and architectures.dependenciesIssues related to dependency resolution, Git and path sources, and lockfiles.technical debtKnown design or implementation debt that should be addressed.
Activity
LunaStev commentedon Oct 2, 2026
Verified completed against master
67797f6415f640e8c33f9a072879124b83934f84.Shared/exclusive project leases protect state before lockfile reads and through compilation, and are released before the user program starts. Tests cover concurrent readers/writers, cancellation, and parent-death compiler protection. The approved dry-run coordination-file policy is documented.
Evidence: state/src/lib.rs, tests/project_state.rs, docs/release-readiness.md.
Master CI run 36963423149 passed all eight jobs, including native Windows, macOS, and Linux tests. Closing as completed.