Skip to content

feat(workflow): publish the devkit-upgrade adoption commit via API (verified) - #1309

Merged
c-vigo merged 2 commits into
release/1.5.0from
feature/1308-verified-commits
Jul 30, 2026
Merged

c-vigo merged 2 commits into
release/1.5.0from
feature/1308-verified-commits

Conversation

@c-vigo

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

Copy link
Copy Markdown
Contributor

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:

Verification

TDD: test_publishes_a_verified_commit_via_api_not_git_push RED 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

c-vigo added 2 commits July 30, 2026 16:13
…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
c-vigo merged commit 28b5352 into release/1.5.0 Jul 30, 2026
13 checks passed
@c-vigo
c-vigo deleted the feature/1308-verified-commits branch July 30, 2026 16:25
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant