Repository navigation
Description
Description
The 1.4.0 release cycle cut four release candidates; two of the three blocking findings were invisible to the pre-consumer smoke test because vig-os/devkit-smoke-test deploys in container mode only, and both bugs live on the direnv CI code path:
| Finding | Mode affected | Caught by smoke test? |
|---|---|---|
| #1187 (fromJSON manifest) | all modes (manifest load) | yes |
| #1189 (shellHook banner corrupts GITHUB_ENV) | direnv only | no — surfaced only on consumer PRs |
| #1192 (install-nix-action aborts on preinstalled Nix) | direnv + self-hosted | no — surfaced only on exo-fleet |
Both #1189 and #1192 are in setup-devkit-toolchain's if: inputs.mode == 'direnv' branch, which the container-mode smoke consumer never executes. They were only found once real consumers (org-config, sync-issues-action, exo-fleet) ran their CI — i.e. after the RC was published and hand-validated. That is exactly the round-trip the smoke test exists to prevent.
Suggested fix
Add direnv-mode coverage to the pre-consumer gate. Options (pick one):
- A direnv lane in devkit-smoke-test — a second deploy/CI job (or matrix leg) that scaffolds
--mode direnvand runs the managedci.ymlon a hosted runner, so thesetup-devkit-toolchaindirenv path (Detect host Nix → install/config → dev-shell → shellHook env forward) executes every release. - A dedicated direnv smoke consumer repo mirroring devkit-smoke-test's role for the host modes.
A self-hosted-runner leg (the #1173 path that hit #1192) is harder to add to a public gate; at minimum document that DEVKIT_CI_RUNNER + preinstalled-Nix is exercised only by downstream consumers, or add a job that fakes a preinstalled-Nix runner (Nix already on PATH) to force the host-Nix branch.
Impact
Process gap, not a runtime bug — but it is the direct cause of two extra RC round-trips (rc2, rc3→rc4) this cycle. Highest-value item in the post-1.4.0 cleanup.
Refs: rollout validation PRs vig-os/org-config#54, vig-os/sync-issues-action#143, exo-pet/exo-fleet#230; findings #1189, #1192.
Activity
ci: repair scaffold ownership before dev-shell build
ci: git-init the scaffold before running prek
ci: add direnv-mode smoke lane (#286)
test(smoke-test): actionlint all overlay workflows
ci(smoke-test): persist direnv smoke lane in overlay (#1234)
c-vigo commentedon Jul 21, 2026
Done. Direnv-mode lane added to the pre-consumer gate (option 1 from the issue), plus a fake-preinstalled-Nix leg covering the #1192 host-Nix branch on a hosted runner:
.github/workflows/direnv-smoke.yml— 2-leg matrix scaffolds a throwaway--mode direnvworkspace and invokes the scaffoldedsetup-devkit-toolchainfrom the same call site as the managed ci.yml. Live proof (run 29813431342): fresh-install leg takes the install-nix-action branch; preinstalled leg logs the setup-devkit-toolchain direnv path breaks on self-hosted runners with preinstalled Nix #1192 detect/configure host-Nix branch; both verify the setup-devkit-toolchain env forward corrupts GITHUB_ENV via shellHook stdout banner #1189 shellHook→GITHUB_ENV forward (30 vars) with subsequent steps running off the forwarded env.assets/smoke-test/overlay (repository-dispatch.yml pattern) so--smoke-testdeploys don't wipe it, extends the overlay actionlint bats test to cover it, and documents the lane in the overlay README.Follow-up filed: #1235 (install.sh --docker should chown scaffold output before the git phase — root cause of the lane's chown+git-init workaround). Note: the self-hosted
DEVKIT_CI_RUNNER+ genuinely-preinstalled-Nix path remains exercised only by downstream consumers; the fake-preinstalled leg covers the code branch itself.fix(install): chown docker scaffold output before the git phase (#1245)