Repository navigation
revert: restore the #1447 and #1448 content dropped by failed-run rollbacks - #1460
Merged
c-vigo merged 1 commit intoAug 12, 2026
Merged
Conversation
…lbacks Two failed release.yml dispatches ran their Rollback on Failure job, which resets the branch tree to the pre-finalize SHA captured at validate start. Finalize was skipped in both runs, so nothing needed rolling back, but the reset still discarded everything merged since each run began. Reverts c1cc5d8 (dropped #1448) and 71cd72f (dropped #1447). Refs: #1459
c-vigo
added a commit
that referenced
this pull request
Aug 12, 2026
Executed decision matrix + workflow-shape assertions for the rollback job in both release.yml copies: no-op when finalize never ran or for candidates, refuse loudly when the branch tip is not exactly the commit(s) this run wrote, and revert only after the chain proof. Red against the current tree-reset logic that destroyed foreign commits in #1459/#1460. Refs: #1462
c-vigo
added a commit
that referenced
this pull request
Aug 12, 2026
The rollback job reset the branch tree to the run-start PRE_SHA whenever a failed run's tip had moved, destroying commits merged mid-run (#1459/#1460). It now no-ops when finalize never ran (and on branch-neutral candidates), verifies the tip is exactly the finalize commit — optionally with the sync-issues commit on top — parented on the snapshot, using SHAs finalize exports as job outputs, and refuses loudly otherwise. The scaffolded consumer rollback swaps its git reset --hard + force push for the identical guarded Git Data API revert; release-core exposes finalize_result/finalize_commit_sha to the caller, and the devkit PR-body restore skips when finalize was skipped. Refs: #1462
Merged
vig-os-release-app Bot
added a commit
that referenced
this pull request
Aug 12, 2026
# [Release 1.8.0](https://github.com/vig-os/devkit/releases/tag/1.8.0) - 2026-08-12 This PR prepares release 1.8.0 for merge to main. ## [1.8.0](https://github.com/vig-os/devkit/releases/tag/1.8.0) - 2026-08-12 ### Added - **`just doctor` now ships on the consumer surface** ([#1448](#1448)) - The host preflight added in [#1418](#1418) / [#1430](#1430) existed only in devkit's own justfile, so a scaffolded repo had none. The managed root `justfile` now carries the same diagnostic — git identity, commit signing, `core.hooksPath`, ssh-agent, `gh` auth — reported as `PASS`/`WARN` lines, always exiting 0 - The `core.hooksPath` remediation hint is delivery-mode aware, read from `.vig-os` `DEVKIT_MODE`: the universal `git config core.hooksPath .githooks` in every mode, plus the entry point that normally wires it (reopen the devcontainer, or `direnv allow` for the dev-shell hook from [#1112](#1112)). `bare` and ad-hoc checkouts, where nothing wires it, get the direct command only — never devkit's own `./scripts/init.sh`, which no consumer has - Lives in the managed root `justfile`, the only justfile layer present in every delivery mode, so upgrades deliver it; `justfile.project` is preserved on upgrade and would never reach an existing consumer - **`just doctor` reports whether the git hooks are actually wired** ([#1430](#1430)) - New `core.hooksPath` diagnostic: `PASS` when it points at `.githooks`, `WARN` otherwise, distinguishing "not set" (a fresh clone, where the tracked `.githooks/` shims are on disk but inert) from "set to something else", both with a `./scripts/init.sh` remediation hint - Closes the last gap in #1430: an un-initialised clone now has a local signal it can read before its first commit lands, complementing the CI branch-name and `Refs:` gates that hold regardless of local git config - `doctor` remains diagnostics-only and still always exits 0 - **Branch-types knob (`DEVKIT_BRANCH_TYPES`) + CI branch-name gate** ([#1432](#1432)) - New `.vig-os` key: a comma-separated full replacement of the issue-numbered `<type>/<issue>-<summary>` branch-type set, rendered into the scaffolded `no-commit-to-branch` pattern, the flake-generated consumer surface (new `mkProjectShell` `branchTypes` argument; the template `flake.nix` reads the key at eval time), and CI — one key, every gate; the `chore/`, `renovate/`, `worktree/` clauses stay fixed - New CI branch-name gate ([#1430](#1430)): the commit-checks lane now validates the PR head ref against the resolved type set plus automation allowances (`release/X.Y.Z`, `renovate/*`, `worktree/<n>`, bot `chore/` branches, `main`/`dev`) — enforcement that survives a fresh clone whose local hooks are not yet wired (`core.hooksPath`), also added to devkit's own CI - Empty key keeps every render byte-identical; the value round-trips across `--force` upgrades; out-of-charset values fail the scaffold (and `nix develop`) loudly while CI falls back to the stock set with a warning; dropping `release` prints a notice - **Scaffold-time commit-types knob (`DEVKIT_COMMIT_TYPES`)** ([#1431](#1431)) - New `.vig-os` key: a comma-separated full replacement of the approved commit types, rendered into the `validate-commit-msg` hook's `--types` arg at scaffold time and driving CI's `validate-commit-range` via resolve-toolchain's new `commit-types` output — one key, both gates - `DEVKIT_REFS_POLICY=optional` now mirrors the resolved list (custom or stock), so the two knobs compose; empty key keeps the default scaffold byte-identical - The value round-trips across `--force` upgrades; out-of-charset values fail the scaffold loudly (CI falls back to the stock list with a warning), and dropping the bot types (`chore`/`build`) prints a notice - **`just doctor` host diagnostics + audit coverage gaps closed** ([#1418](#1418)) - New `just doctor` recipe reports host prerequisites (git identity, commit signing, ssh-agent, gh auth) as PASS/WARN diagnostics and always exits 0 - New tests for previously uncovered behavior: `docs/generate.py` skill parsing/grouping units, image coverage for nvim/actionlint and locale archive resolution, read-only token-ceiling pins for the scaffolded release jobs, and stub-driven behavioral tests for the scaffolded `devc-upgrade` recipe - **Changelog entries for devkit adoption PRs** ([#1404](#1404)) - The scaffolded `renovate-changelog-build.yml` now also accepts PRs opened by the devkit-upgrade App (`vigos-devkit-upgrade[bot]`), so an adoption PR gets an `Adopt vigOS devkit X.Y.Z` entry under `## Unreleased` → `### Changed`, linking the PR and the devkit release notes — the same pipeline Renovate PRs already use - `renovate-changelog-pr` branches on the PR title (`chore: adopt devkit X.Y.Z[-rcN]`) and skips the Renovate dependency parser for adoption PRs; it also no-ops instead of crashing when the consumer has no `CHANGELOG.md` - The privileged commit message is generalized to `docs(changelog): add unreleased entry for PR N` ### Changed - **Allow `renovate/*` branches in the branch guard** ([#1433](#1433)) - The `no-commit-to-branch` pattern (committed hook config, scaffold template, and flake-generated consumer surface) now admits Renovate's tool-owned branch namespace, so maintainer fix-up commits on Renovate PRs (changelog conflict merges, `dist/` rebuilds) no longer need the commit-on-a-compliant-branch-then-`git push HEAD:renovate/…` workaround - **Mirror-mode consumers integrate the issue archive via the release train** ([#1424](#1424)) - With `DEVKIT_SYNC_TARGET` set, the scaffolded `release-core.yml` final leg now dispatches sync-issues onto the **mirror** (the only branch that may advance the shared incremental-sync cutoff) and then folds the mirror's `docs/issues/` + `docs/pull-requests/` into the release branch, so the full archive reaches `main` through the human-approved release PR — previously the mirror diverged forever and `main` never carried the archive - The scaffolded `promote-release.yml` gains a rendered `reset-sync-mirror` job that force-resets the mirror onto `main` after the release PR merges, bounding its divergence to post-release snapshot commits - Unset knob renders byte-identical templates; no change for non-mirror consumers - **Bot changelog entries are synthesized at release time** ([#1423](#1423)) - New `synthesize-bot-changelog` (vig-utils) enumerates merged bot PRs (Renovate, devkit adoptions) since the last stable tag and regenerates a `#### Dependencies` block under `### Changed`, coalesced to the net delta per dependency with every contributing PR cited; lock-file-maintenance PRs — previously skipped entirely — roll up per ecosystem, and adoption PRs coalesce to the shipped devkit version - Runs at the two dispatch points that own changelog mutation: release cut (`prepare-release.yml`, before the content gate and freeze) and the final finalize pass (`release.yml` / scaffolded `release-core.yml`, before the date stamp) — a bot PR merged into the release branch mid-train is picked up at finalize; candidates stay changelog-neutral - The per-PR `renovate-changelog-build.yml` + `renovate-changelog-commit.yml` pipeline is deleted from devkit and the scaffold (retired paths, pruned on consumer upgrade): bot PR branches no longer receive changelog commits, so concurrent Renovate PRs stop conflicting on `## Unreleased`, Renovate's own conflict rebase works again, and the double CI run per bot PR disappears - The scaffolded prepare-release content gate moves from the host-only validate job into the toolchain-capable prepare job so a train whose only content is bot PRs still cuts - New `just changelog-preview` prints the pending block read-only - **Refresh `CLAUDE.md` and add the green-CI dispatch rule** ([#1411](#1411)) - `CLAUDE.md`: correct the project title to `vig-os/devkit`, add the missing `/solve-and-pr` command row, and add a lean "Release Operations" section pointing at the release doc set plus the agent-behavioral hard rules (green-CI-before-dispatch, immutable-release forward-fix, automated consumer adoption — no per-consumer lane dispatch) - `docs/RELEASE_CYCLE.md` Phase 2: state the hard rule that `release.yml` must never be dispatched until the release-branch PR CI is fully green — the release PR opening is not the go-signal - **Document the smoke-test final-release human-approval gate** ([#1409](#1409)) - `docs/CROSS_REPO_RELEASE_GATE.md` now describes the approval gate shipped in 1.7.0 (candidates leave the smoke release PR unapproved; the final dispatch polls `reviewDecision` for a human approval, 30-minute window) and its two contract dependencies: required reviews on smoke-test `main` (org-config-owned) and default-branch listener execution (asset SSoT, hotfix-main + mirror procedure) - `docs/RELEASE_CYCLE.md` Phase 5 gains the explicit operator step: approve the freshly created smoke-test release PR while the final dispatch is paused at the gate, with timeout recovery (approve, then re-run failed jobs) - **`devkit-upgrade` no longer opens a per-train adoption issue** ([#1405](#1405)) - Adoption PRs are bot PRs like Renovate's: the PR is the traceable artifact and the changelog entry ([#1404](#1404)) links it. On gitflow consumers the dev-targeted `Closes #N` never auto-closed anyway, stranding an open issue every train - The upgrade branch becomes `chore/devkit-<train>` (the guard-legal issue-less shape), the staging commit drops its `Refs:` line (`chore` is exempt), and the PR body links the devkit release notes - The #1347 no-diff cleanup step and the token's `issues: write` grant are removed — a no-diff run now strands nothing by construction - One-time migration: close any adoption issues left open by earlier trains on the consumers ### Removed - **Dead `git_user_name` / `git_user_email` plumbing dropped from the scaffolded release workflows** ([#1470](#1470)) - The Git Data API rollback ([#1462](#1462)) removed the last consumer of the git identity threaded through the release train, so the `release.yml` dispatch inputs (`git-user-name` / `git-user-email`), the `release-core.yml` `workflow_call` declarations, and the `prepare-release.yml` dispatch inputs plus their forwarding into the `prepare-release-extension.yml` hook contract are all gone - Orchestrator and core ship together via the scaffold, so caller and callee change in lockstep — no consumer action is needed beyond the normal upgrade. Preserved consumer copies of `prepare-release-extension.yml` that still declare the optional pair remain valid and simply fall back to their own declared defaults - **`devc-upgrade` recipe removed from the scaffold** ([#1421](#1421)) - Upgrades are driven by the `devkit-upgrade` workflow's adoption PRs; the local recipe wrapped `install.sh --force` and steered users around the reviewed flow. The `version-check.sh` notification now points automation-wired repos at the adoption PR and falls back to the `install.sh --force` one-liner for repos without the workflow. **Breaking** for consumers scripting `just devc-upgrade` — use the one-liner instead ### Fixed - **Smoke deploys no longer delete consumer-owned files** ([#1466](#1466)) - The smoke-mode scaffold copy ran `rsync --delete`, removing every tracked path the template does not ship — the smoke repo's own `pyproject.toml`, `uv.lock`, `src/` and `tests/` among them. Harmless while the deploy commit was built additively; once [#1443](#1443) started publishing the installer's deletions, the deploy committed them and the repo lost its Python project, which in turn made the scaffold-drift gate re-render CodeQL and `.gitignore` language-neutral and aborted the release gate - Retiring a path is the [#1348](#1348) manifest's job, and the drift gate re-scaffolds in normal mode, which never deletes — so smoke mode now copies without `--delete` and the two modes agree by construction - **Release rollback no longer resets the branch to a stale run-start snapshot** ([#1462](#1462)) - The `release.yml` rollback job rebuilt the branch tree at `PRE_SHA` (captured when `validate` started) whenever a failed run's tip had moved, silently destroying commits merged mid-run — twice on `release/1.8.0` ([#1459](#1459) / [#1460](#1460)), both times with `finalize` skipped and nothing to roll back - The rollback now no-ops when `finalize` never ran (and on candidates, which are branch-neutral), and otherwise refuses loudly unless the tip is exactly the commit(s) this run wrote — the finalize commit, optionally with the sync-issues commit on top, parented on the snapshot — which `finalize` now exports as job outputs; only then is the tree revert performed, making it equivalent to reverting the run's own commits - The scaffolded consumer `release.yml` rollback carried the same exposure as a `git reset --hard` + force push; it now runs the identical guarded Git Data API revert (no history rewrite, no release-branch checkout), and `release-core.yml` exposes `finalize_result` / `finalize_commit_sha` to the caller. The devkit PR-body restore step likewise skips when `finalize` never rewrote the PR body - **`just worktree-start` no longer unsets `core.hooksPath` repo-wide** ([#1463](#1463)) - `core.hooksPath` is shared repo config, so unsetting it from inside the new linked worktree silently disarmed the main checkout's tracked `.githooks` shims — the [#1430](#1430) failure mode, self-inflicted by a primary devkit workflow - A relative `core.hooksPath` resolves against each worktree's root and `.githooks` is tracked, so when it is set the tracked shims already cover every hook stage in the new worktree: `worktree-start` now leaves the config untouched and skips the `prek install`, falling back to the old install-into-shared-`.git/hooks` path only when no hooks path is configured at all - Fixed in both copies (devkit's `justfile.worktree` and the scaffolded `.devcontainer/justfile.worktree`), pinned by bats tests driving the real recipe in a sandbox repo - **`just doctor` no longer calls the git hooks inert inside a linked worktree** ([#1454](#1454)) - `just worktree-start` unsets `core.hooksPath` in the worktree on purpose — prek refuses to install its shims while it is set — and installs those shims instead; `hooks` is one of git's shared paths, so they land in the common git dir and git runs them from inside the worktree. Both `doctor` recipes read that intended state as the fresh-clone failure and reported `WARN git hooks: … tracked but inert`, whose remediation would have undone the worktree setup - A linked worktree with an installed, executable `hooks/pre-commit` now reports `PASS git hooks: linked worktree, installed at <path>`. A linked worktree with no installed shim is genuinely inert and still warns, as do all the other unset and set-elsewhere cases - Fixed in devkit's own `justfile` and the scaffolded `assets/workspace/justfile` in the same change, keeping the two recipes in step for the [#1448](#1448) drift guard - **`check-expirations` resolves from the devkit pin in generated consumer hooks** ([#1447](#1447)) - It was the last vig-utils hook whose flake-generated consumer fragment shelled out to `uv run`, i.e. to the *consumer's* project venv — which carries no `vig-utils`, and which many consumers do not have at all (no `pyproject.toml`). The entry now resolves a `nix/vig-utils.nix` store path, like the three hooks fixed in [#1434](#1434) and every other tool-naming consumer fragment, so the hook follows the devkit pin the consumer bumps with `nix flake update vigos` - The committed `.pre-commit-config.yaml` renders are unchanged: only the consumer surface moves off `uv run`, and a new class-wide test rejects any future consumer fragment that names a vig-utils console script without a store path - **Smoke deploy now publishes installer deletions to the deploy branch** ([#1443](#1443)) - The smoke-test dispatch deploy committed via `commit-action`, which builds its tree additively from working-tree contents and cannot express file deletions — so paths the installer removed (retired scaffold paths, #1348) silently survived on the deploy branch and the scaffold-drift gate rejected the deploy PR (its second live catch, after [#1344](#1344)); caught on the 1.8.0-rc1 dispatch, where the per-PR renovate-changelog workflows retired by [#1423](#1423) rode along - The deploy job now publishes `git ls-files --deleted` as a follow-up verified API commit of null-sha tree entries — the same tree-API pattern the scaffolded `devkit-upgrade.yml` already uses for adoption PRs (which were never affected) - **Smoke dispatch template deploy branch is now dot-free** ([#1444](#1444)) - The template still generated `chore/deploy-<tag>` with dots, which the scaffolded CI branch-name gate ([#1432](#1432)) rejects (`^chore/[a-z0-9]+(-[a-z0-9]+)*$`). The live listener was hand-fixed (devkit-smoke-test#354) but every deploy overlays the template back over it, re-arming the regression for the next train. Dots now map to dashes in the template SSoT, matching the live listener - **Flake-generated hooks now carry the commit-message and agent-identity guards** ([#1434](#1434)) - A direnv consumer on flake-generated hooks had **no local commit-message or agent-identity enforcement at all**: `validate-commit-msg`, `prepare-commit-msg-strip-trailers` and `check-agent-identity` carried no consumer fragment, so the scaffolded `.githooks/commit-msg` shim ran an empty stage and exited 0, and `git commit --author="Claude <…>"` passed locally. All three now render into `mkProjectShell`'s generated config, resolving the vig-utils console scripts from the pinned devkit rather than the project venv - `mkProjectShell` gains `commitTypes` and `refsPolicy` arguments so `DEVKIT_COMMIT_TYPES` ([#1431](#1431)) and `DEVKIT_REFS_POLICY` ([#1282](#1282)) steer the generated hook exactly as they steer the scaffolded YAML and CI — same defaults, same charset guard, same `optional`-mirrors-the-resolved-types composition, same `required` sentinel. The template `flake.nix` reads both keys from `.vig-os`; consumers whose `flake.nix` predates this hand-port the reader (`docs/MIGRATION.md`) - Unset knobs keep the generated config byte-identical to the previous render, and a consumer that never opts into hooks is untouched - **Scaffolded CI summary gate now fails on cancelled required checks** ([#1414](#1414)) - The consumer `ci.yml` summary treated a cancelled `lint`, `test`, `commit-checks`, `scaffold-drift`, or `dependency-review` job as green (only `resolve-toolchain` had the cancelled leg), so a PR whose CI run was cancelled could still merge — the #1371 doctrine now applies to every needed job in both the devkit and scaffolded copies, pinned by a parametrized shape test - **Automated main→dev sync PR no longer opens conflicted on every release** ([#1403](#1403)) - `sync-main-to-dev` now auto-resolves add/add conflicts on generated `docs/issues/` / `docs/pull-requests/` snapshots: a GitHub-signed commit-action commit aligns the sync branch with dev's copies (the signed-commits ruleset forbids a runner merge commit; dev self-heals at the next nightly sync-issues run), the merge is re-verified with `git merge-tree`, and only then is auto-merge enabled. Any other conflict keeps the manual `merge-conflict` path. Applied to both the canonical workflow and the workspace template. - Smoke deploys preserve the consumer's root `CHANGELOG.md` (root-anchored rsync exclude; the scaffold skeleton is bootstrapped only when absent) instead of overwriting it with devkit's release history — the old copy rewrote the consumer's frozen `## [X.Y.Z] - TBD` heading with devkit's dated release line, guaranteeing a sync conflict at every smoke release. - The smoke-test deploy-entry seeding awk is bounded at the next release heading and synthesizes `### Changed` when `## Unreleased` lacks one. - **Smoke-test failure-notify job can mint its upstream App token again** ([#1396](#1396)) - The listener's notify job requested an installation token for the pre-rename `vig-os/devcontainer` repository, so the mint failed with 404 and no upstream failure issue was ever filed. It now targets `vig-os/devkit`.
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.
Description
Fixes #1459. Targets
release/1.8.0. Restores the #1447 and #1448 content that two failedrelease.ymldispatches stripped off the release branch.Both PRs (#1449, #1451) merged green and both issues are closed, but the content is absent from the branch tip. Without this, 1.8.0 would ship claiming two fixes it does not contain, and the changelog would omit both.
71cd72fb31583273344(failed:Candidate tag '1.8.0-rc2' already exists on origin)nix/hooks.nixfix, 102 lines of tests, changelog entryc1cc5d8231584765199(failed: validate's PR gate — #1441 is a draft withREVIEW_REQUIRED)doctorrecipe, 241-lineconsumer-doctor.bats, changelog entryType of Change
revert-- Reverts a previous commitModifiers
!) -- This change breaks backward compatibilityChanges Made
git revert --no-commit c1cc5d82 71cd72fb, squashed into one commit. No hand edits, no conflicts:Root cause (tracked separately — not fixed here)
release.yml's Rollback on Failure job (.github/workflows/release.yml:1551) builds a commit whose tree isPRE_SHA— the branch tip captured whenvalidatestarted — parented onto the current tip. A tree-level reset expressed as a commit.Two properties make it destructive:
validatefails.Finalize Releasewas skipped in both runs — nothing needed rolling back — yet the tree was reset anyway.PRE_SHAis a run-start snapshot, so anything merged to the release branch while a release run is in flight is destroyed if that run fails, related to the release or not.The trigger was merging into the release branch while a run was live. The defect is that a rollback for a step that never executed discards unrelated merged commits. Filed separately; this PR only restores content.
Interim operating rule: never merge into a release branch while a
release.ymlrun is in flight.Changelog Entry
No new entry. This restores the #1447 and #1448 entries that the rollbacks deleted from the
## [1.8.0] - TBDsection; adding a "restored the changelog" bullet would be noise in the released notes.Testing
Manual Testing Details
Content restoration verified item by item on the branch:
check-expirationsstore-path entry (nix/hooks.nix)TestNoConsumerHookResolvesVigUtilsThroughTheVenvdoctorrecipe (assets/workspace/justfile)tests/bats/consumer-doctor.batsbats tests/bats/-> 496 ok, 0 not ok, exit 0 — exactly the pre-loss baseline, confirming [FEATURE] Ship a doctor recipe on the consumer surface (host preflight for scaffolded repos) #1448's 14 tests are back and passing.uv run pytest tests/test_flake_hooks.py-> 63 passed, exit 0 — [BUG] check-expirations consumer fragment still resolves through the project venv (uv run) instead of a store path #1447's tests restored and green.uv run pytest tests/ -q-> 780 passed, 20 skipped, 1 failed. The single failure is the knowntests/test_image.py::TestFileStructure::test_manifest_files, which checksums the working-treeCHANGELOG.mdagainst a stale locally cached devcontainer image; it reproduces on a cleandevwithout this branch, and CI rebuilds the image.prek run --all-files-> exit 0, fully green.git statusclean; no stray or untracked files in the revert.Checklist
CHANGELOG.md(restores the deleted entries)Additional Notes
Merge only while no
release.ymlrun is in flight — otherwise this PR is subject to the very defect it repairs. I will re-check immediately before merging.1.8.0-rc2is stale. It is tagged atb60b306a, which predates #1447, #1448, #1453 and #1454. After this lands (and #1454 after it) the branch matches no existing RC, so a fresh candidate is warranted before finalize rather than finalizing content no RC validated. Published tags are immutable, so it must be rc3 — re-dispatching rc2 is what failed at 09:31.#1454 is complete and pushed but not yet PR'd: its
consumer-doctor.batsadditions conflict until this restores the base file.Closes #1459
Refs: #1459