Repository navigation
Conversation
There was a problem hiding this comment.
Pull request overview
Redesigns the downstream smoke-test repository_dispatch workflow to orchestrate the full downstream release lifecycle (deploy → prepare-release → release) with explicit polling, gating on deploy PR merge, and upstream failure reporting, aligning the smoke-test gate with issue #358’s requirements.
Changes:
- Replaces the old “publish-release” behavior with staged orchestration jobs that trigger and poll
prepare-release.ymlandrelease.yml. - Adds deploy-PR merge gating, stale release-branch cleanup, release PR readiness/approval automation, and upstream failure issue reporting.
- Updates BATS assertions and changelog entries to reflect the new orchestration flow.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
assets/smoke-test/.github/workflows/repository-dispatch.yml |
Major workflow redesign: staged orchestration, polling/run-id gating, PR merge waits, upstream failure notification. |
tests/bats/just.bats |
Updates BATS checks to assert the presence/shape of the new orchestration logic. |
CHANGELOG.md |
Documents the orchestration redesign under the appropriate release notes section. |
assets/workspace/.devcontainer/CHANGELOG.md |
Mirrors the changelog entry in the workspace template copy. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
This PR redesigns the smoke-test repository_dispatch workflow to orchestrate the full downstream release cycle (deploy merge gate → prepare-release → release), with explicit polling and upstream failure reporting, aligning smoke-test validation with the intended downstream release process for issue #358.
Changes:
- Replace the legacy
publish-releasejob with staged orchestration jobs (wait-deploy-merge,cleanup-release,trigger-prepare-release,ready-release-pr,trigger-release) plusnotify-failure. - Add BATS assertions to validate the new orchestration phases and polling/run-id guards.
- Add issue #358 changelog entries in the root changelog and the workspace devcontainer changelog mirror.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
assets/smoke-test/.github/workflows/repository-dispatch.yml |
Reworks dispatch workflow into multi-phase downstream release orchestration with polling, cleanup, changelog sync, and upstream failure reporting. |
tests/bats/just.bats |
Adds/updates smoke-test workflow assertions for the new orchestration phases and guards. |
CHANGELOG.md |
Adds issue #358 entry under 0.3.1 “Changed”. |
assets/workspace/.devcontainer/CHANGELOG.md |
Mirrors the same issue #358 changelog entry for the workspace template. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…est-dispatch-release-cycle
Description
Redesign smoke-test repository dispatch orchestration for issue #358 on top of
release/0.3.1, so downstream validation follows deploy merge -> prepare-release -> release with explicit polling and upstream failure reporting.Follow-up hardening addresses Copilot review comments for token permissions, transient auto-merge enablement, and critical raw-content download retries.
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.ymlpublish-releaseflow with staged orchestration jobs (wait-deploy-merge,cleanup-release,trigger-prepare-release,ready-release-pr,trigger-release,notify-failure)wait-deploy-mergeexplicitpull-requests: readpermission forgh pr viewwithgithub.tokencurlfetches (installer script and upstreamCHANGELOG.md)tests/bats/just.batsCHANGELOG.md## [0.3.1] - TBD->### Changedassets/workspace/.devcontainer/CHANGELOG.mdChangelog Entry
Changed
publish-releasebehavior with full downstream orchestration: deploy-to-dev merge gate,prepare-release.yml, release PR readiness/approval, andrelease.ymldispatch pollingmainends with the sameCHANGELOG.mdcontent asvig-os/devcontainerat the dispatched tagTesting
just test-bats)Manual Testing Details
N/A
Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
This PR targets
release/0.3.1and was rebuilt from that base branch before replaying issue #358 commits, to avoid dev-vs-release divergence in the workflow/changelog context.Refs: #358