Skip to content

chore: merge release/1.5.0 into dev and unprepare for the 1.5.1 re-cut - #1310

Merged
c-vigo merged 17 commits into
devfrom
chore/sync-release-150-to-dev
Jul 30, 2026
Merged

c-vigo merged 17 commits into
devfrom
chore/sync-release-150-to-dev

Conversation

@c-vigo

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

Copy link
Copy Markdown
Contributor

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).

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

c-vigo and others added 17 commits July 30, 2026 09:48
…dentity)

Replace the static DEVKIT_UPGRADE_TOKEN secret with a per-run installation
token minted from DEVKIT_UPGRADE_APP_ID + DEVKIT_UPGRADE_APP_PRIVATE_KEY via
SHA-pinned actions/create-github-app-token (the pattern prepare-release.yml
already uses). A static PAT is no longer supported: user-bound, expiring, and
single-owner across the vig-os/exoma/exo-pet consumer orgs. Fail-fast names
both secrets; checkout/push, the adoption issue and the PR all authenticate
as the App so the PR still triggers CI. Contract change lands on the release
branch: #1296 has never shipped, so 1.5.0 ships App-only with no migration.

Refs: #1302
…dentity) (#1304)

## Summary

Closes #1302 — the devkit-upgrade workflow (#1296, unreleased) now
authenticates **exclusively** via a dedicated GitHub App: a per-run
installation token is minted from the `DEVKIT_UPGRADE_APP_ID` +
`DEVKIT_UPGRADE_APP_PRIVATE_KEY` secrets with SHA-pinned
`actions/create-github-app-token` (the exact pattern devkit's own
`prepare-release.yml` uses). The static `DEVKIT_UPGRADE_TOKEN` secret is
removed with no fallback: a PAT is user-bound, expiring, and
single-owner across the vig-os / exoma-ch / exo-pet consumer orgs.

- Fail-fast step names both secrets and the required App permissions
(contents, PRs, issues, workflows — all RW).
- Checkout persists the minted token, so the scaffold push, adoption
issue, and PR all act as the App and the PR triggers CI.
- Changelog: the frozen `[1.5.0] - TBD` entry for #1296 is updated in
place (unreleased section; `.devcontainer/CHANGELOG.md` copy synced by
the hook).

Targeted at `release/1.5.0`: #1296 has never shipped, so 1.5.0 ships
App-only with zero migration debt.

## Verification

TDD: `test_requires_app_identity_and_never_uses_github_token_for_pr`
rewritten first (RED at 0e3a57c), template reworked to GREEN (15/15 in
`tests/test_workflow_devkit_upgrade.py`); 278 bats ok incl.
rendered-template actionlint; full pre-commit suite green. Live dispatch
proof lands with the RC validation plan (App provisioning per #1302).

Refs: #1302
Set release date to 2026-07-30 and regenerate release docs.

Refs: #1301
…1307)

## Summary

Restart of the 1.5.0 finalization (maintainer-approved): the first live
`devkit-upgrade` dispatch exposed #1305 (runtime auto-detection picks
the runner's broken podman → `crun: unknown version specified` at the
install step). Since nothing consumed the final (draft release deleted,
tag deleted, `latest`/`main`/promote untouched), the fix ships **within
1.5.0** instead of a same-day 1.5.1.

- Merge `dev` (PR #1306: docker-first daemon-probed detection +
`--docker` in the upgrade template) into `release/1.5.0` — clean merge,
App-era template keeps all #1302/#1304 content plus the new flag.
- `prepare-changelog reset-version` restores the `- TBD` heading
(finalize will re-stamp).
- #1305 changelog entry added to the frozen 1.5.0 section (was missed in
#1306 — dev's Unreleased stays empty since the fix ships here).

Precedent: 1.4.0 unfreeze (PR #1215). After merge: rc3, focused
revalidation (delta is #1305 only), re-approve, re-finalize.

Refs: #1305
Set release date to 2026-07-30 and regenerate release docs.

Refs: #1301
…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
…erified) (#1309)

## 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:
- **Inline REST, not commit-action**: v0.3.x `statSync`s 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.
- **Not `createCommitOnBranch`**: it drops executable modes; the tree
API carries an explicit mode per entry (`100755` preserved).
- Deletions = null-sha tree entries; branch ref created on first use and
force-updated within a train (preserves rc→rc→final reuse).
- `git push` is gone from the template; Signed-commits rulesets stay
fully enforced with **zero bypass actors**.
- Changelog: `- TBD` heading restored (re-finalize re-stamps); #1308
sub-bullet added under the #1296 entry.

## 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
Set release date to 2026-07-30 and regenerate release docs.

Refs: #1301
The smoke-test tag 1.5.0 is tombstoned by org-enforced release immutability
(published during the train, deleted at restart #1), so the cross-repo
promote gate can never pass for 1.5.0. The validated content re-releases
as 1.5.1; devkit's own 1.5.0 tag and draft (never published) are removed.
@c-vigo c-vigo mentioned this pull request Jul 30, 2026
@c-vigo
c-vigo merged commit 0407055 into dev Jul 30, 2026
13 checks passed
@c-vigo
c-vigo deleted the chore/sync-release-150-to-dev branch July 30, 2026 19:39
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