Repository navigation
Description
What happened
During the 1.7.0 train (rc3, devkit run 31200317431→31206200810), the smoke-test dispatch listener (assets/smoke-test/.github/workflows/repository-dispatch.yml) failed at Approve release PR for automated dispatch (smoke run 31207370105):
failed to create review: GraphQL: GitHub Actions is not permitted to approve pull requests. (addPullRequestReview)
The step approves the smoke release PR with GH_TOKEN: ${{ github.token }}, which requires the repo/org setting Allow GitHub Actions to create and approve pull requests. vig-os/org-config#122 (merged 2026-08-07 16:34Z, applied org-wide) deliberately set can_approve_pull_request_reviews: false at the org level — repos cannot re-enable it locally. The 1.6.0 train (2026-08-04) predates the hardening, which is why the chain was green then.
Everything before the approve step worked: deploy PR merged with Direnv Smoke green, stale-release cleanup, prepare-release triggered, release PR located and labeled. Everything after was skipped, so no smoke candidate release ran and the upstream notification was attempted.
Secondary bug: failure notification cannot mint its token
The Notify upstream on smoke-test dispatch failure job also failed, at Generate release app token for upstream issue creation:
RequestError [HttpError]: Not Found
so no upstream issue was filed in devkit. Likely the App-token mint requests an installation for owner: vig-os + repositories: devkit with an App that is not installed on devkit (or the wrong client-id secret is wired). Needs its own diagnosis — this path had probably never been exercised before.
Design conflict to resolve (maintainer decision)
The org hardening and the autonomous smoke pipeline are now in direct conflict. Options:
- Approve with a second App identity (e.g. the Commit App token, since the release PR is authored by the Release App — an App cannot approve its own PR, but a different App with write access can, and App installation tokens are not subject to the org's Actions-approval block). Keeps the org policy strict and the pipeline autonomous. Preferred candidate.
- Drop the approval requirement for the smoke repo's final release gate — the auto-approval was ceremonial (a bot rubber-stamping a bot), which is exactly what org-config#122 set out to eliminate; the smoke repo is a machine-driven sandbox. Requires a scaffold knob or smoke-specific patch so real consumers keep the human gate.
- Re-enable workflow approvals org-wide — reverts today's hardening; not recommended.
Workaround used for the 1.7.0 train
Maintainer manually approves the smoke release PR and manually dispatches the smoke release.yml legs (candidate + final) and promote-release.yml; validation value is unchanged since the rc3 scaffold is already deployed on smoke dev (deploy PR #339).
Refs: vig-os/org-config#122, smoke run 31207370105, deploy PR vig-os/devkit-smoke-test#339, release PR vig-os/devkit-smoke-test#340
Activity
fix(workflows): gate final release on human PR approval (#342)
fix(smoke-test): gate final release on human PR approval (#1392)
chore(config): require a human approval on devkit-smoke-test main
chore(config): require a human approval on devkit-smoke-test main (#127)
chore: release 1.7.0 (#350)
chore: release 1.7.0 (#1385)
c-vigo commentedon Aug 8, 2026
Resolved for the 1.7.0 train:
reviewDecisioncomputes — the gate's poll signal needs required reviews. Unblocked by the org-config slug fix (org-config#128/test(gh-issues): add unit, integration, and smoke tests for gh_issues.py (#99) #129) after GitHub dropped numeric-id tolerance on /apps/{app_slug}.Still open from this issue: the failure-notify token mint 404 ("Generate release app token for upstream issue creation" → Not Found) — splitting that into its own issue.
chore(config): grant OrganizationAdmin bypass on devkit-smoke-test ma…
docs: document smoke-test final-release human-approval gate (#1410)
chore: release 1.1.0 (#166)
chore(config): drop the human-review requirement on devkit-smoke-test…
chore(config): drop the human-review requirement on devkit-smoke-test…
chore: release 1.2.0 (#171)
feat(smoke): drop the release-PR approval gate; make promote gates pr…
chore: release 1.10.0 (#1515)