Repository navigation
chore: sync dev with main - #1520
Merged
Merged
Conversation
The 1503 entry named the Actions bot identity literally, and the release PR body is generated from the CHANGELOG, so the fingerprint check blocked the 1.10.0 release PR. Reword to descriptive prose. Refs: #1516
## Summary Rewords the #1503 entry in the frozen `[1.10.0] - TBD` section: the entry named the Actions bot identity literally, and `prepare-release` copies the CHANGELOG into the release PR body, where the agent-fingerprint check (`Commit Messages` job) blocks that string — CI on release PR #1515 is red solely because of it. Descriptive prose ("the default GitHub Actions identity") carries the same information without the literal. Verified locally: `check-pr-agent-fingerprints` passes on the reworded section. `dev` intentionally untouched — the post-promote sync merge carries the reworded `[1.10.0]` section back cleanly (dev's copy stays at the merge base). Checker-side hardening (contextual email matching / code-span stripping) stays open in the issue for a later milestone. Closes #1516 ## Checklist - [x] CHANGELOG: no entry needed (wording-only fix inside the frozen 1.10.0 section itself) - [x] Full pre-commit suite green locally
Set release date to 2026-08-14 and regenerate release docs. Refs: #1515
# [Release 1.10.0](https://github.com/vig-os/devkit/releases/tag/1.10.0) - 2026-08-14 This PR prepares release 1.10.0 for merge to main. ## [1.10.0](https://github.com/vig-os/devkit/releases/tag/1.10.0) - 2026-08-14 ### Added - **`just abandon-release X.Y.Z` — first-class rejection path at promote time** ([#1504](#1504)) - Dispatches the new `abandon-release.yml`, which (as the Release App, the same tag-ruleset-bypass machinery as promote's RC prune) deletes the **draft** GitHub Release by id, deletes the `X.Y.Z` tag, closes the release PR with an audit comment, and deletes `release/X.Y.Z` — idempotent and re-runnable, with a fail-closed verification pass - Hard-refuses a **published** release: deleting one tombstones its tag name permanently (the 1.5.0 ghost); fix forward instead - **Consumer abandon-release: the scaffold ships the workflow the recipe dispatches** ([#1511](#1511)) - `.github/workflows/abandon-release.yml` joins the scaffolded release set: the same draft-only server-side guards as devkit's, with the tag composed as `<DEVKIT_TAG_PREFIX>X.Y.Z` via a leading `resolve-toolchain` job and the consumer `publish-release` concurrency lane - The `just abandon-release` recipe now syncs into the consumer `justfile.gh` (the devkit-only `RemoveBlock` is dropped), and the workflow is part of the `release` feature group - Documented in `docs/DOWNSTREAM_RELEASE.md` as the guarded exception to the no-tag-deletion rollback policy ### Changed - **Release train: the single human approval is collected at promote, not before finalize** ([#1504](#1504)) - `release.yml`'s validate job (and the consumer `release-core.yml`) no longer asserts review state for finals — the draft and CI gates stay; candidates are unchanged ([#902](#902)) - The promote-side gates ([#1487](#1487)) are unchanged and become the cycle's only approval, landing on the release content exactly as it ships — finalize commits included. Supersedes the two-approval flow of [#1474](#1474) under its own stated revisit condition - **Smoke-test gate: the human approval of the smoke release PR is gone** ([#1506](#1506)) - The listener's `Gate final release on human approval of release PR` poll is removed: the smoke PR is entirely bot-authored, its Main protection requires no approving reviews ([org-config#167](vig-os/org-config#167)), and the operative controls are green smoke CI plus devkit's published-smoke-release validation at promote. Resolves the [#1391](#1391) workaround by removal rather than by auto-approval - The consumer `promote-release.yml` approval gates (validate + merge) are now protection-aware: when the base branch's rules require zero approving reviews, the approval assertion is skipped — explicitly, logged — instead of falling into the [#438](#438) fallback and failing a PR the platform itself would merge. Repos whose rules require reviews are unchanged; devkit's own promote gates are untouched - Sequencing with the ruleset change is recorded in `docs/CROSS_REPO_RELEASE_GATE.md` (either half alone breaks the final leg) ### Fixed - **Upgrade staleness is observable on both axes** ([#1497](#1497)) - The flake auto-bump is name-agnostic: any input at the floating `github:vig-os/devkit` URL is advanced, whatever the consumer named it; pinned refs (`?ref=X` or the `/X` path form) are never auto-bumped but the skip is reported — every `install.sh --force` run prints one `flake-bump:` outcome line, and `devkit-upgrade.yml` carries it into the adoption PR body and the step summary - The #1093 pin-skew warning is likewise name-agnostic and now recognizes the `/X` path-ref form - New warn-only `devkit-staleness` job in the scaffolded `ci.yml`: compares `DEVKIT_VERSION` against the latest devkit release and annotates PRs with "N release(s) behind" — cheap API query, not gated on `DEVKIT_DRIFT_CHECK`, never fails the build, and deliberately outside the summary gate - **`install.sh --force` no longer wipes `.vig-os` on a mid-run failure** ([#1480](#1480)) - `.vig-os` and the root `.gitignore` are snapshotted before the template copy and restored byte-for-byte on any failing exit inside the refill window, with a loud message naming what was restored and warning that other scaffold files may be half-applied - The `u+w` permission sweep is scoped to template-derived paths (keyed on the template tree, like the #1195 `+x` sweep) — it no longer walks the consumer's `.git`, `target/`, or `node_modules`, the surface of the transient walk failure that aborted the field run destructively - **Smoke listener: a partially-created deploy PR is recoverable again** ([#1499](#1499)) - `gh pr create --label` labels in a second mutation. When that mutation hit a transient GraphQL 500 on the 1.9.0 rc1 train, the step failed *after* creating the PR: `pr_url` never reached `GITHUB_OUTPUT` (so every downstream job skipped) and an unlabelled deploy PR was left open, which the label-only stale-PR cleanup could not see. The documented recovery — re-run the failed jobs — then deadlocked on "a pull request already exists" until a human labelled the PR by hand - Stale deploy PRs are now reclaimed by head branch (`chore/deploy-*`) as well as by label; the branch name is pushed before the PR exists, so no partial failure can lose it - The deploy step adopts an open PR already on the deploy branch instead of failing on it, and records `pr_url` before any labelling; labelling moved to its own retrying, non-fatal step - `notify-failure` retries the upstream incident issue, which died to the same transient 20 s later and filed nothing at all - **Mirror-mode release: the archive fold committed nothing, silently** ([#1502](#1502)) - The fold passed its path list to `commit-action` newline-separated, but the action parses `FILE_PATHS` as comma-separated. The whole blob resolved to one nonexistent path, so the action logged `No files to commit` and returned **success**: the job announced "Folding 92 mirror archive path(s)" and the release branch never moved, taking the issue/PR snapshots out of `main`. Single-file callers could never expose it - The list is now comma-joined from `git diff --cached -z`, which also fixes two latent mis-parses in the old `git status --porcelain | awk '{print $2}'` (C-quoted paths containing spaces, and `R old -> new` renames), and fails loudly on a path containing a comma rather than mis-splitting it - The re-pull step now **verifies the post-condition**: if the release branch does not carry the mirror's archive after the fold, the leg fails instead of reporting success - **Mirror-mode promote: the mirror reset 403'd, and would have deleted the archive if it had succeeded** ([#1503](#1503)) - `promote-release.yml`'s `reset-sync-mirror` embedded the Commit App token in the push URL, but `actions/checkout` persists its own credentials as `http.<host>.extraheader`, which outranks URL userinfo. The force-push therefore ran as the default GitHub Actions identity under `contents: read` and failed with a 403 on every mirror-mode consumer — after the release was already published, so the red run misrepresented an otherwise healthy promote. The job now generates the App token *before* checkout and checks out with it, and `contents: read` stays deliberately in place - **A new guard makes the reset non-destructive by construction.** The step force-pushes `main` onto the mirror on the assumption that main carries the folded archive; with the fold broken ([#1502](#1502)) that assumption was false and the push would have destroyed the only copy of the snapshots. The push is now gated on verifying that main holds every archive path the mirror carries, and skips with a `::warning::` otherwise — a stale mirror self-heals at the next nightly sync; deleted snapshots do not - **Floating tags: the promote-time push ran under the wrong identity** ([#1508](#1508)) - `promote-release.yml`'s `floating-tags` job embedded the Release App token in the push URL, but `actions/checkout` persists its own credentials as `http.<host>.extraheader`, which outranks URL userinfo. The push therefore authenticated as the Actions identity — which the job denies (`contents: read`) and the Tag ruleset does not bypass — so the token the step went out of its way to plumb through was never used - The App token is now generated **before** checkout and passed to it, so the shallow tag fetch and the force-push both carry the App identity; `contents: read` stays, deliberately - This affected the `git push` form introduced in 1.7.0 ([#1377](#1377)). No consumer had adopted it — the only two repos that set `DEVKIT_FLOATING_TAGS` are still on 1.6.0, where the move went through `gh api` — so **no released floating tag was ever wrong**; the path had simply never executed - The move script is now covered by tests that run its real bash against a throwaway `file://` remote: create (the first release of a level, the `#1157` case), move, idempotent skip, annotated-tag peel, and a refused push still failing loud with its remediation annotation
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.
Syncs
devwithmain(sync-main-to-dev workflow).