Skip to content

fix(ci): align smoke dispatch payload key and tag validation - #261

Merged
c-vigo merged 3 commits into
devfrom
feature/173-fix-smoke-dispatch-validation
Mar 12, 2026
Merged

c-vigo merged 3 commits into
devfrom
feature/173-fix-smoke-dispatch-validation

Conversation

@c-vigo

@c-vigo c-vigo commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

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 expected client_payload[tag], and the tag validation regex used rc.N (with dot) while actual RC tags use rcN (no dot). Also consolidates duplicate changelog headings that accumulated across prior PRs.

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • .github/workflows/release.yml — rename dispatch payload key from client_payload[rc_tag] to client_payload[tag] to match the smoke-test receiver
  • assets/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 from client_payload.rc_tag to client_payload.tag
  • CHANGELOG.md — consolidate duplicate ### Added / ### Changed headings and correct X.Y.Z-rc.N notation to X.Y.Z-rcN

Changelog 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):

  • Tag validation notation corrected from X.Y.Z-rc.N to X.Y.Z-rcN
  • Duplicate ### Added / ### Changed / ### Fixed headings consolidated into single sections

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

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

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

N/A

Refs: #173

@c-vigo c-vigo self-assigned this Mar 11, 2026
@c-vigo
c-vigo requested a review from Copilot March 11, 2026 21:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.tag in 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.md section 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.

@c-vigo
c-vigo merged commit 4749ef2 into dev Mar 12, 2026
16 checks passed
@c-vigo
c-vigo deleted the feature/173-fix-smoke-dispatch-validation branch March 12, 2026 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants