Repository navigation
ci: harden release dispatch and publish ordering - #337
Conversation
There was a problem hiding this comment.
Pull request overview
This PR hardens the release orchestration path to reduce timing-related failures between upstream publishing and downstream smoke-test dispatch, and fixes a workspace manifest duplication that was overwriting the workspace template’s root changelog.
Changes:
- Add bounded retries for the final-release downstream RC pre-release visibility gate.
- Reorder final GitHub Release creation to happen after artifact publication/signing/attestations.
- Remove duplicate
CHANGELOG.mdsync entry and regenerate the workspace changelog output; add concurrency control for smoke-test dispatch runs.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/release.yml |
Adds retry logic for downstream pre-release gate, changes publish ordering, makes smoke-test dispatch fire-and-forget, and adjusts rollback dependencies. |
assets/smoke-test/.github/workflows/repository-dispatch.yml |
Adds a concurrency group to prevent overlapping dispatch handling for the same tag. |
scripts/manifest.toml |
Removes the duplicate CHANGELOG.md sync entry that caused workspace root output to be overwritten. |
assets/workspace/CHANGELOG.md |
Regenerates the workspace template’s root changelog content after the manifest fix. |
assets/workspace/.devcontainer/CHANGELOG.md |
Adds an Unreleased entry documenting the release hardening changes for downstream consumers. |
CHANGELOG.md |
Adds an Unreleased entry documenting the release hardening changes. |
💡 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 hardens the release workflow orchestration to reduce timing/race failures between upstream publish and downstream smoke-test dispatch, and fixes a workspace sync manifest issue that caused the workspace root changelog to be overwritten.
Changes:
- Add bounded retries for the downstream RC pre-release visibility gate and reorder final GitHub Release creation to occur after artifact publication/signing.
- Make smoke-test dispatch asynchronous (no downstream completion polling), add concurrency control to the downstream dispatch workflow, and scope rollback to pre-publish/publish failures.
- Remove duplicate
CHANGELOG.mdsync entry and regenerate workspace changelog outputs to preserve distinct root vs.devcontainerchangelog roles.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/release.yml |
Adds downstream RC gate retries, changes smoke-test dispatch semantics, and moves final GitHub Release creation to end of publish ordering. |
assets/smoke-test/.github/workflows/repository-dispatch.yml |
Adds workflow-level concurrency grouping to prevent overlapping dispatches per tag. |
scripts/manifest.toml |
Removes duplicate root CHANGELOG.md sync entry to prevent overwriting workspace-owned changelog. |
tests/test_integration.py |
Updates integration test expectations to reflect distinct root vs .devcontainer changelog roles. |
docs/RELEASE_CYCLE.md |
Updates release-cycle documentation to reflect new smoke-test/rollback semantics. |
CHANGELOG.md |
Adds unreleased entry documenting the hardened release semantics. |
assets/workspace/.devcontainer/CHANGELOG.md |
Syncs the new unreleased entry into the devcontainer changelog copy. |
assets/workspace/CHANGELOG.md |
Regenerates workspace root changelog as a stub (workspace-owned) after manifest fix. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Description
This PR hardens release orchestration to reduce flaky cross-repo timing failures, and fixes the workspace changelog sync regression.
It combines:
Type of Change
fix-- Bug fixtest-- Adding or updating testsci-- CI/CD pipeline changesdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)build-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!)Changes Made
.github/workflows/release.ymlassets/smoke-test/.github/workflows/repository-dispatch.ymlscripts/manifest.tomlCHANGELOG.mdsync entry that caused overwrite behaviortests/test_integration.pyCHANGELOG.mdmust keep workspace## Unreleased## [release headings.devcontainer/CHANGELOG.mdmust include generic semver release headingsassets/workspace/CHANGELOG.mdCHANGELOG.mdassets/workspace/.devcontainer/CHANGELOG.mdUnreleasedfor user-visible behavior changesChangelog Entry
Changed
Testing
just test)Manual / Targeted Verification
test_smoke_workspace_changelog_available_in_devcontainer_and_rootModuleNotFoundError: No module named 'testinfra'Additional Notes
b91ae2etest hardening for changelog ownership assertionsa0b2fd9transient retry expansion + auth fail-fast handling for release API lookupRefs: #336, #333