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
Consumer adoption bumps .vig-os but not the vigos flake pin — dev-shell toolchain lags a release behind #1263
The devkit adoption/upgrade flow (install.sh scaffold + lane bump commits) advances the .vig-osDEVKIT_VERSION pin, which governs the image/scaffold, but never touches the consumer's flake.lock — which governs the direnv dev shell (the vigos input floats on the default branch but is locked at whatever rev the last nix flake update vigos saw).
All five 1.4.1 consumers currently show this skew: .vig-os says 1.4.1 while flake.lock pins vigos at d16541f5 (the 1.4.0 release commit). Their shells run 1.4.0 vig-utils and hook sets.
Live symptom (2026-07-24, org-config)
org-config committed .github/label-taxonomy.local.toml (the #1254 extension) and ran setup-labels --prune --dry-run from its own dev shell: the 1.4.0 tool ignored the extension and planned to DELETE the repo's drift/critical/change-request labels. The same command via the devkit 1.4.1 shell read the extension and planned only the missing create inventory. A consumer following the documented workflow would have silently destroyed its own labels one release after the protecting feature shipped.
Expected
Adopting devkit X.Y.Z should advance the shell toolchain too. Options to triage:
scaffold/upgrade runs (or instructs) nix flake update vigos when the workspace flake's vigos input floats and lags DEVKIT_VERSION;
a post-scaffold warning comparing the locked vigos rev's release against DEVKIT_VERSION (cheap, no behavior change);
document the flake update step in MIGRATION.md's upgrade checklist (the sync-issues 1.3.1 adoption already fixed this drift by hand once).
Impact
Every direnv consumer, every release: flake-shipped fixes (vig-utils scripts, hook sets, mkProjectShell changes) do not reach consumers until someone remembers a manual nix flake update vigos.
Implemented in one pass on dev via PR #1272 (merge ead2372): (1) mkProjectShell shell-entry version-skew guard — the shellHook compares the flake's own release (repo-root .vig-os at the locked input rev) against the workspace pin and warns with the nix flake update vigos remedy; silent on matching versions, -rc* pins, and bare consumers. (2) install.sh --force now advances a floating vigos flake lock host-side for direnv/both consumers with an existing flake.lock (non-fatal when nix is missing/offline — manual step printed). (3) MIGRATION.md documents the two coupled delivery channels in the Updating checklist and corrects the floating-input exemption; the #1093 comment premise is fixed likewise.
Ships with the next release. Note the guard itself is flake-delivered, so the five current consumers first see it after their next lock advance — which the upgrade path now performs for them.
Activity
test(flake): shell-entry version-skew guard warns on stale vigos lock
fix(flake): warn at shell entry when the vigos lock lags the scaffold…
test(install): upgrade advances a floating vigos flake lock host-side
fix(install): advance the floating vigos flake lock on --force upgrades
docs: document the two-channel upgrade and correct the floating-input…
fix: keep the dev-shell toolchain in lockstep with consumer adoption (#…
c-vigo commentedon Jul 25, 2026
Implemented in one pass on dev via PR #1272 (merge ead2372): (1) mkProjectShell shell-entry version-skew guard — the shellHook compares the flake's own release (repo-root .vig-os at the locked input rev) against the workspace pin and warns with the
nix flake update vigosremedy; silent on matching versions,-rc*pins, and bare consumers. (2)install.sh --forcenow advances a floating vigos flake lock host-side for direnv/both consumers with an existing flake.lock (non-fatal when nix is missing/offline — manual step printed). (3) MIGRATION.md documents the two coupled delivery channels in the Updating checklist and corrects the floating-input exemption; the #1093 comment premise is fixed likewise.Ships with the next release. Note the guard itself is flake-delivered, so the five current consumers first see it after their next lock advance — which the upgrade path now performs for them.
chore: release 1.4.2 (#302)
chore: release 1.4.2 (#1275)
chore: adopt devkit 1.4.2 (#118)
chore: adopt devkit 1.4.2 (#154)
chore: adopt devkit 1.4.2 (#77)
docs(changelog): document devkit 1.4.1, 1.4.2 and 1.6.0 adoptions (#125)
chore: advance vigos flake pin to devkit 1.6.0 (#126)
chore: advance vigos flake pin to devkit 1.6.0 (#161)
chore: advance vigos flake pin to devkit 1.6.0 (#89)
docs(changelog): refresh the devkit 1.6.0 entry after the flake pin a…
chore: release 0.3.2 (#136)
ci(actions): update github-actions (minor and patch) (#1368)
fix(ci): make upgrade staleness observable on both axes (#1514)