Repository navigation
ci(smoke-test): persist direnv smoke lane in overlay - #1234
Merged
Merged
Conversation
The direnv-mode smoke lane (devkit-smoke-test PR #286) lives in the smoke repo's .github/workflows/, but every --smoke-test deploy regenerates the repo via rsync --delete from the template plus the assets/smoke-test/ overlay — so the lane would be wiped on the next release deploy. Ship it in the overlay (the repository-dispatch.yml pattern) so it survives, and document it in the overlay README. Refs: #1194
The overlay actionlint bats test covered only repository-dispatch.yml and its comment claimed a single standalone workflow; with direnv-smoke.yml now shipping in the overlay — outside the repo actionlint hook's ^.github/workflows/ scope — the persisted lane had no actionlint regression coverage in the devkit. Lint both overlay workflows. Refs: #1194
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
Companion to devkit-smoke-test#286 (the direnv-mode smoke lane, #1194): every
--smoke-testdeploy regenerates the smoke repo viarsync --deletefrom the template + theassets/smoke-test/overlay, so a workflow that exists only in the smoke repo is wiped on the next release deploy. This PR shipsdirenv-smoke.ymlin the overlay — the same persistence mechanismrepository-dispatch.ymluses — and documents the lane in the overlay README.The workflow file is byte-identical to the one proven green on devkit-smoke-test PR #286 (run 29813431342: fresh-install leg exercises the install-nix-action branch, preinstalled leg the #1192 host-Nix branch, both verify the #1189 shellHook env forward).
Test evidence
prek run --all-filesgreen (full suite, includes actionlint/yamllint on the new workflow).citype, smoke-gate internal (not consumer-visible).Refs: #1194