Skip to content

fix: resolve the 1.1.0-rc1 validation follow-ups - #1018

Merged
c-vigo merged 9 commits into
release/1.1.0from
bugfix/1015-rc1-validation-followups
Jul 13, 2026
Merged

c-vigo merged 9 commits into
release/1.1.0from
bugfix/1015-rc1-validation-followups

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Follow-ups found by the 1.1.0-rc1 validation run on #1014. All three were reported as minor/non-blocking; landing them on the release branch means 1.1.0 ships with them fixed, at the cost of re-cutting a candidate (rc2) and re-validating.

Targets release/1.1.0 (not dev) — these are release-branch fixes. They reach dev via the normal main→dev sync after promotion.

Fixes

#1015 — install.sh next-steps message was not mode-filtered

A direnv deploy printed "Open in VS Code — it will detect .devcontainer/", pointing at a directory the direnv scaffold never creates (and that --prune-devcontainer may have just deleted). The two-branch if only special-cased bare, so every non-bare mode fell through to the container message.

Now a case over all validated modes: direnv → direnv allow (with nix develop as the hook-free fallback), both → both entrypoints, bare/devcontainer unchanged (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 drive install.sh end-to-end with a stubbed docker.

#1016 — scaffolded workflow_call workflows did not declare inherited secrets

release-core.yml and release-publish.yml read GHCR_PULL_TOKEN, RELEASE_APP_* and COMMIT_APP_* while declaring only token:.

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 -ignore is 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_TOKEN false — it falls back to github.token; the App credentials true — they feed create-github-app-token with no fallback).

Out of scope and untouched: promote-release.yml, release.yml, sync-issues.yml, sync-main-to-dev.yml are workflow_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's programs.neovim.extraLuaConfig → initLua.

Both are pure aliases, verified rather than assumed: the devShells.default and homeConfigurations.*.activationPackage derivation paths are byte-identical before and after. No nixpkgs bump, no flake.lock change.

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

  • Full hook suite (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 develop enters warning-free.
  • The 9 tests/bats/githooks.bats failures on a host checkout are pre-existing — they reproduce identically on untouched 4ec4e4a and are host-vs-container environment guards.

Refs: #1015, #1016, #1017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant