Repository navigation
ci(actions): update github-actions (minor and patch) - #1368
Merged
Merged
Conversation
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
14 of 15 tasks
c-vigo
added a commit
that referenced
this pull request
Aug 7, 2026
…back (#1373) ## Description Switches the last two numeric-App-ID holdouts to Client-ID credentials, per the 2026-08-07 credential audit (#1365). Nothing in the auth path is numerically load-bearing — GitHub accepts either the App ID or the Client ID as the App JWT issuer — so the numeric `*_APP_ID` org secrets can be retired (#1366) once every consumer is on this release. ## Type of Change - [x] `feat` -- New feature - [x] `test` -- Adding or updating tests - [x] `docs` -- Documentation only ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility Deliberately **not** breaking: the rename rides a minor via a one-release fallback (see below), per the triage decision on #1365. ## Changes Made - **`sync-issues.yml` (both copies — devkit's own and the stamped scaffold):** `app-id: COMMIT_APP_ID` → `client-id: COMMIT_APP_CLIENT_ID`, using the `client-id` input added in `vig-os/sync-issues-action` v0.5.0 (vig-os/sync-issues-action#168; the pin was already bumped to v0.5.0 by #1368). Devkit's own copy is included beyond the issue's stated scope because it was the last live `COMMIT_APP_ID` reference in vig-os — without it the secret cannot be retired and the ADR row would be wrong. Note: exo-pet never had a `COMMIT_APP_ID` org secret, so the stamped `app-id` line was passing an **empty value** there — this also closes that live gap. - **`devkit-upgrade.yml` scaffold:** preflight gates on `DEVKIT_UPGRADE_APP_CLIENT_ID` **or** the legacy `DEVKIT_UPGRADE_APP_ID` (fail-fast only when both are absent), emits a deprecation `::warning::` on the legacy path pointing at #1366, and mints via `client-id: ${{ secrets.DEVKIT_UPGRADE_APP_CLIENT_ID || secrets.DEVKIT_UPGRADE_APP_ID }}`. A consumer that upgrades before its org grew the new secret keeps working — the bricking hazard called out in #1365's sequencing section is gone. The pinned `create-github-app-token@bcd2ba49…` (v3) already supports `client-id` (it is used with `client-id` elsewhere in the same scaffold) — no bump needed. - **Tests:** new `tests/test_workflow_client_id_credentials.py` pins the credential contract for both sync-issues copies (client-id input, no app-id, SHA pin ≥ v0.5.0, no numeric secret reference); `tests/test_workflow_devkit_upgrade.py` asserts the new secret name, the `client-id` mint with the exact fallback expression, and the deprecation warning. TDD: failing tests committed first (78508ca), implementation second (49be474). - **Docs:** `RELEASE_CYCLE.md` COMMIT_APP row, `DOWNSTREAM_RELEASE.md` required-secrets list (repo + stamped copy), and the ADR secrets table no longer state a numeric App ID is required. The "rename the DEVKIT_UPGRADE entry" step from the issue was a no-op — no such entry exists in those docs. Acceptance note: "no numeric `*_APP_ID` reference remains in `assets/workspace/`" holds for `COMMIT_APP_ID`; the two remaining `DEVKIT_UPGRADE_APP_ID` references are the deliberate one-release fallback, removed by #1366. Hits in the stamped `.devcontainer/CHANGELOG.md` are immutable released-entry history and exempt. ## Changelog Entry ### Changed - **Stamped workflows authenticate with App Client IDs — new org secret required** ([#1365](#1365)) - **Action required before upgrading:** create a `DEVKIT_UPGRADE_APP_CLIENT_ID` secret (org or repo) holding the upgrade App's Client ID (`Iv23li…`). **Create the secret first, then upgrade** — config-first, always. For this release the legacy numeric `DEVKIT_UPGRADE_APP_ID` still works as a fallback (with a deprecation warning), so an upgrade that races the secret is not bricked; the fallback is removed in a future release ([#1366](#1366)). - `sync-issues.yml` now passes `COMMIT_APP_CLIENT_ID` through the `client-id` input added in `vig-os/sync-issues-action` v0.5.0 — the numeric `COMMIT_APP_ID` secret is no longer read anywhere and can be retired once every consumer is on this release. - `devkit-upgrade.yml` prefers `DEVKIT_UPGRADE_APP_CLIENT_ID` in its preflight gate and `create-github-app-token` mint. - Nothing in the auth path is numerically load-bearing: GitHub accepts either the App ID or the Client ID as the App JWT issuer. ## Testing - [x] Tests pass locally (`just test`) - [x] Manual testing performed (describe below) ### Manual Testing Details - RED → GREEN: the 6 new/changed assertions failed before the workflow edits, 24/24 pass after. - Full pytest: 1253 passed; the 4 failures (`test_uv_installed`, `test_manifest_files`, `test_smoke_test_flag_deploys_assets`, `test_github_cli_authentication`) reproduce identically on clean `origin/dev` in a separate worktree — stale local image / environment, not this change. - `just precommit` (full suite, all files): green. - `just test-bats`: 575 ok; the 9 `IN_CONTAINER` hook-guard failures reproduce identically on clean `origin/dev`. All five rendered-workflow actionlint tests (#995) pass over the changed templates. - Both org secret sets verified live: `DEVKIT_UPGRADE_APP_CLIENT_ID` and `COMMIT_APP_CLIENT_ID` exist in `vig-os` and `exo-pet`. ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [x] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [x] Any dependent changes have been merged and published ## Additional Notes Release-note reminder for the train: the ordering rule (create `DEVKIT_UPGRADE_APP_CLIENT_ID` before upgrading) must appear prominently in the release notes per the acceptance criteria — the changelog entry above is written to be lifted verbatim. Old-scaffold repos vig-os/h5v#6 and vig-os/scitadel#209 need their bumps before they benefit; vig-os/tessera#364 migrates independently. Refs: #1365
This was referenced Aug 7, 2026
Merged
vig-os-release-app Bot
added a commit
to vig-os/devkit-smoke-test
that referenced
this pull request
Aug 8, 2026
# Release 1.7.0 This PR prepares release 1.7.0 for merge to main. ## [1.7.0] - TBD ### Added - **`CODE_OF_CONDUCT.md`** ([#1372](vig-os/devkit#1372)) - Contributor Covenant 2.1 at the repository root. Enforcement reports go through the same [GitHub Private Vulnerability Reporting](https://github.com/vig-os/devkit/security/advisories/new) channel `SECURITY.md` already designates, so there is one private route to the maintainers rather than two. ### Changed - **Smoke-test deploy of 1.7.0** -- automated devcontainer release-pipeline validation; no functional changes - **Stamped workflows authenticate with App Client IDs — new org secret required** ([#1365](vig-os/devkit#1365)) - **Action required before upgrading:** create a `DEVKIT_UPGRADE_APP_CLIENT_ID` secret (org or repo) holding the upgrade App's Client ID (`Iv23li…`). **Create the secret first, then upgrade** — config-first, always. For this release the legacy numeric `DEVKIT_UPGRADE_APP_ID` still works as a fallback (with a deprecation warning), so an upgrade that races the secret is not bricked; the fallback is removed in a future release ([#1366](vig-os/devkit#1366)). - `sync-issues.yml` now passes `COMMIT_APP_CLIENT_ID` through the `client-id` input added in `vig-os/sync-issues-action` v0.5.0 — the numeric `COMMIT_APP_ID` secret is no longer read anywhere and can be retired once every consumer is on this release. - `devkit-upgrade.yml` prefers `DEVKIT_UPGRADE_APP_CLIENT_ID` in its preflight gate and `create-github-app-token` mint. - Nothing in the auth path is numerically load-bearing: GitHub accepts either the App ID or the Client ID as the App JWT issuer. - **`CONTRIBUTE.md` renamed to `CONTRIBUTING.md`** ([#1372](vig-os/devkit#1372)) - GitHub's community profile only recognises `CONTRIBUTING.md`, so the guide was invisible to it and no "Contributing guidelines" link appeared on new issues and pull requests. - The file is generated, so the rename covers the whole chain: `docs/templates/CONTRIBUTE.md.j2` -> `docs/templates/CONTRIBUTING.md.j2`, `docs/generate.py`, the pymarkdown exclude in `.pre-commit-config.yaml`, the `expected_doc` guard in `release.yml`, the `README.md` link (and its template), `docs/NIX.md`, and the `docs.yml` issue template. Historical records — released changelog entries, `docs/issues/`, `docs/pull-requests/` — keep the old name. - **Renovate: update `github/codeql-action` from `d1ba80a` to `5595cca`** ([#1367](vig-os/devkit#1367)) - **Renovate dependency update** ([#1368](vig-os/devkit#1368)) - Update `actions/attest` from `v4.2.1` to `v4.2.2` - Update `actions/attest-build-provenance` from `v4.1.1` to `v4.2.2` - Update `vig-os/commit-action` from `v0.3.1` to `v0.3.2` - Update `vig-os/sync-issues-action` from `v0.4.0` to `v0.5.0` ### Fixed - **Floating tags move via `git push` — first release of a new level no longer fails** ([#1377](vig-os/devkit#1377)) - The scaffolded `promote-release.yml` created brand-new floating levels via `POST /git/refs`, the one ref-mutation path where GitHub does not honor the Release App's Integration ruleset bypass for the `creation` rule — so the first release of every new `<prefix>X` / `<prefix>X.Y` level died with the opaque `Reference does not exist` (HTTP 422) despite the App holding an `always` bypass on the whole Tag ruleset (hit on `commit-action` 0.3.1 and `sync-issues-action` 0.5.0). - `move_tag()` now force-pushes `TARGET_SHA:refs/tags/<name>` over git with the App installation token plumbed explicitly into the push URL (checkout's persisted credentials are the default `github.token`, which has no bypass) — the exact path `release-publish.yml` already uses to create release tags, empirically bypassed fine. Create and move collapse into one branch-free path; the idempotence read-and-skip guard and the loud `::error` + MIGRATION.md fallback from #1158 stay, with the moot "grant a creation bypass" remediation rewritten (the bypass already exists — the REST create path simply ignores it). - **Flake pymarkdown excludes follow the `CONTRIBUTING.md` rename** ([#1380](vig-os/devkit#1380)) - `nix/hooks.nix` (runner, check, and consumer profiles) and the scaffold template `assets/workspace/.pre-commit-config.yaml` still excluded the removed `CONTRIBUTE.md`, drifting from the root `.pre-commit-config.yaml` updated in [#1372](vig-os/devkit#1372); the renamed contributing guide was no longer excluded from pymarkdown. - **A no-diff devkit upgrade no longer strands its adoption issue** ([#1347](vig-os/devkit#1347)) - The scaffolded `devkit-upgrade.yml` opens the adoption issue *before* `install.sh --force` runs (the branch name embeds its number and the in-shell commit needs the `Refs:` line), so a `workflow_dispatch` against an already-current consumer created an issue, found zero diff, skipped publish and PR, and exited green — leaving an issue open with no PR ever attached. Every credential probe or repair run against a current consumer left one behind. - The find-or-create step now reports which branch it took, and a final cleanup step on the no-diff path **closes an issue this run created** (with a "no diff at `<version>`" comment) while **leaving a reused one open** — a mid-train `rc1 → rc2 → final` issue can legitimately see a no-op bump, and auto-closing it would be wrong. Comment only in that case. - **Upgrades prune scaffold paths retired since the consumer's pin** ([#1348](vig-os/devkit#1348)) - `install.sh --force` regenerated what the *current* scaffold manages and pruned what the current mode / workflow model / feature set excludes — but a path an **old** devkit shipped and a later one **retired** was claimed by neither and rode along through every upgrade. Going 0.3.4 → 1.6.0 preserved `.cursor/`, `.github/actions/resolve-image/`, `.github/workflows/renovate-changelog.yml` and `.hadolint.yaml`. The workflow file is the sharp one: left in place it is live, duplicates the `renovate-changelog-build`/`-commit` pair that replaced it, and calls the pruned `resolve-image` action — so it breaks at its next trigger rather than at upgrade time. - A cumulative retired-paths manifest (version → paths that version stopped shipping) is now consulted against the pin `.vig-os` carried **before** the run — the legacy `DEVCONTAINER_VERSION` key included, since repos still on it are precisely the oldest. Each prune is announced on stdout and listed under `DELETED` in the `--force --preview` report. - The prune is gated on that pin: a repo pinned at or past the retiring version was never shipped the path, so an identically named `.cursor/` or `.hadolint.yaml` there is the consumer's own and is left untouched. A repo that already upgraded past a retirement before this fix keeps its leftovers — a one-time manual cleanup, documented in `docs/MIGRATION.md`. - **Preserved-file diffs show template content, not a symlink typechange** ([#1349](vig-os/devkit#1349)) - A `--force` upgrade prints the divergence between each preserved consumer file and the incoming template so the consumer can fold in template evolution deliberately. In the shipped image the devkit assets are `/nix/store` symlinks, so `git diff --no-index` compared the *link* against the consumer's regular file and rendered a typechange — "symlink deleted / file added", with the store path as its only line — instead of the content diff. Seen on the `vig-os/scitadel` 0.3.3 → 1.6.0 migration. - The template side is now dereferenced before the comparison, so the hunk shows the actual template changes. A template symlink whose target does not resolve is still treated as a missing template (no diff, no error), and the diff header keeps naming the file rather than an opaque store path. - **CI dev-shell PATH keeps its priority order** ([#1351](vig-os/devkit#1351)) - The direnv-mode `setup-devkit-toolchain` wrote the dev-shell's `/nix/store` bin dirs to `GITHUB_PATH` highest-priority-first, but the runner *prepends* every line in file order — so the following steps ran with the dev-shell PATH exactly reversed. The dirs are now written reversed, and the per-line prepend rebuilds the dev-shell order verbatim. - Only multi-store-path toolchains were affected: with one tool per store path the order is unobservable. A stdenv toolchain is not — the raw `gcc` shadowed `gcc-wrapper` (likewise `binutils`) and C builds failed with the unwrapped-compiler signature `ld.bfd: cannot find Scrt1.o` / `cannot find -lc`, while the same build stayed green locally under `nix develop` (first hit: `vig-os/h5v`'s vendored HDF5 build). - **shellHook env forward no longer ships `UV_PYTHON` to CI** ([#1353](vig-os/devkit#1353)) - Two correct mechanisms in the direnv-mode `setup-devkit-toolchain` cancelled out. The step drops the bare Nix CPython from the exported `PATH` and forwards `UV_PYTHON_DOWNLOADS_JSON_URL` so `uv sync` builds the runner venv from a downloaded manylinux CPython (#698/#703/#729) — but the shellHook env forward (#1180) diffs the dev-shell env against the ambient one and shipped every added var, `mkProjectShell`'s `UV_PYTHON` store-path pin included. `UV_PYTHON` beats PATH resolution, so the venv was built on the Nix interpreter regardless and any C-extension wheel then failed under the Nix loader on Ubuntu with `ImportError: libstdc++.so.6: cannot open shared object file`. Existing direnv Python consumers were green only because their test dependencies are pure-Python; first live hit `exo-pet/playground-carlos#9` (numpy 2.4.4). - `UV_PYTHON` and `UV_PYTHON_DOWNLOADS` are now denied by name in that forward's denylist. Both are Nix-host-only by construction, and the second is required for the first: on its own, a forwarded `UV_PYTHON_DOWNLOADS=never` would forbid the very managed-CPython download the `_JSON_URL` forward exists to enable, turning the wheel `ImportError` into "no interpreter found". The patterns are exact, so the deliberate `UV_PYTHON_DOWNLOADS_JSON_URL` forward is untouched — now pinned by a test. - Audit of the other vars `mkProjectShell` puts in the dev-shell env: kept `BATS_LIB_PATH` (a store path, but the store is realized on the runner and `bats` runs from the dev-shell `PATH` there), `NVIM_APPNAME` (portable config) and `UV_PYTHON_DOWNLOADS_JSON_URL`. `LD_LIBRARY_PATH` is exported only behind the shellHook's own `/etc/NIXOS` guard, so it never reaches a hosted runner and is the correct value on a NixOS self-hosted one — left forwardable. Nothing else the builder sets is host-specific. - **shellHook env forward stops leaking Nix-host state** ([#1358](vig-os/devkit#1358)) - `PYTHONPATH` is now forwarded **component-wise**: the direnv-mode preamble splits it on `:`, drops every `/nix/store` entry and forwards what remains, skipping the var when nothing is left. With `python` in the dev-shell `packages` the nixpkgs setup hook fills `PYTHONPATH` with store site-packages dirs; forwarded whole, those Nix-built `cp3xx` packages joined the `sys.path` of the *downloaded* manylinux CPython — same ABI tag, importable, the same mixed-loader shape as #1353's `ImportError: libstdc++.so.6`. A blanket deny was not an option: a `shellHook` exporting `PYTHONPATH=$PWD/src` is a legitimate #1180 use case and still arrives on CI intact. - The denylist gained the stdenv machinery it was still missing — `_PYTHON_HOST_PLATFORM`, `_PYTHON_SYSCONFIGDATA_NAME`, `DETERMINISTIC_BUILD`, `CONFIG_SHELL`, the `do[A-Z]*` build flags (`doCheck`, `doInstallCheck`, `doDist`; the symmetric partner of the already-denied `dont*`) — and the stdenv cc/binutils hook names `AR AS CC CXX LD NM OBJCOPY OBJDUMP RANLIB READELF SIZE STRINGS STRIP`. stdenv sets those toolchain names in **every** dev shell as bare commands (`CC=gcc`), so every direnv consumer was shipping them to its whole CI job. Inside dev-shell context the wrapped toolchain already wins via `PATH` after #1351; for a step that runs outside it (`setup-python` plus `pip` building a C extension) a forwarded `CC` resolving to the Nix wrapper recreates the #1353 mixed-toolchain hazard. This deliberately supersedes the `shellHook` `CC`/`CXX` forward that vig-os/h5v used pre-#1351 — #1351 removed the need for it. The `native` module's generic `CC=cc`/`CXX=c++` exports likewise no longer reach CI; they exist so build backends fall back to `PATH` discovery (#879/#893), which the forwarded dev-shell `PATH` still provides. A CI step that needs a specific compiler should set it in the workflow. Patterns are case-sensitive, so `DOCKER_*`/`DO_SOMETHING` are unaffected. - `IN_NIX_SHELL` is denied too: forwarding `IN_NIX_SHELL=impure` made every subsequent CI step claim to be running inside a nix shell. - The related NixOS-self-hosted-runner gap in the CPython `PATH` filter is tracked separately in [#1360](vig-os/devkit#1360). - **Python consumers work on NixOS self-hosted runners** ([#1360](vig-os/devkit#1360)) - The direnv-mode preamble dropped the bare Nix CPython from the exported `PATH` whenever `pyproject.toml` was present — unconditionally. That is right on a hosted FHS runner, where `uv` downloads a managed manylinux CPython (#698/#703/#729), and wrong by construction on a **NixOS** self-hosted runner, where such a download cannot execute at all. #1353 made the gap reachable: the `UV_PYTHON` pin it stopped forwarding was what had accidentally masked it. No consumer matched the combination yet (the one NixOS-runner consumer has no `pyproject.toml`), so this was a latent landmine rather than a live break. - The step now probes the runner's own OS via `/etc/NIXOS` — the same marker `mkProjectShell`'s `shellHook` uses to gate `LD_LIBRARY_PATH` — and takes the matching branch. On a NixOS runner the `pyproject.toml`-gated CPython exclusion is skipped, so the store interpreter stays on `PATH`, **and** `mkProjectShell`'s `UV_PYTHON` / `UV_PYTHON_DOWNLOADS=never` pins are forwarded instead of denied. Both halves are needed: `PATH` alone leaves `uv`'s python-preference free to prefer a managed download, and the pins are what make it use the Nix interpreter deterministically. The podman exclusion stays unconditional, and `UV_PYTHON_DOWNLOADS_JSON_URL` is still forwarded (harmless once the pin wins). - On every non-NixOS runner the behavior is byte-identical to before, #1353's denial of the same two pins included. - **Prefixed-tag releases publish their changelog notes** ([#1355](vig-os/devkit#1355)) - In a consumer that sets `DEVKIT_TAG_PREFIX`, the release pipeline wrote one changelog heading and read back another. `release-core.yml` finalizes with `prepare-changelog finalize … --tag-prefix "$TAG_PREFIX"`, which composes the prefix into the heading (`## [v1.0.0](…/releases/tag/v1.0.0) - …`), while `release-publish.yml` extracted the notes by matching `## [$VERSION]` on the *bare* semver — a match that can never land on a prefixed heading. - It failed soft: the empty extraction hit the fallback path, so the release was published with the literal body `No changelog notes found for X.Y.Z`. The tag and the release object were both correct and nothing went red, which is why it survived (observed releasing `vig-os/org-config` `v1.0.0`). - The extraction step now takes `tag_prefix` and accepts the composed tag `## [${TAG_PREFIX}${VERSION}]` alongside the bare one. Both are needed: a candidate publishes *before* the finalize step (which is gated on a final `release_kind`), so its heading is still the unprefixed `## [X.Y.Z] - TBD` that `prepare` wrote — matching only the composed tag would have moved the empty notes onto the candidate path. Only prefixed repos were affected; an empty prefix makes the two forms the same string. - **MIGRATION.md env-forward denylist prose replaced by an SSoT pointer** ([#1362](vig-os/devkit#1362)) - The "direnv mode: `shellHook` environment forwarding" section enumerated the denylist by hand and had fallen behind the shipped action: it predated the `UV_PYTHON`/`UV_PYTHON_DOWNLOADS` denial (#1353), the stdenv additions and the cc/binutils hook names (#1358), and the NixOS-runner exception that forwards those uv pins after all (#1360) — and its two-bullet shape could not express the `PYTHONPATH` store-component strip, which is a transform rather than a deny. - The enumeration is replaced by a description of the denied *categories* with representative examples, the `PYTHONPATH` transform, and a pointer to the `devkit_env_denied` function in the consumer's own `.github/actions/setup-devkit-toolchain/action.yml` as the single source of truth. The surrounding narrative is unchanged. - **A cancelled CI job no longer leaves `Test Summary` green** ([#1371](vig-os/devkit#1371)) - `Test Summary` is the only required status check on `dev`, and it flagged a needed job only on `result == "failure"`. A job that was **cancelled** — job timeout, concurrency cancel, runner eviction, a manual "Cancel workflow" — produced no verdict at all, yet the aggregate printed "All executed test suites passed" and exited 0, so a pull request whose CI never finished was mergeable. - All eight needed jobs now trip the gate on `cancelled` as well as `failure`. `skipped` stays tolerated by design: `workflow_dispatch` takes a `test-suite` subset input that every job is gated on, and `commit-checks`/`dependency-review` are pull-request only. ### Security - **Release tags are lightweight refs, so no unsigned object remains in the release chain** ([#1370](vig-os/devkit#1370)) - `release.yml` created the tag with `git tag -a` under `vigOS Release Bot <[email protected]>`, producing an **annotated tag object** whose tagger was permanently unverifiable — live tag `1.6.0` reports `verification.reason: "unsigned"`. Signing it was never reachable: the tag is written under the Release **App** installation token and a GitHub App has no registrable GPG/SSH key, while the server-side `POST /git/tags` route stores the payload verbatim without signing it either. - The publish job now creates the tag as a plain `refs/tags/<version>` ref at the release commit (`POST /git/refs`). A lightweight tag has no tagger and no payload, so there is nothing left that can report `unsigned`, and the commit the ref resolves to is the GitHub-verified release commit. The candidate-collision guard and the "already tagged at the finalize SHA" skip are unchanged; the now-unused `git-user-name` / `git-user-email` dispatch inputs are removed from `release.yml` (`prepare-release.yml`, which actually writes commits, keeps its own). - **Consumer release tags are lightweight refs too — the scaffold stops publishing unsigned tag objects** ([#1378](vig-os/devkit#1378)) - The scaffold's `release-publish.yml` still created every consumer's `X.Y.Z` tag with `git tag -a` under a GitHub App identity — an **annotated tag object** reporting `verification.reason: "unsigned"` forever, for the same unreachable-signature reasons as [#1370](vig-os/devkit#1370). The scaffold was internally inconsistent: `promote-release.yml` already creates the *floating* tags (`vX`, `vX.Y`) as lightweight refs, while the version tag — the one users pin and audit — was an unsigned object. - The publish step now POSTs `refs/tags/<prefix><version>` straight at the release commit (`POST /git/refs`). Preserved behaviours: the `tag_already_exists` skip, the create-race verification (a lost race is accepted only when the existing ref already resolves to the release commit), `TAG_PREFIX` composition ([#1044](vig-os/devkit#1044)), and the tombstone diagnosis ([#1319](vig-os/devkit#1319)) — its signature match re-derived against the `POST /git/refs` HTTP 422 rule-violation error shape. - The dead `git_user_name` / `git_user_email` `workflow_call` inputs are removed from `release-publish.yml` and their pass-throughs from the scaffold `release.yml` publish call; the scaffold's `git-user-name` / `git-user-email` **dispatch** inputs stay — the rollback job still writes commits with that identity. - `promote-release.yml` and `docs/MIGRATION.md` keep the annotated-tag peel as backward compatibility for tags published by older scaffolds, with corrected wording. Existing annotated tags are left as they are (forward-fix policy); the change reaches consumers on their next devkit upgrade. - **Smoke-test orchestration gates the final release on a human approval instead of self-approving** ([#1391](vig-os/devkit#1391)) - The dispatch listener approved its own release PR with the workflow token, which the org now forbids (vig-os/org-config#122 sets `can_approve_pull_request_reviews: false` org-wide) — the 1.7.0-rc3 smoke chain died at that step. - The approve step is replaced by a kind-aware gate: candidate dispatches leave the PR unapproved (approval gates the final release only, matching the deferred-approval model of [#902](vig-os/devkit#902)), while the final dispatch polls up to 30 minutes for a human to approve the freshly created release PR before triggering the final release workflow, and fails with re-run guidance if nobody does. Every dispatch still recreates the smoke release branch and PR from scratch, by design. - **vulnix register: except CVE-2026-66032, completing the libssh2 malicious-server batch** ([#1386](vig-os/devkit#1386)) - The 1.7.0-rc1 Vulnix CVE Gate blocked on CVE-2026-66032 (CVSS 8.8, a double-free in libssh2's `sftp_open()`), the fourth member of the upstream batch whose siblings CVE-2026-66033/66034/66035 were already excepted in the 2026-09-02 block ([#1327](vig-os/devkit#1327)) — it was absent from the findings when that block was triaged on 2026-08-04 and surfaced in the feed later. - Same closure provenance and reachability as its siblings: libssh2 enters the image only as curl's scp/sftp backend, and the flaw requires an authenticated SFTP session against a malicious SSH server. Excepted in the same 2026-09-02 block; the whole block drops on a nixpkgs rev-advance once the merged upstream patches (NixOS/nixpkgs#547491) reach the pinned nixos-26.05 channel via the still-open staging-26.05 backport.
vig-os-release-app Bot
added a commit
that referenced
this pull request
Aug 8, 2026
# [Release 1.7.0](https://github.com/vig-os/devkit/releases/tag/1.7.0) - 2026-08-07 This PR prepares release 1.7.0 for merge to main. ## [1.7.0](https://github.com/vig-os/devkit/releases/tag/1.7.0) - 2026-08-07 ### Added - **`CODE_OF_CONDUCT.md`** ([#1372](#1372)) - Contributor Covenant 2.1 at the repository root. Enforcement reports go through the same [GitHub Private Vulnerability Reporting](https://github.com/vig-os/devkit/security/advisories/new) channel `SECURITY.md` already designates, so there is one private route to the maintainers rather than two. ### Changed - **Stamped workflows authenticate with App Client IDs — new org secret required** ([#1365](#1365)) - **Action required before upgrading:** create a `DEVKIT_UPGRADE_APP_CLIENT_ID` secret (org or repo) holding the upgrade App's Client ID (`Iv23li…`). **Create the secret first, then upgrade** — config-first, always. For this release the legacy numeric `DEVKIT_UPGRADE_APP_ID` still works as a fallback (with a deprecation warning), so an upgrade that races the secret is not bricked; the fallback is removed in a future release ([#1366](#1366)). - `sync-issues.yml` now passes `COMMIT_APP_CLIENT_ID` through the `client-id` input added in `vig-os/sync-issues-action` v0.5.0 — the numeric `COMMIT_APP_ID` secret is no longer read anywhere and can be retired once every consumer is on this release. - `devkit-upgrade.yml` prefers `DEVKIT_UPGRADE_APP_CLIENT_ID` in its preflight gate and `create-github-app-token` mint. - Nothing in the auth path is numerically load-bearing: GitHub accepts either the App ID or the Client ID as the App JWT issuer. - **`CONTRIBUTE.md` renamed to `CONTRIBUTING.md`** ([#1372](#1372)) - GitHub's community profile only recognises `CONTRIBUTING.md`, so the guide was invisible to it and no "Contributing guidelines" link appeared on new issues and pull requests. - The file is generated, so the rename covers the whole chain: `docs/templates/CONTRIBUTE.md.j2` -> `docs/templates/CONTRIBUTING.md.j2`, `docs/generate.py`, the pymarkdown exclude in `.pre-commit-config.yaml`, the `expected_doc` guard in `release.yml`, the `README.md` link (and its template), `docs/NIX.md`, and the `docs.yml` issue template. Historical records — released changelog entries, `docs/issues/`, `docs/pull-requests/` — keep the old name. - **Renovate: update `github/codeql-action` from `d1ba80a` to `5595cca`** ([#1367](#1367)) - **Renovate dependency update** ([#1368](#1368)) - Update `actions/attest` from `v4.2.1` to `v4.2.2` - Update `actions/attest-build-provenance` from `v4.1.1` to `v4.2.2` - Update `vig-os/commit-action` from `v0.3.1` to `v0.3.2` - Update `vig-os/sync-issues-action` from `v0.4.0` to `v0.5.0` ### Fixed - **Floating tags move via `git push` — first release of a new level no longer fails** ([#1377](#1377)) - The scaffolded `promote-release.yml` created brand-new floating levels via `POST /git/refs`, the one ref-mutation path where GitHub does not honor the Release App's Integration ruleset bypass for the `creation` rule — so the first release of every new `<prefix>X` / `<prefix>X.Y` level died with the opaque `Reference does not exist` (HTTP 422) despite the App holding an `always` bypass on the whole Tag ruleset (hit on `commit-action` 0.3.1 and `sync-issues-action` 0.5.0). - `move_tag()` now force-pushes `TARGET_SHA:refs/tags/<name>` over git with the App installation token plumbed explicitly into the push URL (checkout's persisted credentials are the default `github.token`, which has no bypass) — the exact path `release-publish.yml` already uses to create release tags, empirically bypassed fine. Create and move collapse into one branch-free path; the idempotence read-and-skip guard and the loud `::error` + MIGRATION.md fallback from #1158 stay, with the moot "grant a creation bypass" remediation rewritten (the bypass already exists — the REST create path simply ignores it). - **Flake pymarkdown excludes follow the `CONTRIBUTING.md` rename** ([#1380](#1380)) - `nix/hooks.nix` (runner, check, and consumer profiles) and the scaffold template `assets/workspace/.pre-commit-config.yaml` still excluded the removed `CONTRIBUTE.md`, drifting from the root `.pre-commit-config.yaml` updated in [#1372](#1372); the renamed contributing guide was no longer excluded from pymarkdown. - **A no-diff devkit upgrade no longer strands its adoption issue** ([#1347](#1347)) - The scaffolded `devkit-upgrade.yml` opens the adoption issue *before* `install.sh --force` runs (the branch name embeds its number and the in-shell commit needs the `Refs:` line), so a `workflow_dispatch` against an already-current consumer created an issue, found zero diff, skipped publish and PR, and exited green — leaving an issue open with no PR ever attached. Every credential probe or repair run against a current consumer left one behind. - The find-or-create step now reports which branch it took, and a final cleanup step on the no-diff path **closes an issue this run created** (with a "no diff at `<version>`" comment) while **leaving a reused one open** — a mid-train `rc1 → rc2 → final` issue can legitimately see a no-op bump, and auto-closing it would be wrong. Comment only in that case. - **Upgrades prune scaffold paths retired since the consumer's pin** ([#1348](#1348)) - `install.sh --force` regenerated what the *current* scaffold manages and pruned what the current mode / workflow model / feature set excludes — but a path an **old** devkit shipped and a later one **retired** was claimed by neither and rode along through every upgrade. Going 0.3.4 → 1.6.0 preserved `.cursor/`, `.github/actions/resolve-image/`, `.github/workflows/renovate-changelog.yml` and `.hadolint.yaml`. The workflow file is the sharp one: left in place it is live, duplicates the `renovate-changelog-build`/`-commit` pair that replaced it, and calls the pruned `resolve-image` action — so it breaks at its next trigger rather than at upgrade time. - A cumulative retired-paths manifest (version → paths that version stopped shipping) is now consulted against the pin `.vig-os` carried **before** the run — the legacy `DEVCONTAINER_VERSION` key included, since repos still on it are precisely the oldest. Each prune is announced on stdout and listed under `DELETED` in the `--force --preview` report. - The prune is gated on that pin: a repo pinned at or past the retiring version was never shipped the path, so an identically named `.cursor/` or `.hadolint.yaml` there is the consumer's own and is left untouched. A repo that already upgraded past a retirement before this fix keeps its leftovers — a one-time manual cleanup, documented in `docs/MIGRATION.md`. - **Preserved-file diffs show template content, not a symlink typechange** ([#1349](#1349)) - A `--force` upgrade prints the divergence between each preserved consumer file and the incoming template so the consumer can fold in template evolution deliberately. In the shipped image the devkit assets are `/nix/store` symlinks, so `git diff --no-index` compared the *link* against the consumer's regular file and rendered a typechange — "symlink deleted / file added", with the store path as its only line — instead of the content diff. Seen on the `vig-os/scitadel` 0.3.3 → 1.6.0 migration. - The template side is now dereferenced before the comparison, so the hunk shows the actual template changes. A template symlink whose target does not resolve is still treated as a missing template (no diff, no error), and the diff header keeps naming the file rather than an opaque store path. - **CI dev-shell PATH keeps its priority order** ([#1351](#1351)) - The direnv-mode `setup-devkit-toolchain` wrote the dev-shell's `/nix/store` bin dirs to `GITHUB_PATH` highest-priority-first, but the runner *prepends* every line in file order — so the following steps ran with the dev-shell PATH exactly reversed. The dirs are now written reversed, and the per-line prepend rebuilds the dev-shell order verbatim. - Only multi-store-path toolchains were affected: with one tool per store path the order is unobservable. A stdenv toolchain is not — the raw `gcc` shadowed `gcc-wrapper` (likewise `binutils`) and C builds failed with the unwrapped-compiler signature `ld.bfd: cannot find Scrt1.o` / `cannot find -lc`, while the same build stayed green locally under `nix develop` (first hit: `vig-os/h5v`'s vendored HDF5 build). - **shellHook env forward no longer ships `UV_PYTHON` to CI** ([#1353](#1353)) - Two correct mechanisms in the direnv-mode `setup-devkit-toolchain` cancelled out. The step drops the bare Nix CPython from the exported `PATH` and forwards `UV_PYTHON_DOWNLOADS_JSON_URL` so `uv sync` builds the runner venv from a downloaded manylinux CPython (#698/#703/#729) — but the shellHook env forward (#1180) diffs the dev-shell env against the ambient one and shipped every added var, `mkProjectShell`'s `UV_PYTHON` store-path pin included. `UV_PYTHON` beats PATH resolution, so the venv was built on the Nix interpreter regardless and any C-extension wheel then failed under the Nix loader on Ubuntu with `ImportError: libstdc++.so.6: cannot open shared object file`. Existing direnv Python consumers were green only because their test dependencies are pure-Python; first live hit `exo-pet/playground-carlos#9` (numpy 2.4.4). - `UV_PYTHON` and `UV_PYTHON_DOWNLOADS` are now denied by name in that forward's denylist. Both are Nix-host-only by construction, and the second is required for the first: on its own, a forwarded `UV_PYTHON_DOWNLOADS=never` would forbid the very managed-CPython download the `_JSON_URL` forward exists to enable, turning the wheel `ImportError` into "no interpreter found". The patterns are exact, so the deliberate `UV_PYTHON_DOWNLOADS_JSON_URL` forward is untouched — now pinned by a test. - Audit of the other vars `mkProjectShell` puts in the dev-shell env: kept `BATS_LIB_PATH` (a store path, but the store is realized on the runner and `bats` runs from the dev-shell `PATH` there), `NVIM_APPNAME` (portable config) and `UV_PYTHON_DOWNLOADS_JSON_URL`. `LD_LIBRARY_PATH` is exported only behind the shellHook's own `/etc/NIXOS` guard, so it never reaches a hosted runner and is the correct value on a NixOS self-hosted one — left forwardable. Nothing else the builder sets is host-specific. - **shellHook env forward stops leaking Nix-host state** ([#1358](#1358)) - `PYTHONPATH` is now forwarded **component-wise**: the direnv-mode preamble splits it on `:`, drops every `/nix/store` entry and forwards what remains, skipping the var when nothing is left. With `python` in the dev-shell `packages` the nixpkgs setup hook fills `PYTHONPATH` with store site-packages dirs; forwarded whole, those Nix-built `cp3xx` packages joined the `sys.path` of the *downloaded* manylinux CPython — same ABI tag, importable, the same mixed-loader shape as #1353's `ImportError: libstdc++.so.6`. A blanket deny was not an option: a `shellHook` exporting `PYTHONPATH=$PWD/src` is a legitimate #1180 use case and still arrives on CI intact. - The denylist gained the stdenv machinery it was still missing — `_PYTHON_HOST_PLATFORM`, `_PYTHON_SYSCONFIGDATA_NAME`, `DETERMINISTIC_BUILD`, `CONFIG_SHELL`, the `do[A-Z]*` build flags (`doCheck`, `doInstallCheck`, `doDist`; the symmetric partner of the already-denied `dont*`) — and the stdenv cc/binutils hook names `AR AS CC CXX LD NM OBJCOPY OBJDUMP RANLIB READELF SIZE STRINGS STRIP`. stdenv sets those toolchain names in **every** dev shell as bare commands (`CC=gcc`), so every direnv consumer was shipping them to its whole CI job. Inside dev-shell context the wrapped toolchain already wins via `PATH` after #1351; for a step that runs outside it (`setup-python` plus `pip` building a C extension) a forwarded `CC` resolving to the Nix wrapper recreates the #1353 mixed-toolchain hazard. This deliberately supersedes the `shellHook` `CC`/`CXX` forward that vig-os/h5v used pre-#1351 — #1351 removed the need for it. The `native` module's generic `CC=cc`/`CXX=c++` exports likewise no longer reach CI; they exist so build backends fall back to `PATH` discovery (#879/#893), which the forwarded dev-shell `PATH` still provides. A CI step that needs a specific compiler should set it in the workflow. Patterns are case-sensitive, so `DOCKER_*`/`DO_SOMETHING` are unaffected. - `IN_NIX_SHELL` is denied too: forwarding `IN_NIX_SHELL=impure` made every subsequent CI step claim to be running inside a nix shell. - The related NixOS-self-hosted-runner gap in the CPython `PATH` filter is tracked separately in [#1360](#1360). - **Python consumers work on NixOS self-hosted runners** ([#1360](#1360)) - The direnv-mode preamble dropped the bare Nix CPython from the exported `PATH` whenever `pyproject.toml` was present — unconditionally. That is right on a hosted FHS runner, where `uv` downloads a managed manylinux CPython (#698/#703/#729), and wrong by construction on a **NixOS** self-hosted runner, where such a download cannot execute at all. #1353 made the gap reachable: the `UV_PYTHON` pin it stopped forwarding was what had accidentally masked it. No consumer matched the combination yet (the one NixOS-runner consumer has no `pyproject.toml`), so this was a latent landmine rather than a live break. - The step now probes the runner's own OS via `/etc/NIXOS` — the same marker `mkProjectShell`'s `shellHook` uses to gate `LD_LIBRARY_PATH` — and takes the matching branch. On a NixOS runner the `pyproject.toml`-gated CPython exclusion is skipped, so the store interpreter stays on `PATH`, **and** `mkProjectShell`'s `UV_PYTHON` / `UV_PYTHON_DOWNLOADS=never` pins are forwarded instead of denied. Both halves are needed: `PATH` alone leaves `uv`'s python-preference free to prefer a managed download, and the pins are what make it use the Nix interpreter deterministically. The podman exclusion stays unconditional, and `UV_PYTHON_DOWNLOADS_JSON_URL` is still forwarded (harmless once the pin wins). - On every non-NixOS runner the behavior is byte-identical to before, #1353's denial of the same two pins included. - **Prefixed-tag releases publish their changelog notes** ([#1355](#1355)) - In a consumer that sets `DEVKIT_TAG_PREFIX`, the release pipeline wrote one changelog heading and read back another. `release-core.yml` finalizes with `prepare-changelog finalize … --tag-prefix "$TAG_PREFIX"`, which composes the prefix into the heading (`## [v1.0.0](…/releases/tag/v1.0.0) - …`), while `release-publish.yml` extracted the notes by matching `## [$VERSION]` on the *bare* semver — a match that can never land on a prefixed heading. - It failed soft: the empty extraction hit the fallback path, so the release was published with the literal body `No changelog notes found for X.Y.Z`. The tag and the release object were both correct and nothing went red, which is why it survived (observed releasing `vig-os/org-config` `v1.0.0`). - The extraction step now takes `tag_prefix` and accepts the composed tag `## [${TAG_PREFIX}${VERSION}]` alongside the bare one. Both are needed: a candidate publishes *before* the finalize step (which is gated on a final `release_kind`), so its heading is still the unprefixed `## [X.Y.Z] - TBD` that `prepare` wrote — matching only the composed tag would have moved the empty notes onto the candidate path. Only prefixed repos were affected; an empty prefix makes the two forms the same string. - **MIGRATION.md env-forward denylist prose replaced by an SSoT pointer** ([#1362](#1362)) - The "direnv mode: `shellHook` environment forwarding" section enumerated the denylist by hand and had fallen behind the shipped action: it predated the `UV_PYTHON`/`UV_PYTHON_DOWNLOADS` denial (#1353), the stdenv additions and the cc/binutils hook names (#1358), and the NixOS-runner exception that forwards those uv pins after all (#1360) — and its two-bullet shape could not express the `PYTHONPATH` store-component strip, which is a transform rather than a deny. - The enumeration is replaced by a description of the denied *categories* with representative examples, the `PYTHONPATH` transform, and a pointer to the `devkit_env_denied` function in the consumer's own `.github/actions/setup-devkit-toolchain/action.yml` as the single source of truth. The surrounding narrative is unchanged. - **A cancelled CI job no longer leaves `Test Summary` green** ([#1371](#1371)) - `Test Summary` is the only required status check on `dev`, and it flagged a needed job only on `result == "failure"`. A job that was **cancelled** — job timeout, concurrency cancel, runner eviction, a manual "Cancel workflow" — produced no verdict at all, yet the aggregate printed "All executed test suites passed" and exited 0, so a pull request whose CI never finished was mergeable. - All eight needed jobs now trip the gate on `cancelled` as well as `failure`. `skipped` stays tolerated by design: `workflow_dispatch` takes a `test-suite` subset input that every job is gated on, and `commit-checks`/`dependency-review` are pull-request only. ### Security - **Release tags are lightweight refs, so no unsigned object remains in the release chain** ([#1370](#1370)) - `release.yml` created the tag with `git tag -a` under `vigOS Release Bot <[email protected]>`, producing an **annotated tag object** whose tagger was permanently unverifiable — live tag `1.6.0` reports `verification.reason: "unsigned"`. Signing it was never reachable: the tag is written under the Release **App** installation token and a GitHub App has no registrable GPG/SSH key, while the server-side `POST /git/tags` route stores the payload verbatim without signing it either. - The publish job now creates the tag as a plain `refs/tags/<version>` ref at the release commit (`POST /git/refs`). A lightweight tag has no tagger and no payload, so there is nothing left that can report `unsigned`, and the commit the ref resolves to is the GitHub-verified release commit. The candidate-collision guard and the "already tagged at the finalize SHA" skip are unchanged; the now-unused `git-user-name` / `git-user-email` dispatch inputs are removed from `release.yml` (`prepare-release.yml`, which actually writes commits, keeps its own). - **Consumer release tags are lightweight refs too — the scaffold stops publishing unsigned tag objects** ([#1378](#1378)) - The scaffold's `release-publish.yml` still created every consumer's `X.Y.Z` tag with `git tag -a` under a GitHub App identity — an **annotated tag object** reporting `verification.reason: "unsigned"` forever, for the same unreachable-signature reasons as [#1370](#1370). The scaffold was internally inconsistent: `promote-release.yml` already creates the *floating* tags (`vX`, `vX.Y`) as lightweight refs, while the version tag — the one users pin and audit — was an unsigned object. - The publish step now POSTs `refs/tags/<prefix><version>` straight at the release commit (`POST /git/refs`). Preserved behaviours: the `tag_already_exists` skip, the create-race verification (a lost race is accepted only when the existing ref already resolves to the release commit), `TAG_PREFIX` composition ([#1044](#1044)), and the tombstone diagnosis ([#1319](#1319)) — its signature match re-derived against the `POST /git/refs` HTTP 422 rule-violation error shape. - The dead `git_user_name` / `git_user_email` `workflow_call` inputs are removed from `release-publish.yml` and their pass-throughs from the scaffold `release.yml` publish call; the scaffold's `git-user-name` / `git-user-email` **dispatch** inputs stay — the rollback job still writes commits with that identity. - `promote-release.yml` and `docs/MIGRATION.md` keep the annotated-tag peel as backward compatibility for tags published by older scaffolds, with corrected wording. Existing annotated tags are left as they are (forward-fix policy); the change reaches consumers on their next devkit upgrade. - **Smoke-test orchestration gates the final release on a human approval instead of self-approving** ([#1391](#1391)) - The dispatch listener approved its own release PR with the workflow token, which the org now forbids (vig-os/org-config#122 sets `can_approve_pull_request_reviews: false` org-wide) — the 1.7.0-rc3 smoke chain died at that step. - The approve step is replaced by a kind-aware gate: candidate dispatches leave the PR unapproved (approval gates the final release only, matching the deferred-approval model of [#902](#902)), while the final dispatch polls up to 30 minutes for a human to approve the freshly created release PR before triggering the final release workflow, and fails with re-run guidance if nobody does. Every dispatch still recreates the smoke release branch and PR from scratch, by design. - **vulnix register: except CVE-2026-66032, completing the libssh2 malicious-server batch** ([#1386](#1386)) - The 1.7.0-rc1 Vulnix CVE Gate blocked on CVE-2026-66032 (CVSS 8.8, a double-free in libssh2's `sftp_open()`), the fourth member of the upstream batch whose siblings CVE-2026-66033/66034/66035 were already excepted in the 2026-09-02 block ([#1327](#1327)) — it was absent from the findings when that block was triaged on 2026-08-04 and surfaced in the feed later. - Same closure provenance and reachability as its siblings: libssh2 enters the image only as curl's scp/sftp backend, and the flaw requires an authenticated SFTP session against a malicious SSH server. Excepted in the same 2026-09-02 block; the whole block drops on a nixpkgs rev-advance once the merged upstream patches (NixOS/nixpkgs#547491) reach the pinned nixos-26.05 channel via the still-open staging-26.05 backport.
c-vigo
added a commit
that referenced
this pull request
Aug 11, 2026
## Summary Replaces the per-PR Renovate/adoption changelog pipeline with release-time synthesis (Closes #1423). - **New `synthesize-bot-changelog`** (vig-utils): enumerates merged bot PRs since the last stable tag from git history, fetches metadata via `gh api`, and regenerates a `#### Dependencies` block under `### Changed` — **net delta per dependency** (earliest `from`, latest `to`, all PRs cited; zero-delta disappears), **lock-file-maintenance rollups per ecosystem** (previously skipped entirely — verified gap in devkit #1315/#1369 and consumers), and **adoption entries coalesced to the shipped devkit version**. The block is the tool's only owned region, rebuilt wholesale each run — idempotent by construction; hand-written entries are never touched. - **Wired at the two dispatch points that own changelog mutation**: `prepare-release.yml` (before the content gate and the freeze, so the entries ride the freeze commit) and the finalize pass (`release.yml` root / `release-core.yml` scaffold, final kind only, before the date stamp). A bot PR merged into the release branch mid-train is reachable from HEAD at finalize, so it cannot ship unchronicled; candidates stay changelog-neutral. - **Deleted** `renovate-changelog-build.yml` + `renovate-changelog-commit.yml` (root + scaffold), their sync-manifest entry, zizmor baselines, and preset exclusions; retired via the #1348 retired-paths manifest (1.8.0). Bot PR branches no longer receive changelog commits → concurrent Renovate PRs stop conflicting on `## Unreleased`, Renovate's `rebaseWhen: conflicted` self-rebase works again (the bot author was never in `gitIgnoredAuthors`, so it was dead wiring), and the double CI run per bot PR disappears. The latent release-branch bug (bot PR based on `release/**` inserting into the empty post-freeze Unreleased) dies with the pipeline. - **Scaffold cut contract**: the Unreleased content gate moves from the host-only validate job into the toolchain-capable prepare job (still ahead of the freeze) so a train whose only content is bot PRs passes; `tag-prefix` threads through for prefixed consumer tag schemes. - **`just changelog-preview`**: read-only preview of the pending block (root + scaffold). ## Evidence - TDD: contract pinned first (`e71d005`), implementation (`d609947`), wiring (`9d9b778`), docs (`8e0e190`). - vig-utils suite 512 passed; root pytest sweep 604 passed (2 pre-existing env-dependent exclusions: devcontainer gh-auth); `tests/bats/init-workspace.bats` 238/238 incl. rendered-template actionlint (#995); flake dev-shell parity green (`synthesize-bot-changelog` on PATH); `pre-commit run --all-files` green. - **Live proof** against real GitHub data (detached worktree at `12e4b38`, window `1.6.0..HEAD`): grouped PR #1368 flattens to four real `old → new` rows, digest PR #1367 renders `d1ba80a → 5595cca`, lockfile PR #1369 rolls up as `Lock file maintenance (pip)` — the entry the old pipeline silently dropped. On current dev the window is correctly empty. ## Notes for review - `#1404`'s adoption-entry *transport* is superseded (never live-proven at a train); the entry format and title parser survive and are reused. - Reverted-bump edge: PR-metadata coalescing can overstate if a Renovate bump is later reverted by a non-bot commit — recorded as out of scope in #1423 (convention: reverts carry their own hand-written entry). - Consumers still on ≤1.7.x briefly lose the preset exclusion for the (now retired) pair; the devkit-upgrade cron (Mon 06:00) runs before Renovate's schedule (Mon <09:00), so the exposure window is minimal. - First live end-to-end exercise lands at the next train's cut/finalize. Refs: #1423
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.
This PR contains the following updates:
v4.2.1→v4.2.2v4.1.1→v4.2.2v0.3.1→v0.3.2v0.4.0→v0.5.0Release Notes
actions/attest (actions/attest)
v4.2.2Compare Source
What's Changed
Full Changelog: actions/attest@v4.2.1...v4.2.2
actions/attest-build-provenance (actions/attest-build-provenance)
v4.2.2Compare Source
What's Changed
Full Changelog: actions/attest-build-provenance@v4.1.1...v4.2.2
vig-os/commit-action (vig-os/commit-action)
v0.3.2Compare Source
Changed
globalsfrom17.8.0to17.9.0tsxfrom4.23.1to4.23.7typescript-eslintfrom8.65.0to8.66.0globalsfrom17.7.0to17.8.0(#119)package-lock.jsonto the latest resolvable versions.package.jsonis untouched by all four and every direct dependency range is unchanged, but the movement is not dev-dependency-only:undici(6.27.0→6.28.0) and@octokit/request/@octokit/coreare transitive runtime dependencies of@actions/coreand@actions/github, so they ship inside the bundleddist/index.js. See the bundle rebuild under Fixed below.eslintfrom10.7.0to10.8.0prettierfrom3.9.5to3.9.6ts-jestfrom29.4.11to29.4.12typescript-eslintfrom8.64.0to8.65.0astral-sh/setup-uvfromv8.3.2tov9.0.0(#115)actions/checkoutfromv7.0.0tov7.0.1ossf/scorecard-actionfromv2.4.3tov2.4.4github/codeql-actionfrom7188fc3toe4fba86(#112).vig-osDEVKIT_VERSION=1.6.0withflake.lockre-locked to suit. Thevigosflake input stays on the scaffold's floating default (no?ref, as of 1.4.0 final), so the dev-shell toolchain tracks devkit's default branch rather than the pinned scaffold version.vigosinput locked at26e291d(the 1.5.1 release): the dev shell ran the 1.5.1 toolchain under the 1.6.0 scaffold, and the shell-entry version-skew warning (vig-os/devkit#1263) fired on every entry.nix flake update vigosadvanced the lock toffa7a5f, the 1.6.0 release commit. The 1.6.0 shell builds, the full hook suite is green, and the warning is gone — so this release ships with pin and scaffold in lockstep.devkit-upgrade.yml, a self-polling upgrade workflow on App-only auth (vig-os/devkit#1296): it watches devkit's latest release and opens the adoption PR when this repo'sDEVKIT_VERSIONfalls behind.DEVKIT_VERSIONis bumped without a matching re-scaffold..vig-oskeys, all left empty (defaults), so no behavior change here:DEVKIT_FEATURES_DISABLEDandDEVKIT_REFS_POLICY(vig-os/devkit#1282, #1284), plusDEVKIT_AUTO_UPGRADE,DEVKIT_UPGRADE_EXCLUDE,DEVKIT_DRIFT_CHECK.release-publish.ymlgains tombstone (GH013) detection (vig-os/devkit#1319)..github/CODEOWNERStemplate. It contains no active rule (every line is a comment), so it does not reinstate the code-owner review requirement deliberately removed in #83.vigosflake.lockinputd16541f5(1.4.0) →b884b22b(1.4.2) alongside the.vig-ospin, clearing the skew in which the dev-shell toolchain lagged the scaffold it was supposed to match..github/label-taxonomy.tomlheader (vig-os/devkit#1254) and theDEVKIT_SYNC_TARGET/DEVKIT_SYNC_SCHEDULEknobs (vig-os/devkit#1228, both left empty). All other managed files render unchanged..vig-osDEVKIT_VERSIONandflake.lockmove in lockstep. Delivery mode, tag prefix (v), and floating tags (major,minor) are preserved from.vig-os.vigosflake input was pinned to each candidate during RC validation (?ref=1.4.0-rc2→ … →?ref=1.4.0-rc6) and deliberately returned to the scaffold's floating default at 1.4.0 final (86a14d6), those RC pins having been validation-only.persist-credentials: falseis set on the read-only checkouts (CI,codeql.yml,renovate-changelog-build.yml,sync-issues.yml), thesync-main-to-devcleanup step moves its release-app token intoenv:, and a devkit-ownedzizmor.ymlbaseline ships so this repo maintains no baseline of its own..vig-oskeyDEVKIT_CI_RUNNER(vig-os/devkit#1173):resolve-toolchainemits arunner-jsonoutput and the managedci.ymltoolchain jobs routeruns-onthrough it; absent (default) keeps the hostedubuntu-24.04runner.shellHookenvironment to CI (vig-os/devkit#1180), and the basejustfileships awith-native-libshelper foruvxtools with native wheels (vig-os/devkit#1181).pymarkdownis packaged in the flake and promoted to alanguage: systemhook (vig-os/devkit#1170); opt-in-only additions (typstdocsmodule #1178,gitleakshook #1172, nix-language support #1171) have no effect here unless enabled..vig-osDEVKIT_VERSION=1.3.1,flake.nix?ref=1.3.1,flake.lockre-locked to the 1.3.1 revision).codeql.ymltriggers on**.ts/**.js/**.mjs/**.cjs(plus.github/workflows/**) instead of the stale**.py.extensioncaller job now declares the consumer-seam token ceiling (vig-os/devkit#1144):contents: read,packages: write,id-token: write,attestations: write..gitignore.projectno longer accretes scaffold-committed filenames or cross-language junk, and scaffold-committed files stay tracked.dependency-reviewgate and the release/promote workflows pick up mergeability and floating-tag-creation hardening; the TypeScript-major Renovate hold (Refs #101) moves from the managedrenovate-default.jsoninto the consumer-ownedrenovate.jsonso it survives future re-scaffolds.Fixed
dist/index.js— the artifactaction.ymlactually runs, and therefore the only thing consumers of a released tag execute — still inlined dependency versions the lock file had moved past. Nothing rebundled after the lock-file maintenance PRs, anddist-check.ymltriggers only on pull requests torelease/**andmainwhile every dependency PR targetsdev, so the drift accumulated unseen. The refreshed bundle carriesundici6.28.0(header-value validation before coercion, rejecting values produced by a craftedtoString/Symbol.toPrimitiveand an invalidcontent-typederived from a blob body, plusContent-Length-mismatch detection on partial responses) and@octokit/request10.0.13/@octokit/core7.0.7.dist/tracks only the shipped artifact again (#134). The TypeScript declaration byproducts underdist/src/have been gitignored since #70, but the v0.3.0 finalize commit re-added them — the vig-os/devkit#1159 bug, in which the release step walked a baredistdirectory path and force-added every file it found without consulting.gitignore. devkit fixed that upstream, but the tracked residue survived here. Each.d.ts.mapembeds an absolutesourceRootpointing at the CI runner's checkout path, so a rebuild anywhere else reported six modified files and the "deterministic across checkout locations" property thatdist-check.ymlandrelease-extension.ymlboth rely on held only by coincidence of build location.git rm -r --cached dist/srcclears it:dist/index.jsanddist/package.jsonare once again the only tracked paths,just bundleleaves a clean tree on any machine, and the finalize commit no longer writes runner paths into each release tag.vig-os/sync-issues-action (vig-os/sync-issues-action)
v0.5.0Compare Source
Added
client-idinput as the preferred GitHub App credential (#168)createAppAuthexactly asapp-idis; setting both inputs fails with an explicit errorChanged
tsxfrom4.23.7to4.23.11(#169)Deprecated
app-idinput (#168)client-idinsteadv0.4.1Compare Source
Changed
@typescript-eslint/eslint-pluginfrom8.65.0to8.66.0@typescript-eslint/parserfrom8.65.0to8.66.0globalsfrom17.8.0to17.9.0tsxfrom4.23.1to4.23.7typescript-eslintfrom8.65.0to8.66.0@octokit/auth-appfrom8.2.0to8.3.0(#159)actions/attestfromv4.2.0tov4.2.2(#158)globalsfrom17.7.0to17.8.0(#155)typescriptfrom^5.3.2to^6.0.0(#150)@typescript-eslint/eslint-pluginfrom8.64.0to8.65.0@typescript-eslint/parserfrom8.64.0to8.65.0eslintfrom10.7.0to10.8.0prettierfrom3.9.5to3.9.6ts-jestfrom29.4.11to29.4.12typescript-eslintfrom8.64.0to8.65.0astral-sh/setup-uvfromv8.3.2tov9.0.0(#151)actions/attestfromv4.1.1tov4.2.0actions/checkoutfromv7.0.0tov7.0.1ossf/scorecard-actionfromv2.4.3tov2.4.4github/codeql-actionfrom7188fc3toe4fba86(#147)vigosflake input to?ref=1.4.0and re-lockflake.lockzizmorsecurity baseline (newzizmor.yml) and its upstream fixes:persist-credentials: falseon the read-only checkouts (ci.ymlresolve/lint/test/dependency-review,codeql.yml,renovate-changelog-build.yml,sync-issues.yml) and thesync-main-to-dev.ymltemplate-injection fix (release-app token moved to stepenv:) (vig-os/devkit#1182)ci.ymltoolchain jobs (lint,test,commit-checks,summary) routeruns-onthrough the newresolve-toolchainrunner-jsonoutput driven by the optional.vig-osDEVKIT_CI_RUNNERkey; absent here, so the jobs keepubuntu-24.04(vig-os/devkit#1173)shellHookenvironment toGITHUB_ENV(vig-os/devkit#1180) and the basejustfileships awith-native-libsrecipe for uvx native wheels (vig-os/devkit#1181)vigosflake input to?ref=1.3.1and re-lockflake.lock(previously floated on the devkit default branch)paths:filter now renders the Node globs natively (**.ts,**.js,**.mjs,**.cjs,.github/workflows/**), retiring the hand patch (vig-os/devkit#1142)dist/index.jsnow runs as a final-release job in the consumer-ownedrelease-extension.yml, using the token ceiling devkit 1.3.1 grants the seam (vig-os/devkit#1144); the standaloneattest-release.ymltag-push workflow is removed (resolves the deviation tracked in #106)Fixed
dist/bundle and untrack stray tsc emit (#164)dist/index.jsso the shipped bundle picks up the runtime/toolchain bumps that landed ondevwithout a rebundle (@octokit/auth-app8.3.0, TypeScript 6)git rm --cachedthe gitignored-but-trackeddist/src/**anddist/tsconfig.tsbuildinfore-added by the v0.4.0 finalize; the devkit 1.6.0 finalize (vig-os/devkit#1159) no longer force-adds them, so the untrack now persistspackage.jsonversion (0.2.2) with the release trainConfiguration
📅 Schedule: (in timezone Etc/UTC)
🚦 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 if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.