Skip to content

chore: release 1.1.0 - #1014

Merged
vig-os-release-app[bot] merged 78 commits into
mainfrom
release/1.1.0
Jul 13, 2026
Merged

vig-os-release-app[bot] merged 78 commits into
mainfrom
release/1.1.0

Conversation

@vig-os-release-app

@vig-os-release-app vig-os-release-app Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Release 1.1.0 - 2026-07-13

This PR prepares release 1.1.0 for merge to main.

1.1.0 - 2026-07-13

Added

  • actionlint GitHub Actions workflow linter adopted (#995)
    • actionlint joins the vigOS toolchain (dev-shell, image, and vigos.packages home module), so it is available in every consumer environment.
    • The devkit lints its own .github/workflows/ through a pre-commit hook, and its bats suite runs actionlint over the per-mode scaffold output (devcontainer, direnv, bare, both) plus the smoke-test template — a semantically broken rendered workflow now fails in the devkit instead of silently in a consumer repo.
  • Opt-in --prune-devcontainer for container → direnv/bare migrations (#990)
    • Switching a container repo to direnv/bare keeps a populated pre-existing
      .devcontainer/ by default (non-destructive, #738).
      On a real migration that strands the stale container next to the new flake,
      so install.sh / init-workspace.sh now accept --prune-devcontainer to
      remove it. The flag is rejected in devcontainer/both modes; --preview
      lists the .devcontainer/ under DELETED when it is set; and interactive
      runs prompt once (Prune existing .devcontainer/? (y/N), default No) when a
      populated pre-existing .devcontainer/ is detected in a container-less mode.
      docs/MIGRATION.md documents the preview-then-apply cleanup runbook.
  • Mode-aware toolchain composite actions (#994)
    • New scaffolded resolve-toolchain composite action (evolves
      resolve-image): reads .vig-os and emits mode, image, and image-tag.
      Container-ish modes (devcontainer/both) get the ghcr.io/vig-os/devcontainer
      image and keep the docker manifest inspect accessibility probe; the host
      modes (direnv/bare) get an explicit empty image so the downstream job
      runs on the host runner (Option A, docs/rfcs/ADR-conditional-container-toolchain.md).
    • New scaffolded setup-devkit-toolchain composite action: the single
      step-level toolchain preamble for every mode. Branches on DEVKIT_MODE —
      in-container jobs export the image-relative env (UV_PROJECT_ENVIRONMENT,
      PREK_HOME) + safe.directory fix; direnv provisions the repo flake
      dev-shell via Nix + Cachix; bare installs the pinned toolchain (just,
      prek, vig-utils) with uv. Both host modes install a self-contained
      retry shim. Preserves the per-mode prek version-skew guards ([FEATURE] Nix-direct (direnv-mode) CI lane + version-skew hardening for shipped workflows #854).
  • vig-utils console scripts available in the dev-shell (#993)
    • prepare-changelog, renovate-changelog-pr, and the other
      packages/vig-utils console scripts are now on the toolchain SSoT
      (nix/devtools.nix), so every nix develop shell — the devkit's own and any
      consumer mkProjectShell (direnv mode) — exposes them on PATH, matching the
      image. This unblocks mode-aware release workflows for the container-less
      modes.
    • Bare mode (no flake) gets a documented, version-pinned host-native install
      path: uv tool install "vig-utils @ git+https://github.com/vig-os/devkit@<DEVKIT_VERSION>#subdirectory=packages/vig-utils"
      (see docs/MIGRATION.md).

Changed

  • Single mode-aware ci.yml replaces the per-mode overlays (#991)
    • The container-based ci.yml and the separate direnv/bare overlay
      variants collapse into one managed workflow. A leading resolve-toolchain
      job resolves DEVKIT_MODE + image from .vig-os; every job runs
      container: image: ${{ needs.resolve-toolchain.outputs.image }} (empty ⇒
      host runner, per the Option A ADR) and calls the setup-devkit-toolchain
      composite to provision its toolchain, so just sync|precommit|test runs
      identically in every mode. The assets/workspace-direnv/ and
      assets/workspace-bare/ overlay trees and their init-workspace.sh
      deployment blocks are removed.
  • Mode-aware release & automation workflows (#991)
    • The scaffolded release/automation set (release.yml + reusable
      release-core.yml / release-publish.yml, prepare-release.yml,
      promote-release.yml, sync-main-to-dev.yml, renovate-changelog-build.yml,
      sync-issues.yml) is converted off the container-only resolve-image job
      onto the mode-aware pattern: a leading resolve-toolchain job (used inline in
      prepare-release.yml's host validate job) selects the image — empty in the
      direnv/bare modes so jobs run on the runner (ADR Option A) — and every job
      runs the setup-devkit-toolchain composite as its toolchain preamble. A
      direnv/bare consumer no longer needs to delete or disable these workflows.
    • The orchestrator resolves the toolchain once and threads it into the
      reusable workflows via new toolchain_mode / toolchain_image /
      devkit_version workflow_call inputs; release-core.yml /
      release-publish.yml no longer run their own resolve jobs. Release
      choreography (step logic, ordering, inputs/outputs, rollback semantics) is
      unchanged.
  • Renovate: update cachix/install-nix-action from v31.10.6 to v31.10.7 (#984)
  • actionlint shellcheck integration re-enabled; workflow run: blocks hardened (#1003)
    • The bundled shellcheck pass that Adopt actionlint for authored and per-mode rendered workflow templates #995 deferred is now active in both the
      devkit's own actionlint pre-commit hook and the bats fixtures that lint the
      per-mode scaffold output. The scaffolded template workflows shipped to
      consumers had their run: blocks hardened to pass it — quoting redirect
      targets and shell variables, grouping consecutive >> "$GITHUB_OUTPUT"
      writes, and quoting pattern expansions — so a consumer's rendered workflows
      now lint clean under actionlint's shellcheck. A handful of intentional
      patterns (literal Markdown backticks, whitelist substring matches, deliberate
      word-splitting) carry justified # shellcheck disable directives.

Fixed

  • install.sh next-steps message is mode-aware (#1015)

    • 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 removed). The message now branches over
      every validated mode: direnv points at direnv allow (with nix develop as
      the hook-free fallback), both offers each entrypoint, and bare/devcontainer
      are unchanged.
  • Scaffolded workflow_call workflows declare the secrets they inherit (#1016)

    • release-core.yml and release-publish.yml read GHCR_PULL_TOKEN,
      RELEASE_APP_* and COMMIT_APP_* without declaring them in their
      workflow_call: secrets: block. A reusable workflow has a closed secrets set,
      so actionlint correctly reported each one as undefined and every scaffolded
      consumer inherited a dirty lint run. The secrets are now declared (required:
      set from real usage), and the bats suite no longer suppresses the diagnostic —
      it asserts that every referenced secret is declared.
  • Dev-shell entry is warning-free (#1017)

    • nix develop emitted two upstream rename warnings (nixfmt-rfc-style →
      nixfmt, and home-manager's programs.neovim.extraLuaConfig → initLua).
      Both are pure aliases: the dev-shell and home-manager activation derivations
      are byte-identical before and after.
  • A scaffolded consumer's nix develop is warning-free too (#1021)

    • The shared consumer overlay (vigos.overlays.default) still read the
      renamed-away final.system, so every consumer that applied it and forced a
      fast-mover package saw the 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system' warning that #1017
      had already cleared from the devkit's own dev-shell. The overlay now reads
      final.stdenv.hostPlatform.system; the resolved derivations are unchanged.
  • Scaffolded flake stub references the renamed github:vig-os/devkit input (#1009)

    • The preserved assets/workspace/flake.nix stub (active input and pin-example
      comment) still pointed at github:vig-os/devcontainer, which only resolved
      via GitHub's post-rename redirect; new consumers now scaffold the canonical
      github:vig-os/devkit. docs/MIGRATION.md documents the by-hand update for
      existing direnv/both consumers, whose stub is never overwritten on upgrade.
  • direnv/bare scaffolds no longer ship container-only artifacts (#989)

    • docs/container-ci-quirks.md (in-image CI notes) is now mode-filtered like
      .devcontainer/: excluded from container-less scaffolds, pruned from a
      previously scaffolded tree on upgrade, and reflected truthfully in the
      --preview report. The resolve-image action and container: workflow
      coupling were already retired by the mode-aware toolchain work
      (#991).
    • The devkit's own .vig-os now declares its delivery mode (direnv).
  • Pin sigstore/cosign-installer to v4.1.2 so Renovate can resolve its digest (#986)

    • The previous pin's # v4 comment named a floating tag that sigstore/cosign-installer never published, so Renovate's digest lookup failed on the dependency dashboard

vig-os-release-app Bot and others added 30 commits July 11, 2026 15:18
Syncs `dev` with `main` (sync-main-to-dev workflow).
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[cachix/install-nix-action](https://redirect.github.com/cachix/install-nix-action)
| action | patch | `v31.10.6` → `v31.10.7` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/529) for more information.

---

### Release Notes

<details>
<summary>cachix/install-nix-action (cachix/install-nix-action)</summary>

###
[`v31.10.7`](https://redirect.github.com/cachix/install-nix-action/releases/tag/v31.10.7)

[Compare
Source](https://redirect.github.com/cachix/install-nix-action/compare/v31.10.6...v31.10.7)

##### What's Changed

- nix: 2.34.7 -> 2.34.8 by
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in
[#&#8203;278](https://redirect.github.com/cachix/install-nix-action/pull/278)

**Full Changelog**:
<cachix/install-nix-action@v31.10.6...v31.10.7>

</details>

---

### Configuration

📅 **Schedule**: (in timezone Etc/UTC)

- Branch creation
  - "before 9am on monday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/vig-os/devkit).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTkuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI1OS4yIiwidGFyZ2V0QnJhbmNoIjoiZGV2IiwibGFiZWxzIjpbXX0=-->
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/529) for more information.

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: (in timezone Etc/UTC)

- Branch creation
  - "before 9am on monday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/vig-os/devkit).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTkuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI1OS4yIiwidGFyZ2V0QnJhbmNoIjoiZGV2IiwibGFiZWxzIjpbXX0=-->
The previous pin's comment named the floating tag v4, which
sigstore/cosign-installer never published, so Renovate could not
resolve the version to a digest and flagged the dependency on the
dashboard. Pin to the real v4.1.2 tag in both release workflows.

Refs: #986
## Description

Renovate reported on the dependency dashboard that it "Could not
determine new digest for update (github-tags package
`sigstore/cosign-installer`)". Both release workflows pinned the action
to a SHA with the comment `# v4`, but `sigstore/cosign-installer` never
published a floating `v4` tag (only exact tags `v4.0.0`–`v4.1.2` and a
legacy `v3`). Renovate resolves the comment as the current version via
the `github-tags` datasource, so the `refs/tags/v4` lookup 404s and
digest updates fail.

Closes #986

## Type of Change

- [x] `ci` -- CI/CD pipeline changes

## Changes Made

- Bump `sigstore/cosign-installer` from `cad07c2e` (`v4.1.1`) to
`6f9f1778` (`v4.1.2`) in `.github/workflows/release.yml` and
`.github/workflows/promote-release.yml`, with a comment naming the real
`v4.1.2` tag so Renovate can resolve future digest updates
- Changelog entry under `## Unreleased` (mirrored to
`assets/workspace/.devcontainer/CHANGELOG.md` by the `sync-manifest`
hook)

## Changelog Entry

### Fixed
- **Pin `sigstore/cosign-installer` to `v4.1.2` so Renovate can resolve
its digest** ([#986](#986))
- The previous pin's `# v4` comment named a floating tag that
`sigstore/cosign-installer` never published, so Renovate's digest lookup
failed on the dependency dashboard

## Testing

- Verified upstream via the GitHub API: `refs/tags/v4` returns 404;
`v4.1.2` resolves to `6f9f17788090df1f26f669e9d70d6ae9567deba6`
- Verified all other digest-pinned actions in the repo use comments that
resolve to real tags
- `just precommit` (full `--all-files` suite) green locally, including
`check-action-pins`
Temporary spike (on: pull_request) validating whether a job-level
container: image driven by a resolve job's output runs on the host when
the image is empty, with/without credentials, across a workflow_call
boundary, plus a conditional container-map expression variant. To be
removed once #992 is decided.

Refs: #992
Add a parity test asserting prepare-changelog and renovate-changelog-pr
are on the dev-shell's own PATH (nix develop --ignore-environment), the
gap that blocks mode-aware release workflows for container-less modes.

Refs: #993
Record the #992 spike verdict: adopt Option A (resolve-toolchain job
outputs image; empty image => host, non-empty => container). Spike on
real ubuntu-24.04 runners proved empty-image runs on host cleanly, the
credentials block is inert when image is empty, and the pattern survives
a workflow_call boundary. Includes per-case evidence and run links.

Refs: #992
The #992 spike is complete; its verdict is recorded in
docs/rfcs/ADR-conditional-container-toolchain.md and the evidence
persists in the run logs (run 29231840324). The temporary spike
workflows must not merge.

Refs: #992
Adopt Option A (conditional job-level container via resolve-toolchain output). ADR: docs/rfcs/ADR-conditional-container-toolchain.md

Refs: #992
Expose packages/vig-utils on the vigos overlay (pkgs.vig-utils) and add it
to the devTools SSoT, so prepare-changelog, renovate-changelog-pr, and the
other console scripts reach every nix develop shell — the devkit's own and
any consumer mkProjectShell (direnv mode) — matching the image. Defined once
on the overlay and reused by pythonEnv/the hook check (no duplicate builder).
lowPrio in devTools yields to pythonEnv's identical scripts in the image
buildEnv, mirroring the wrapped-neovim collision guard.

Refs: #993
Add the version-pinned host-native install command for bare mode
(uv tool install vig-utils @ git+.../devkit@<DEVKIT_VERSION>#subdirectory=...),
consumed later by the setup-devkit-toolchain composite (#994).

Refs: #993
Scaffold each delivery mode (devcontainer, direnv, bare, both) into a temp
workspace via the real init-workspace.sh and run actionlint over the rendered
.github/workflows/ tree, plus the standalone smoke-test workflow. RED until
actionlint lands in the toolchain.

Refs: #995
actionlint joins devTools (dev-shell, image, vigos.packages home module) so
GitHub Actions workflows can be linted from the toolchain SSoT.

Refs: #995
Devkit-only, runner-only: actionlint auto-discovers and lints this repo's own
.github/workflows/ with its bundled shellcheck disabled (-shellcheck=). The
per-mode rendered consumer templates are validated in tests/bats instead, since
linting them in-place resolves reusable-workflow siblings against the wrong
root. Defined once in nix/hooks.nix and rendered into .pre-commit-config.yaml.

Refs: #995
Assert the two new mode-aware composites — resolve-toolchain and
setup-devkit-toolchain — ship in every rendered mode tree, SHA-pin every
action reference, and wire each mode branch (container in-image env, direnv
Nix dev-shell + skew guard, bare uv/vig-utils install, host-mode retry shim,
explicit empty image for host modes).

Refs: #994
c-vigo and others added 2 commits July 13, 2026 12:54
…un blocks (#1013)

## Summary

Re-enables `actionlint`'s bundled shellcheck integration (removes the
`-shellcheck=` opt-out) in the devkit's own pre-commit hook and the bats
fixtures, and hardens every workflow `run:` block — the devkit's own
`.github/workflows/`, the per-mode scaffold templates under
`assets/workspace/`, and the smoke-test template — until the shellcheck
pass is
clean. Follow-up to #995 (which deferred the 41 info/style/warning
findings).

Every commit stays green: commit 1 hardens the run blocks (hook still
opted
out); commit 2 removes the opt-outs with shellcheck now active and the
gate
proving clean.

## Findings and fixes

`actionlint` with shellcheck over the devkit's own workflows surfaced
the same
**41** findings #995 recorded, plus a handful in the rendered/template
trees.
All are `SC2086` quoting-style noise except the intentional patterns
noted
below. No correctness defects. Locations are `run:`-block start lines.

### Devkit-own `.github/workflows/`

| File | Block | SC code(s) | Fix |
|------|-------|-----------|-----|
| ci.yml | @67 | SC2086 x5, SC2129 | grouped consecutive `>>
"$GITHUB_OUTPUT"` writes into one `{ ... } >> "$GITHUB_OUTPUT"` |
| ci.yml | @282 | SC2086 x2 | quoted `"$GITHUB_STEP_SUMMARY"` |
| prepare-release.yml | @67 | SC2086 x2 | quoted `"$GITHUB_OUTPUT"` |
| prepare-release.yml | @303 | SC2016; SC2086 x2 | SC2016 **suppressed**
(literal Markdown backticks); quoted `"$GITHUB_OUTPUT"` |
| promote-release.yml | @65 | SC2076; SC2207 | both **suppressed** (see
reasons) |
| release.yml | @97 | SC2086 x5, SC2129 | grouped `>> "$GITHUB_OUTPUT"`
|
| release.yml | @139 | SC2086 | quoted `"$GITHUB_OUTPUT"` |
| release.yml | @149 | SC2086 x3, SC2129 | grouped `>> "$GITHUB_OUTPUT"`
|
| release.yml | @314 | SC2086 | quoted `"$GITHUB_OUTPUT"` |
| release.yml | @415 | SC2076; SC2207; SC2086 x2 | SC2076/SC2207
**suppressed**; quoted `"$GITHUB_OUTPUT"` |
| release.yml | @629 | SC2016 | **suppressed** (literal Markdown
backticks) |
| release.yml | @674 | SC2086 | quoted `"$GITHUB_OUTPUT"` |
| release.yml | @899 | SC2015 | **suppressed** (intentional `&&`/`||`
guard) |
| release.yml | @1113 | SC2034; SC2086 | removed dead `ARCH_ARRAY` parse
+ its now-unused `ARCHS:` env; quoted `"$i"`/`"$RETRIES"` |
| release.yml | @1187 | SC2086 | quoted `"$GITHUB_OUTPUT"` |
| release.yml | @1573 | SC2016 | **suppressed** (literal Markdown
backticks) |
| renovate-changelog-commit.yml | @47 | SC2129 | grouped `>>
"$GITHUB_OUTPUT"` (synced -> template) |
| security-scan.yml | @112 | SC2015 | **suppressed** (intentional
`&&`/`||` guard) |
| sync-issues.yml | @110 | SC2086 | quoted `"$CACHE_ID"` (minimal,
coordinating with #996) |

### Scaffold templates (`assets/workspace/.github/workflows/`)

| File | Block | SC code(s) | Fix |
|------|-------|-----------|-----|
| prepare-release.yml | @299 | SC2016 | **suppressed** (literal Markdown
backticks) |
| release-core.yml | @143 | SC2129 | grouped `>> "$GITHUB_OUTPUT"` |
| release-core.yml | @199 | SC2295 x2 | quoted the pattern:
`${tag#"${VERSION}"-rc}` |
| sync-issues.yml | @122 | SC2086 | quoted `"$CACHE_ID"` |

### Smoke-test template

| File | Block | SC code(s) | Fix |
|------|-------|-----------|-----|
| assets/smoke-test/.github/workflows/repository-dispatch.yml | @72 |
SC2129 | grouped 10 `>> "${GITHUB_OUTPUT}"` writes |

## Suppressions (each carries an inline justification comment)

| SC | Where | Reason |
|----|-------|--------|
| SC2016 | prepare-release.yml (root + template), release.yml x2 | The
`` `CHANGELOG.md` `` backticks in the truncation-note `printf` are
literal Markdown code spans, not command substitution. |
| SC2076 | promote-release.yml, release.yml | `[[ " $VALID_ARCHS " =~ "
$arch " ]]` is a deliberate literal substring match against the
space-padded whitelist, not a regex. |
| SC2207 | promote-release.yml, release.yml | `UNIQUE_ARCHS=($(... \|
sort -u))` deliberately word-splits the space-free arch tokens;
`mapfile` is overkill. |
| SC2015 | release.yml, security-scan.yml | The `... && ... \|\| {
error; exit; }` guard is meant to run the error branch whenever the
combined scan-ok check fails, not an if-then-else. |

The inherited-secrets `-ignore` regex in the bats fixtures is retained —
that is
a separate, legitimate suppression (`secrets: inherit` values actionlint
cannot
resolve statically).

## Evidence

- `actionlint` (shellcheck active) over the devkit's own workflows, all
four
rendered mode trees (devcontainer/direnv/bare/both), and the smoke-test
  template: **0 findings**.
- `nix develop -c prek run --all-files`: green (shellcheck active).
- `nix develop -c bats tests/bats/init-workspace.bats`: full file green
(157 tests).
- `uv run pytest tests/test_flake_hooks.py tests/test_transforms.py -q`:
green
  (hook-config drift gate + manifest transforms).

Refs: #1003
Move Unreleased content to [1.1.0] - TBD
and create fresh empty Unreleased section for continued development.
@c-vigo

c-vigo commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

RC 1.1.0-rc1 — local validation against the published image ✅

Ran the #988 RC validation runbook against the real published image
(ghcr.io/vig-os/devcontainer:1.1.0-rc1) and the actual install.sh delivery
path — the leg that could not be exercised before release (the pre-1.1.0 image
predated the epic). Green across image sanity, delivery, and per-mode toolchain
execution.

Phase 0 — image sanity

  • Baked /root/assets/VERSION = 1.1.0-rc1 ✓
  • workspace/.github/actions/ ships resolve-toolchain + setup-devkit-toolchain; no resolve-image; no workspace-direnv/workspace-bare overlay dirs; single ci.yml ✓
  • Release toolchain on image PATH: prepare-changelog, renovate-changelog-pr, retry, just, prek, uv, gh, jq ✓

Phase 1 — real delivery path (install.sh --version 1.1.0-rc1, container→direnv migration)

Seeded a devcontainer-shaped repo, ran install.sh --mode direnv --prune-devcontainer --force through the RC image:

Phase 2 — per-mode toolchain execution

  • direnv: nix develop on a consumer flake pinned to github:vig-os/devkit?ref=1.1.0-rc1 builds and delivers the full contract (retry, prepare-changelog, renovate-changelog-pr, just, prek, uv, gh, jq, ruff) — Expose vig-utils console scripts host-side (dev-shell + pinned uv-tool path) #993 dev-shell delivery through a real consumer flake ✓
  • bare: uv tool install "vig-utils @ git+https://github.com/vig-os/[email protected]#subdirectory=packages/vig-utils" resolves the RC tag (→ 4ec4e4a) and installs all 16 console scripts; prepare-changelog/renovate-changelog-pr run ✓
  • container: image-asset lane above + the release run's Smoke-Test Dispatch cover the container path.

actionlint over the scaffolded tree

0 structural/syntax errors. The only findings are inherited-secret false-positives (property "ghcr_pull_token"/"release_app_*"/"commit_app_*" is not defined) in the reusable workflow_call release workflows — actionlint can't see secrets: inherit. Non-blocking and consistent with the devkit gating scaffolds via bats, not actionlint.

Minor, non-blocking findings (candidates for follow-ups, not RC blockers)

  1. install.sh "Next steps" message not mode-filtered — a direnv deploy still prints "Open in VS Code — it will detect .devcontainer/", which is misleading when no .devcontainer/ was scaffolded.
  2. Scaffolded reusable release workflows trip actionlint on inherited secrets — release-publish.yml/promote-release.yml/release-core.yml reference GHCR_PULL_TOKEN/RELEASE_APP_*/COMMIT_APP_* without declaring them in their workflow_call: secrets: block; the devkit's own copies lint clean. Declaring them would give consumers a clean actionlint too.
  3. Two benign nixpkgs eval warnings in the dev-shell ('system' rename; nixfmt-rfc-style).

Verdict: 1.1.0-rc1 is functionally sound end-to-end via the published image and install.sh; all epic behaviors validate in direnv and bare. No blockers found. Clear to proceed to the commit-action pilot after promotion.

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
@c-vigo

c-vigo commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

1.1.0-rc2 — build FAILED (transient GitHub Actions outage, not a devkit defect) ⚠️

Release run 29251971313
failed, so no rc2 tag/image/release was published and the full image
validation could not run. Root cause is a transient GitHub Actions platform
incident
, not the release pipeline.

What failed, and why

Job Result
Validate / Finalize / Vulnix CVE Gate ✅ success
Build and Test (amd64) / (arm64) ✅ success
Publish Release ❌ failed in Set up job → Getting action download info
Rollback on Failure ❌ failed the same way
Smoke-Test Dispatch skipped

Both failing jobs died before any step ran, while GitHub resolved their actions:

  • Publish: Failed to resolve action download info. Error: Service Unavailable (×2), then Internal Server Error occurred while resolving "actions/attest@a1948c3…".
  • Rollback: Internal Server Error occurred while resolving "actions/checkout@…", "actions/create-github-app-token@…", "actions/github-script@…".

These are GitHub's action-download service returning 503/500 (~13:12–13:15 UTC). The devkit's own code never executed in either job; the build/test/vulnix jobs that had already resolved their actions all passed.

Current state — clean, safe to re-run

  • No 1.1.0-rc2 git tag, no GHCR image, no GitHub Release.
  • release/1.1.0 CHANGELOG still ## [1.1.0] - TBD; no dangling finalize state (the failed Rollback left nothing because Publish never ran a step).
  • Recommendation: simply re-dispatch the Release workflow. No manual cleanup required.

rc2's payload (the rc1 follow-up fixes) is present and source-verified

rc2 was cut to carry the three rc1 findings' fixes (#1015/#1016/#1017 → #1018). Even without a published image, I verified the fixes on release/1.1.0:

  1. install.sh next-steps message now mode-aware (fix(workspace): install.sh "Next steps" message is not mode-filtered for direnv #1015) — a case "$MODE" prints direnv allow for direnv, just help for bare; no more misleading "open in VS Code / .devcontainer" for container-less modes. ✓ (source-verified)
  2. Scaffolded workflow_call release workflows now declare their inherited secrets (fix(ci): scaffolded workflow_call workflows do not declare inherited secrets #1016) — actionlint over the fixed scaffold returns 0 findings (rc1 had 13 inherited-secret false-positives). ✓ (re-tested)
  3. Benign nixpkgs eval warnings resolved (chore(nix): resolve benign nixpkgs eval warnings in the dev-shell #1017) — committed; will re-verify live against the rebuilt image.

Next

Re-run the Release workflow; once rc2 (or rc3) publishes, I'll run the full from-scratch image validation (image sanity, install.sh direnv migration + prune, direnv nix develop @rc, bare uv tool install @rc, actionlint) and confirm finding #3 live.

@c-vigo

c-vigo commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

1.1.0-rc2 — full from-scratch validation ✅ (2 of 3 rc1 findings fully fixed, 1 partial)

Re-ran the complete #988 runbook against the published image
ghcr.io/vig-os/devcontainer:1.1.0-rc2 (tag → commit fd69a7a8, #1018).
Green end-to-end; the rc1 follow-up fixes re-checked live.

Runbook

Lane Result
Image sanity VERSION=1.1.0-rc2, composites present, no resolve-image, no overlay dirs, single ci.yml, all release tools on PATH ✓
install.sh --version 1.1.0-rc2 direnv migration + --prune-devcontainer .devcontainer pruned, flake/.envrc/composites, container-ci-quirks.md filtered, .vig-os pins rc2+direnv, no container leak, flake pins github:vig-os/devkit ✓
direnv exec (nix develop @1.1.0-rc2) full toolchain (retry, prepare-changelog, renovate-changelog-pr, just, prek, uv, gh, jq, ruff) ✓
bare exec (uv tool install …@1.1.0-rc2) tag resolves, all 16 console scripts install + run ✓
actionlint (baked-rendered) exit 0, 0 findings ✓

rc1 follow-up fixes — live re-check

  1. fix(workspace): install.sh "Next steps" message is not mode-filtered for direnv #1015 install.sh next-steps mode-aware — ✅ fixed live. direnv deploy now prints "Run 'direnv allow' to load the flake dev-shell (or 'nix develop' without direnv)"; no VS Code/.devcontainer line.
  2. fix(ci): scaffolded workflow_call workflows do not declare inherited secrets #1016 inherited secrets declared in scaffolded workflow_call workflows — ✅ fixed live. actionlint over the scaffolded tree: 0 findings (rc1 had 13 inherited-secret false-positives).
  3. chore(nix): resolve benign nixpkgs eval warnings in the dev-shell #1017 nixpkgs eval warnings — ⚠️ partial. The nixfmt-rfc-style warning is gone, but a scaffolded consumer's nix develop still emits evaluation warning: 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system'. The devkit's own rc2 flake evaluates clean, so the residual is on the consumer-scaffold path (the template's system/inherit system handling, or mkProjectShell as invoked by consumers) — cosmetic, non-blocking. Suggest a small follow-up to clear it from consumer flakes too.

Verdict

1.1.0-rc2 is sound end-to-end via the published image and install.sh; direnv and bare both deliver. Two of three rc1 findings fully resolved; #1017 residual is cosmetic and non-blocking. No blockers to promotion. (The prior rc2 run's failure was a transient GitHub Actions outage, since resolved — this validation is against the successfully-published image.)

c-vigo and others added 2 commits July 13, 2026 15:57
The shared consumer overlay (overlays.default) read the renamed-away
final.system, so a scaffolded consumer's nix develop still emitted the
'system' has been renamed eval warning that #1017 cleared from the
devkit's own dev-shell. Pure alias: the resolved fast-mover derivations
are byte-identical.

Refs: #1021
## Summary

Follow-up to #1017. The `'system' has been renamed to/replaced by
'stdenv.hostPlatform.system'` nixpkgs eval warning was cleared from the
devkit's **own** dev-shell, but survived for a **scaffolded consumer's**
`nix develop`.

The residual was the shared consumer overlay (`vigos.overlays.default`),
the one code path #1017 never exercised: it reads `final.system` inside
the fixpoint, so any consumer that applies the overlay and forces a
fast-mover package (`uv`, `gh`, `claude-code`) evaluates the
renamed-away attribute and gets the warning. The devkit itself takes the
hoisted `importUnstable system` path with a concrete system, which is
why it looked fully fixed.

`flake.nix:119` now reads `final.stdenv.hostPlatform.system` — the idiom
already used at `flake.nix:314`.

## Verification

Evaluated the consumer path directly (plain nixpkgs +
`overlays.default`, forcing `claude-code`, exactly as `mkProjectShell`
does), with and without the fix:

| | eval output |
|---|---|
| before | `evaluation warning: 'system' has been renamed to/replaced by
'stdenv.hostPlatform.system'` |
| after | *(no warning)* |

Both resolve to the **same** derivation,
`/nix/store/h09svv06fs1qx8argj6mz7lz7mzwsqn8-claude-code-2.1.206.drv` —
a pure alias, no rebuild, no behaviour change.

The devkit's own dev-shell stays clean: `nix eval
.#devShells.x86_64-linux.default.drvPath` emits no warning.

Full local hook suite (`just precommit`) green.

No test commit: a Nix attribute rename has no unit-testable surface, so
the before/after eval above is the evidence — same approach as #1017.

## Acceptance criteria

- [x] A scaffolded consumer's `nix develop` emits no `'system' has been
renamed` warning.
- [x] Devkit's own dev-shell remains clean.

Refs: #1021
@c-vigo

c-vigo commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

1.1.0-rc3 — #1021 fix verified ✅

Retested the one open residual from the rc2 validation against the published
ghcr.io/vig-os/devcontainer:1.1.0-rc3 (tag → 26fdb494; fix c5ab2097, #1022).

  • Source: flake.nix:119 now reads importUnstable final.stdenv.hostPlatform.system (was final.system).
  • Live repro: scaffolded a direnv consumer from the rc3 image, pinned the flake to 1.1.0-rc3, nix develop → zero eval warnings (the 'system' has been renamed and nixfmt-rfc-style warnings are both gone).
  • Toolchain intact: retry, prepare-changelog, renovate-changelog-pr, just, prek, uv, gh, jq, ruff all resolve.

All three rc1 findings are now fully resolved (#1015, #1016, #1017 + its consumer-overlay residual #1021). No open blockers — clear to promote 1.1.0.

@c-vigo c-vigo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving for the 1.1.0 final release.

CI is green on head c5ab209, which carries the last of the RC validation follow-ups (#1015, #1016, #1017, #1021). 1.1.0-rc3 published successfully from this commit.

@c-vigo
c-vigo marked this pull request as ready for review July 13, 2026 15:14
Set release date to 2026-07-13 and regenerate release docs.

Refs: #1014
@vig-os-release-app
vig-os-release-app Bot merged commit bb01bcb into main Jul 13, 2026
17 checks passed
@vig-os-release-app
vig-os-release-app Bot deleted the release/1.1.0 branch July 13, 2026 16:02
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