Skip to content

[DOCS] Document the smoke-test final-release human-approval gate and its operational contract #1409

Closed

Description

@c-vigo

Description

The 1.7.0 train replaced the smoke-test listener's self-approval (broken org-wide by vig-os/org-config#122) with a human-approval gate on the final dispatch (#1391, PR #1392). The mechanism is live-proven, but none of it is documented: the operational contract lives only in issue threads and workflow comments.

docs/CROSS_REPO_RELEASE_GATE.md — the contract SSoT — has zero mention of the approval gate, and its Receiver Responsibilities section still describes the pre-1.7.0 flow. docs/RELEASE_CYCLE.md's finalization runbook jumps from "verify the dispatch completed" straight to "run promote-release" with no mention of the mandatory human action in between. Since devkit's release.yml does not block on downstream state, nothing tells an operator that the smoke repo is waiting for their approval — following the current docs at the next final leg produces a silent 30-minute stall and a gate timeout (exactly what happened on the 1.7.0 final leg, smoke run 31221248513).

Three things need documenting:

  1. The gate itself: candidate dispatches leave the smoke release PR unapproved (deferred-approval model, feat(ci): gate RC dispatch on CI only — move approval + ready-for-review to the final release #902); the final dispatch pauses at Gate final release on human approval of release PR, polling reviewDecision for up to 30 min; on timeout, approve the PR and re-run the failed jobs to resume.
  2. The reviewDecision dependency: GitHub only computes reviewDecision when the base branch requires reviews. Smoke main's required_approving_review_count: 1 is org-config-owned (chore(config): require a human approval on devkit-smoke-test main org-config#127, guarded by an inline comment in vig-os.jsonnet) and is part of this gate's contract.
  3. The default-branch listener pitfall: repository_dispatch executes the listener from smoke-test main, so listener changes are only live once they reach main. The devkit asset is the SSoT; urgent fixes are hotfixed to smoke main and mirrored in the asset (this has now been needed twice: devkit-smoke-test#345 and fix(ci): normalize smoke-test workspace ownership after installer #353).

Documentation Type

Update existing documentation

Target Files

Related Code Changes

Follows up on #1391 (breakage + design decision), PR #1392 (the gate), #1396 (failure-notify fix), vig-os/org-config#122 (org-wide approval block), vig-os/org-config#127 (required review on smoke main).

Acceptance Criteria

Changelog Category

Changed

Additional Context

Out of scope, worth separate issues: (a) fail-fast preflight in the gate (check required-reviews before the 30-min poll) and an awareness ping when the gate starts waiting; (b) CROSS_REPO_RELEASE_GATE.md still refers to this repo as vig-os/devcontainer throughout — a stale pre-rename name of the same kind that caused #1396.

Activity

  1. added this to the 1.7.1 milestone on Aug 11, 2026
  2. added
    docs
    on Aug 11, 2026
  3. c-vigo commented on Aug 11, 2026

    @c-vigo
    ContributorAuthor

    Solved by PR #1410 (merged to dev). Closing manually — dev-targeted Closes does not auto-close.

  4. added a commit that references this issue on Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions