Repository navigation
fix: resolve the 1.1.0-rc1 validation follow-ups - #1018
Merged
Merged
Conversation
…-rc1-validation-followups
…-validation-followups
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.
Follow-ups found by the
1.1.0-rc1validation run on #1014. All three were reported as minor/non-blocking; landing them on the release branch means1.1.0ships with them fixed, at the cost of re-cutting a candidate (rc2) and re-validating.Targets
release/1.1.0(notdev) — these are release-branch fixes. They reachdevvia the normal main→dev sync after promotion.Fixes
#1015 —
install.shnext-steps message was not mode-filteredA
direnvdeploy printed "Open in VS Code — it will detect.devcontainer/", pointing at a directory the direnv scaffold never creates (and that--prune-devcontainermay have just deleted). The two-branchifonly special-casedbare, so every non-bare mode fell through to the container message.Now a
caseover all validated modes:direnv→direnv allow(withnix developas the hook-free fallback),both→ both entrypoints,bare/devcontainerunchanged (byte-identical).Note the existing tests only exercised
--dry-run, which exits before the next-steps block — so this message had no behavioural coverage at all. The new bats tests driveinstall.shend-to-end with a stubbeddocker.#1016 — scaffolded
workflow_callworkflows did not declare inherited secretsrelease-core.ymlandrelease-publish.ymlreadGHCR_PULL_TOKEN,RELEASE_APP_*andCOMMIT_APP_*while declaring onlytoken:.This was being actively suppressed. The bats actionlint tests passed
-ignore 'property "(ghcr_pull_token|...)" is not defined', with a comment calling them false positives that actionlint "cannot see statically". That reasoning is wrong: a reusable workflow has a closed secrets set, so actionlint was correct and the suppression hid a real defect that every scaffolded consumer inherited as a dirty lint run. The-ignoreis removed and replaced with a structural test asserting every referenced secret is declared.Callers use
secrets: inherit, so no call-site change was needed.required:is set from real usage (GHCR_PULL_TOKENfalse — it falls back togithub.token; the App credentials true — they feedcreate-github-app-tokenwith no fallback).Out of scope and untouched:
promote-release.yml,release.yml,sync-issues.yml,sync-main-to-dev.ymlareworkflow_dispatch/push/schedule, where secrets are ambient and need no declaration.#1017 — dev-shell emitted two upstream rename warnings
nixfmt-rfc-style→nixfmt, and home-manager'sprograms.neovim.extraLuaConfig→initLua.Both are pure aliases, verified rather than assumed: the
devShells.defaultandhomeConfigurations.*.activationPackagederivation paths are byte-identical before and after. No nixpkgs bump, noflake.lockchange.Correction to the original report: it described the second warning as a
'system'rename. Cold evaluation of every flake output found no such warning — it was the neovim option rename, paraphrased from memory.Verification
just precommit) green.bats tests/bats/install.bats— 94 passed.bats tests/bats/init-workspace.bats— 159 passed, 0 failures.nix flake check— all checks passed;nix developenters warning-free.tests/bats/githooks.batsfailures on a host checkout are pre-existing — they reproduce identically on untouched4ec4e4aand are host-vs-container environment guards.Refs: #1015, #1016, #1017