Repository navigation
ci: correct workflow bugs and hardcoded values (#123) - #127
Merged
Merged
Conversation
- Add missing release_date/build_timestamp outputs in security-scan.yml - Update scorecard.yml codeql-action from v3 to v4 (consistency) - Fix post-release.yml commit message Refs: line indentation bug - Replace hardcoded repo URL in ci.yml with $GITHUB_REPOSITORY - Use declared labels (bug, area:ci) in release.yml rollback issue - Use dynamic github.server_url/github.repository for OCI source label Refs: #123
This was referenced Aug 11, 2026
Closed
c-vigo
added a commit
that referenced
this pull request
Aug 11, 2026
## Description Documents the smoke-test final-release human-approval gate shipped in 1.7.0 (#1391 / PR #1392). The mechanism is live-proven, but its operational contract lived only in issue threads and workflow comments — an operator following the current docs at the next final leg would hit a silent 30-minute stall, because devkit's `release.yml` does not block on downstream state and nothing signals that the smoke listener is waiting for an approval. Closes #1409 ## Type of Change - [x] `docs` -- Documentation only ## Changes Made - **`docs/CROSS_REPO_RELEASE_GATE.md`** - Receiver Responsibilities: new step for the approval gate — candidates leave the smoke release PR unapproved (deferred-approval model, #902); the final dispatch polls `reviewDecision` (20 s interval, 30 min) for a human approval; cleanup-recreate semantics explain why the approval must happen while the gate is waiting - New **Contract dependencies** section: (1) smoke-test `main` must require ≥1 approving review or `reviewDecision` never computes (org-config-owned, org-config#127; workflow approvals blocked org-wide by org-config#122); (2) the listener executes from the smoke repo's default branch — asset is SSoT, urgent fixes are hotfixed to smoke main and mirrored (precedents devkit-smoke-test#345/#353) - Failure Signals: gate timeout added, distinguishing "nobody approved" (approve + re-run failed jobs) from "required reviews dropped" (org-config drift) - **`docs/RELEASE_CYCLE.md`** - Phase 4: notes the one human exception in the otherwise automated gate - Phase 5 runbook: explicit operator step 2 — locate the waiting listener run, approve the freshly created smoke release PR (`gh` commands included), timeout recovery; subsequent steps renumbered - `CHANGELOG.md` (+ synced `assets/workspace/.devcontainer/CHANGELOG.md` copy, propagated by the `sync-manifest` hook) ## Changelog Entry ### Changed - **Document the smoke-test final-release human-approval gate** ([#1409](#1409)) - `docs/CROSS_REPO_RELEASE_GATE.md` now describes the approval gate shipped in 1.7.0 and its two contract dependencies: required reviews on smoke-test `main` (org-config-owned) and default-branch listener execution (asset SSoT, hotfix-main + mirror procedure) - `docs/RELEASE_CYCLE.md` Phase 5 gains the explicit operator step: approve the freshly created smoke-test release PR while the final dispatch is paused at the gate, with timeout recovery ## Testing - [x] Manual testing performed (describe below) ### Manual Testing Details Docs-only change — TDD not applicable. Full `just precommit` suite green locally (the `sync-manifest` hook propagated the changelog to the workspace asset; committed). Content verified against the shipped gate implementation (`assets/smoke-test/.github/workflows/repository-dispatch.yml`, `Gate final release on human approval of release PR`), the org-config live config (`vig-os.jsonnet` devkit-smoke-test `Main protection`), and the 1.7.0 train record (#1391, org-config#122/#127, smoke run 31221248513). ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [x] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix workflow bugs and hardcoded values identified during a thorough review of the
.github/directory. Also applies repo setting improvements (deleteBranchOnMerge, wiki, sha_pinning_required) via the GitHub API.Type of Change
ci-- CI/CD pipeline changesChanges Made
Workflow fixes (code):
security-scan.yml: Add missingrelease_dateandbuild_timestampoutputs to the version step (were undefined, passing empty strings to the build-image action)scorecard.yml: Updatecodeql-action/upload-sariffrom v3 to v4 SHA for consistency with all other workflowspost-release.yml: Fix commit messageRefs:line that inherited 10 spaces of YAML indentation (useprintfinstead of embedded newline)ci.yml: Replace hardcodedvig-os/devcontainerURL with$GITHUB_REPOSITORYrelease.yml: Replace undeclaredreleaselabel in rollback issue witharea:ci(from label taxonomy)build-image/action.yml: Replace hardcoded OCIsourcelabel URL with${{ github.server_url }}/${{ github.repository }}Repo settings (applied via API, not in diff):
deleteBranchOnMerge-- head branches auto-delete after mergesha_pinning_required-- enforce SHA-pinned actionsChangelog Entry
No changelog needed -- purely internal CI configuration fixes with no user-visible impact.
Testing
just test)Manual Testing Details
Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
Repo settings (S1-S3) were applied via
gh apiduring implementation and are not reflected in the diff. S4 (production environment for release publish) was deferred as it would require workflow changes to reference the environment.W6 (ARM runner name verification) and W7 (prepare-release.yml Refs: line) were flagged as verify-only / by-design in the implementation plan and skipped.
Refs: #123