Repository navigation
feat(ci): smoke-test dispatch runs promote-release for final tags - #515
Merged
Merged
Conversation
Replace merge-release-pr with wait-release-pr-ci that polls required checks on the release PR (fail/cancel fast, 30m timeout). Add a final-only job that dispatches promote-release.yml on dev with the base version and waits for success so the downstream draft GitHub Release is published, the release PR merges to main, and RC tag cleanup can run. Preflight now requires promote-release.yml alongside prepare-release and release. Summary treats trigger-promote-release as mandatory success for final dispatches and as skipped-only for candidates. notify-failure lists the new jobs. Document the workflow contract, receiver steps, and promote gate in docs/CROSS_REPO_RELEASE_GATE.md. Record the change under Unreleased in CHANGELOG.md and the workspace devcontainer changelog mirror. Refs: #511
There was a problem hiding this comment.
Pull request overview
Updates the smoke-test repository-dispatch workflow to split RC vs final release handling so that final tags dispatch and wait for downstream promote-release.yml (publishing the draft release + merging the release PR), while RC tags only wait for required checks on the release PR and leave it open. Documentation and changelogs are updated to reflect the new cross-repo gate contract.
Changes:
- Add
promote-release.ymlto downstream preflight workflow availability checks ondev. - Replace the “merge release PR” behavior with “wait for required checks”, and add a final-only downstream
promote-release.ymldispatch + wait. - Update cross-repo gate documentation and changelog entries for issue #511.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
assets/smoke-test/.github/workflows/repository-dispatch.yml |
Adds promote preflight requirement, introduces required-check polling for the release PR, and dispatches promote-release.yml for final releases. |
docs/CROSS_REPO_RELEASE_GATE.md |
Documents the split RC vs final behavior and the new downstream promote step for final tags. |
CHANGELOG.md |
Adds an Unreleased “Changed” entry describing the new smoke-test promote behavior. |
assets/workspace/.devcontainer/CHANGELOG.md |
Mirrors the changelog entry in the devcontainer copy. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Fail fast on closed/merged PR and on gh CLI errors instead of spinning silently until timeout. Refs: #511
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
Updates the smoke-test
repository-dispatchworkflow so final releases dispatch downstreampromote-release.yml(publish draft release, merge release PR, RC tag cleanup) instead of merging the release PR from the listener alone. RC dispatches wait for required checks on the release PR and stop with the PR left open. Preflight now requirespromote-release.ymlon thedevref. Cross-repo gate docs describe the split behavior and that the canonical flow no longer needs a manual publish on smoke-test before upstream promote.Type of Change
feat-- New featurefix-- Bug fixdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)test-- Adding or updating testsci-- CI/CD pipeline changesbuild-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!) -- This change breaks backward compatibilityChanges Made
assets/smoke-test/.github/workflows/repository-dispatch.ymlpromote-release.ymlto preflightREQUIRED_WORKFLOWS.merge-release-prwithwait-release-pr-ci(gh pr checks --required, fail/cancel handling, 30m timeout).trigger-promote-releaseforrelease_kind == finalonly: dispatch and pollpromote-release.ymlondevwithversion= base semver.summary/notify-failuredependencies and result checks (final requires promote success; candidate requires promote skipped).docs/CROSS_REPO_RELEASE_GATE.md— contract, receiver steps, promote gate wording for automated downstream publish.CHANGELOG.mdandassets/workspace/.devcontainer/CHANGELOG.md— Unreleased Changed entry for [FEATURE] Smoke-test dispatch: trigger promote-release for final; wait on CI for RC #511.Changelog Entry
Testing
just test)Manual Testing Details
N/A — GitHub Actions workflow and documentation only; end-to-end validation happens after the template is deployed to
vig-os/devcontainer-smoke-test(see issue prerequisite: PR #510 merged there).Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
N/A
Refs: #511