Skip to content

feat(ci): add a single-dispatch SkillEvaluator release - #841

Merged
rng1995 merged 2 commits into
mainfrom
naren/one-click-release-workflow
Nov 20, 2026
Merged

rng1995 merged 2 commits into
mainfrom
naren/one-click-release-workflow

Conversation

@rng1995

@rng1995 rng1995 commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Before, the maintainer dispatched image build, validation, publication, and stable promotion separately. They carried the generated bundle into a pin PR and copied the validation run and manifest digest into the Publish form.
  • After, Full release starts from the reviewed version-preparation merge SHA. It qualifies the image, verifies the exact bundle artifact, opens or reuses a generated PR, and waits for its reviewed squash merge. Validate and publish starts from an already reviewed bundle merge SHA.
  • Both modes carry successful validation job outputs directly into protected publication. GitHub release, Kitmaker dry run and upload, index and install verification, and release finalization run in order. The optional stable job promotes only the exact verified GitHub Latest release. Existing standalone phases and recovery paths remain available.

Verification

  • Reviewed the Contributing Guidelines
  • Added focused tests for same-run artifact identity, failed-job reruns, existing tags, bundle PR creation and reuse, and protected merge and publication routing
  • Updated the release runbook
  • Ran Ruff, the OSS boundary scan, and Actionlint. The installed Actionlint version needs its unsupported GitHub queue diagnostic suppressed.
  • Ran focused release tests
  • Ran make build

Release Impact

Release entry remains manual from main. PR merge and protected environment approvals still apply. Full release needs the documented release-bundle-pr environment and dedicated App credentials. Live publication requires the existing Kitmaker configuration. Optional stable promotion requires its existing writer App.

Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the generated bundle PR, release recovery, and stable handoff. I found two recovery gaps to address.

Comment thread ci/release_pin_pr.py Resolved
Comment thread ci/github_release.py Resolved
Comment thread .github/workflows/release.yml Resolved
Comment thread .github/workflows/release.yml Resolved
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
@rng1995
rng1995 merged commit cceb3a0 into main Nov 20, 2026
24 checks passed
@rng1995
rng1995 deleted the naren/one-click-release-workflow branch November 20, 2026 20:08
@chrisknvidia

Copy link
Copy Markdown
Collaborator

Post-merge notes (this merged before I finished reading it; nothing here needs reverting).

Thanks, this is a solid step up from copying run IDs and digests between dispatches. I read the three workflows, both helpers and the tests, and ran the new tests locally.

The trust chain holds up well: every protected job gates on result == 'success' of its producers (so a skipped job never lets publication through), stage verifies the validation artifact by ID, SHA-256 and size against the outputs of the prepare job in the same run and then checks the manifest digest and source commit, bundle-pr verifies the bundle artifact digest before it touches the App token, and the merged bundle commit is checked for the exact pins plus an allowed-paths diff from the image candidate. Inputs reach shells through env, permissions are tight per job, the reusable promotion call is gated by workflow_ref and the stable-channel environment, and the self-review items from the first commit are all fixed in the second. Squash-only is enforced by the branch rules, so merge_commit_sha is the right thing to verify. Nothing here blocks merging.

A few non-blocking points, inline: the merge wait never checks for an approving review, so "reviewed squash merge" is only as strong as the branch rules; the two-hour poll dies on a single transient API error; a same-candidate PR closed without merging dead-ends Full release with no runbook hint; and the finalize summary still points at the standalone promotion when the same run is about to promote.

RELEASING.md matches the workflow (phase names, inputs, environment and variable names, the two-hour wait). No changelog entry needed for maintainer-only release tooling, consistent with the earlier release PRs.

  • ci/release_pin_pr.py:281: Not blocking: this accepts the PR as soon as GitHub reports it merged. Nothing here looks at reviews, so the "reviewed squash merge" the runbook promises is only as strong as the main branch rules at the time. If you want the workflow to stand on its own, check pulls/{number}/reviews for an APPROVED review on the merged head SHA from someone other than the bundle App before returning. Otherwise I would just say "merged" in the docs.
  • ci/release_pin_pr.py:276: Nit: one transient gh api failure (rate limit, 5xx) anywhere in this up-to-two-hour loop raises CalledProcessError and fails the job, and the operator has to rerun. Worth catching SubprocessError here and retrying a few times before giving up, since the next line already sleeps anyway.
  • ci/release_pin_pr.py:209: Nit: if the PR for this exact candidate was closed without merging, open_pull lands here and Full release for that candidate stops for good. Reopening the PR is the way out, but the runbook only covers closing a stale PR and switching to a new candidate. A hint in this message or a line in RELEASING.md would save someone a confused afternoon.
  • .github/workflows/release.yml:517: Nit: with promote_stable checked, this summary still tells the operator to run the standalone promotion workflow, right before promotion-candidate and promote-stable run in the same workflow. Could be conditional on inputs.promote_stable.

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.

2 participants