Repository navigation
fix(ci): align smoke dispatch payload key and tag validation - #261
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR fixes the cross-repo repository_dispatch contract between the devcontainer release workflow (sender) and the smoke-test repo dispatch listener (receiver), and cleans up related release documentation/changelog notes.
Changes:
- Align dispatch payload key to
client_payload.tagin the release workflow and release-cycle docs. - Update smoke-test dispatch listener tag validation to match RC tag format
X.Y.Z-rcN(no dot). - Consolidate duplicated
CHANGELOG.mdsection headings and normalize RC tag notation.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/release.yml |
Sends client_payload[tag] so the smoke-test listener can read github.event.client_payload.tag. |
assets/smoke-test/.github/workflows/repository-dispatch.yml |
Fixes semver/RC tag validation regex to accept -rcN (no dot). |
docs/RELEASE_CYCLE.md |
Updates documentation to reference the correct payload key (client_payload.tag). |
CHANGELOG.md |
Removes duplicated headings and corrects RC tag notation to X.Y.Z-rcN. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Align the smoke-test dispatch payload key and RC tag validation regex between the devcontainer release workflow and the smoke-test repository dispatch listener. The release workflow was sending
client_payload[rc_tag]but the receiver expectedclient_payload[tag], and the tag validation regex usedrc.N(with dot) while actual RC tags usercN(no dot). Also consolidates duplicate changelog headings that accumulated across prior PRs.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
.github/workflows/release.yml— rename dispatch payload key fromclient_payload[rc_tag]toclient_payload[tag]to match the smoke-test receiverassets/smoke-test/.github/workflows/repository-dispatch.yml— fix tag validation regex from(-rc\.[0-9]+)?to(-rc[0-9]+)?to match actual RC tag format (X.Y.Z-rcN)docs/RELEASE_CYCLE.md— update documentation reference fromclient_payload.rc_tagtoclient_payload.tagCHANGELOG.md— consolidate duplicate### Added/### Changedheadings and correctX.Y.Z-rc.Nnotation toX.Y.Z-rcNChangelog Entry
Corrections within existing Unreleased entries (no new entry needed — the feature hasn't been released yet, so the existing bullets were updated in place):
X.Y.Z-rc.NtoX.Y.Z-rcN### Added/### Changed/### Fixedheadings consolidated into single sectionsTesting
just test)Manual Testing Details
N/A — CI workflow changes; validated by reviewing the dispatch payload alignment between sender (
release.yml) and receiver (repository-dispatch.yml).Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
N/A
Refs: #173