Skip to content

build(devkit): adopt devkit 1.4.0 - #108

Merged
c-vigo merged 5 commits into
devfrom
feature/107-adopt-devkit-1-4-0
Jul 20, 2026
Merged

c-vigo merged 5 commits into
devfrom
feature/107-adopt-devkit-1-4-0

Conversation

@c-vigo

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

Copy link
Copy Markdown
Contributor

Summary

Re-scaffold this repo from vigOS devkit 1.3.1 → 1.4.0 (direnv mode) via the
installer (--force --no-prompts --mode direnv; values resolved from the
existing .vig-os manifest, mode/identity preserved).

This PR pins 1.4.0-rc2 to validate it ahead of the final 1.4.0 release;
the pins will be bumped to the final 1.4.0 revision before merge. Pins move in
lockstep:

Pin Value
.vig-os DEVKIT_VERSION 1.4.0-rc2
flake.nix vigos.url github:vig-os/devkit?ref=1.4.0-rc2
flake.lock vigos rev 6fe5f7704cc4d9d7894ff003ecdbd77746bf6ec7 (= tag 1.4.0-rc2^{})

Preserved from .vig-os: DEVKIT_MODE=direnv, DEVKIT_TAG_PREFIX=v,
DEVKIT_FLOATING_TAGS=major,minor.

Verified change signatures

vig-os/devkit#1182 — zizmor workflow audit + baseline (Security)

  • persist-credentials: false on the read-only checkouts (ci.yml
    resolve-toolchain/lint, codeql.yml, renovate-changelog-build.yml,
    sync-issues.yml).
  • sync-main-to-dev.yml cleanup step: release-app token moved into env:
    (RELEASE_GH_TOKEN) — template-injection fix.
  • New devkit-owned zizmor.yml baseline (scaffolded), so this repo carries no
    baseline of its own.

vig-os/devkit#1173 — self-hosted CI runner routing

+ runner-json:  # resolve-toolchain output, JSON array from DEVKIT_CI_RUNNER
- runs-on: ubuntu-24.04
+ runs-on: ${{ fromJSON(needs.resolve-toolchain.outputs.runner-json) }}

New empty .vig-os key DEVKIT_CI_RUNNER= (absent ⇒ hosted ubuntu-24.04).

vig-os/devkit#1180 — forward flake shellHook env in direnv CI
(setup-devkit-toolchain/action.yml).

vig-os/devkit#1181 — with-native-libs base justfile recipe for uvx
tools with native wheels.

vig-os/devkit#1170 — pymarkdown flake system hook (flows via the
flake-generated hook set, direnv mode).

Consumer customizations preserved

Verification

  • just precommit (flake-generated hook set, hooksExcludes = [ "^dist/" ])
    runs fully green locally.
  • Note: the installer re-writes a hand-managed .pre-commit-config.yaml on
    re-scaffold even for flake-hooks consumers; it is gitignored (never committed)
    and removed post-scaffold so the flake symlink takes over — same manual step
    as the 1.3.1 adoption. Not a 1.4.0 regression (identical in 1.3.1).

Refs: #107

Re-scaffold from vigOS devkit 1.3.1 to 1.4.0 (direnv mode) via the installer
(--force --no-prompts --mode direnv; values resolved from the existing .vig-os
manifest, mode/identity preserved). Validates 1.4.0-rc2 ahead of the final
1.4.0 release; pins will be bumped to final before merge.

Refs: #107
c-vigo added 4 commits July 17, 2026 17:48
Re-scaffold against 1.4.0-rc3, which delivers the vig-os/devkit#1189 fix:
the direnv CI preamble now dumps the dev-shell environment inside the shell
command (immune to shellHook stdout) and skips malformed env record names,
so the #1180 env forward no longer corrupts GITHUB_ENV. Only deltas vs the
rc2 scaffold: version pins (.vig-os, flake.nix, flake.lock) and the fixed
setup-devkit-toolchain action.

Refs: #107
Re-scaffold against 1.4.0-rc5. Deltas vs the rc3 scaffold:

- Version pins advanced rc3 -> 1.4.0-rc5 (.vig-os DEVKIT_VERSION, flake.nix
  vigos ref, flake.lock vigos rev/ref).
- .vig-os gains the DEVKIT_WORKFLOW= key (empty = gitflow default) and its
  comment block from the #1205 workflow-model epic; this is a gitflow consumer,
  so no value is written back.
- setup-devkit-toolchain action gates install-nix-action on a detect-nix probe
  and configures preinstalled host Nix via NIX_CONFIG instead (vig-os/devkit
  #1192), folding `nix --version` stderr into the log capture (#1198).
- docs/DOWNSTREAM_RELEASE.md picks up the managed "Workflow models" section
  that ships with the same #1205 epic.

Refs: #107
Re-scaffold against 1.4.0-rc6. Deltas vs the rc5 scaffold:

- Version pins advanced rc5 -> 1.4.0-rc6 (.vig-os DEVKIT_VERSION, flake.nix
  vigos ref, flake.lock vigos rev/ref).
- setup-devkit-toolchain detect-nix probe scrubs the ambient NIX_CONFIG
  (`env -u NIX_CONFIG nix --version`) so a malformed self-hosted-runner
  NIX_CONFIG cannot defeat the version diagnostic (vig-os/devkit #1216).
- flake.lock relock moved vigos/nixpkgs-unstable to the #1214 nixpkgs-unstable
  bump (transitive via the vigos input); no other lock nodes changed.

Refs: #107
Restore the floating vigos flake input now that 1.4.0 is released;
the explicit rc pin was rc-validation-only.

Refs: #107
@c-vigo
c-vigo marked this pull request as ready for review July 20, 2026 15:32
@c-vigo
c-vigo merged commit c3dd2ab into dev Jul 20, 2026
14 checks passed
@c-vigo
c-vigo deleted the feature/107-adopt-devkit-1-4-0 branch July 20, 2026 16:29
@c-vigo c-vigo mentioned this pull request Jul 20, 2026
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