Repository navigation
feat(workflow): publish the devkit-upgrade adoption commit via API (verified) - #1309
Merged
Merged
Conversation
…erified) The in-shell staging commit keeps hook fidelity but is unsigned, and consumers' Signed-commits rulesets rightfully reject it at push (first live dispatch, smoke-test PR #316 — closed unmerged; the interim ruleset bypass was reverted as wrong-model). Replay the staged tree through the git-data API with the minted App token instead: blobs -> tree -> commit -> ref. API commits are GitHub-signed as the App, per-entry tree modes keep executable bits (createCommitOnBranch would drop them, and commit-action v0.3.x lacks deletion + branch-bootstrap support, hence inline REST), deletions ride as null-sha entries, and the branch ref is force-updated for within-train rc->rc->final reuse. The unsigned commit never leaves the runner; no ruleset bypasses anywhere. Refs: #1308
c-vigo
added a commit
that referenced
this pull request
Jul 30, 2026
#1310) ## Summary The 1.5.1 re-cut (maintainer decision): devkit-smoke-test's tag \`1.5.0\` is tombstoned by org-enforced release immutability (its 1.5.0 was published mid-train and deleted during restart #1), so the cross-repo promote gate can never pass for 1.5.0. The fully validated content re-releases as **1.5.1**; 1.5.0 becomes a ghost (devkit's never-published tag + draft get deleted). - Merges \`release/1.5.0\` back into dev — the sync promote would have performed: #1302/#1304 (App-only auth), #1305 tail, #1308/#1309 (verified API publish), release-branch changelog state. - Changelog: empty finalize scaffold excised, dated 1.5.0 section unprepared back to \`## Unreleased\` so \`prepare-release 1.5.1\` freezes it. All rc4 validation evidence (devkit#1301 evidence trail) applies verbatim — 1.5.1's content is byte-identical apart from the version string. Refs: #1308
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.
Summary
Closes #1308 — third and final 1.5.0 restart item (maintainer-approved): the adoption commit that reaches consumers is now GitHub-signed as the App. The in-shell commit stays exactly as designed (hooks run, message validated) but becomes a staging artifact; its tree is replayed through the git-data API with the minted App token — blobs → tree → commit → ref.
Design decisions:
statSyncs every path (no deletions — the scaffold prunes files) and has no branch bootstrap; extending it would put a cross-repo TS release on the critical path. Follow-up candidate: teach commit-action deletions and migrate.createCommitOnBranch: it drops executable modes; the tree API carries an explicit mode per entry (100755preserved).git pushis gone from the template; Signed-commits rulesets stay fully enforced with zero bypass actors.- TBDheading restored (re-finalize re-stamps); feat(workflow): devkit-upgrade must publish verified commits (API tree replay, commit-app pattern) #1308 sub-bullet added under the feat(workflow): self-polling devkit-upgrade workflow (auto adoption PR in consumers) #1296 entry.Verification
TDD:
test_publishes_a_verified_commit_via_api_not_git_pushRED at be91036 → GREEN (16/16); zizmor 1.25.2 clean; full pre-commit suite green. Live proof at rc4: pin-gap harness dispatch on devkit-smoke-test must yield an adoption PR whose commit shows Verified — the last unproven leg of the feature.Refs: #1308