Repository navigation
chore(ci): regenerate with velnor-actions 0.1.6 - #47
Conversation
- Generator 0.1.0 -> 0.1.6: refreshed pins, actionlint config, manifest (3-target) - New generator-owned shared actions/scripts under .github/actions + .github/scripts accepted verbatim - .github/CLAUDE.md symlink -> @AGENTS.md stub is generator-owned output, accepted verbatim - mise opentofu pin 1.12.5 -> 1.13.1 to match generator-installed CI version; lockfile regenerated with mise Signed-off-by: Alexey Zhokhov <alexey@zhokhov.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 47b6731fd3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| TOOLS_CACHE_HIT: ${{ steps.restore.outputs.cache-hit }} | ||
| TOOLS_EXPECTED_KEY: ${{ inputs.key }} | ||
| TOOLS_MATCHED_KEY: ${{ steps.restore.outputs.cache-matched-key }} | ||
| run: "set -eu;\n[ -n \"$HOME\" ] && [ -n \"$RUNNER_TEMP\" ] || exit 1;\ncase \"$HOME\" in /*) ;; *) exit 1 ;; esac;\ncase \"$RUNNER_TEMP\" in /*) ;; *) exit 1 ;; esac;\n[ \"$HOME\" != / ] && [ \"$RUNNER_TEMP\" != / ] || exit 1;\nif [ \"$TOOLS_CACHE_HIT\" = true ] && [ -n \"$TOOLS_EXPECTED_KEY\" ] && [ \"$TOOLS_MATCHED_KEY\" = \"$TOOLS_EXPECTED_KEY\" ]; then\n[ ! -L \"$HOME/.local/share/mise\" ] || exit 1;\n[ ! -L \"$RUNNER_TEMP/velnor/rustup\" ] || exit 1;\n[ ! -L \"$RUNNER_TEMP/velnor/cargo/bin\" ] || exit 1;\n[ ! -L \"$RUNNER_TEMP/velnor/cargo/.crates.toml\" ] || exit 1;\n[ ! -L \"$RUNNER_TEMP/velnor/cargo/.crates2.json\" ] || exit 1;\nexit 0;\nfi;\nfor d in \"$HOME/.local/share/mise\" \"$RUNNER_TEMP/velnor/rustup\" \"$RUNNER_TEMP/velnor/cargo/bin\"; do\n[ ! -L \"$d\" ] || exit 1;\nrm -rf \"$d\";\ndone;\nfor f in \"$RUNNER_TEMP/velnor/cargo/.crates.toml\" \"$RUNNER_TEMP/velnor/cargo/.crates2.json\"; do\n[ ! -L \"$f\" ] || exit 1;\nrm -f \"$f\";\ndone" |
There was a problem hiding this comment.
Preserve the trusted seed on cache misses
When the exact GitHub cache key is absent, this cleanup deletes the Mise and Rustup directories that velnor-tools-prelude-u26 populated from the trusted /opt/velnor/seed immediately before the restore step (in the actionlint, plan, and tofu-workspace jobs). Consequently, the host seed never accelerates a cold cache, while on a cache hit it is redundant; reorder the seed restoration or distinguish seed-admitted files from rejected cache files in the upstream generator and regenerate.
AGENTS.md reference: .github/AGENTS.md:L15-L20
Useful? React with 👍 / 👎.
Regenerate CI with velnor-actions 0.1.6.
Install method: release asset from tailrocks/velnor-new v0.1.6
(
velnor-actions-0.1.6-aarch64-apple-darwin, sha256 3774bb8a96eae0e029d37a1f0710b12d9478bc56b9ffed3a5e7c0eefed34fdfb),binary at ~/.local/bin/velnor-actions-0.1.6. Flow: copied /tmp/manifest-0.1.6.json
over .velnor/release-manifest.json first (0.1.6 requires the 3-target manifest),
then ran
velnor-actions-0.1.6 generatein the root.Diff review:
Gates (local): tofu fmt -check -recursive, init -lockfile=readonly, validate all pass.