Skip to content

feat(ci): automate deploy-and-test via PR in smoke-test workflow - #260

Merged
c-vigo merged 5 commits into
devfrom
feature/258-automate-rc-deploy-test-pr
Mar 11, 2026
Merged

c-vigo merged 5 commits into
devfrom
feature/258-automate-rc-deploy-test-pr

Conversation

@c-vigo

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

Copy link
Copy Markdown
Contributor

Description

Implements issue #258 by refurbishing the smoke-test repository_dispatch workflow into a deploy-and-test orchestration that deploys the dispatched tag, opens a deploy PR to dev, and enables auto-merge after checks pass.

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

  • assets/smoke-test/.github/workflows/repository-dispatch.yml
    • Replaces the old dispatch validation + inline workflow-call shape with deploy orchestration
    • Validates client_payload.tag, deploys via installer, prepares chore/deploy-<tag> branch, commits through signed commit action, opens labeled deploy PR, and enables auto-merge
    • Adds strict semver validation for tags using project convention: X.Y.Z or X.Y.Z-rc.N (no v prefix)
    • Adds inline pinned action version annotation for actions/checkout (# v6.0.2)
  • assets/smoke-test/README.md
    • Adds automated deploy-and-test flow section
    • Clarifies that ci.yml and ci-container.yml are PR-triggered
    • Documents audit trail expectations (deploy PRs + merge history)
  • .trivyignore
    • Adds temporary, time-bounded exception for CVE-2026-31812 (quinn-proto in uv/uvx) pending upstream patched release
  • CHANGELOG.md

Changelog Entry

Added

  • Automated RC deploy-and-test via PR in smoke-test repo (#258)
    • Dispatch workflow now deploys the tag, creates a signed commit on chore/deploy-<tag>, and opens a PR to dev
    • CI workflows (ci.yml, ci-container.yml) trigger on the deploy PR, and auto-merge is enabled when checks pass
    • Stale deploy PRs are closed before each new deployment
    • The smoke-test repo keeps audit trail through deploy PRs and merge history instead of a local changelog
    • Dispatch payload tag validation now enforces semver format X.Y.Z or X.Y.Z-rc.N before using the tag in refs/URLs
    • CI security scan now includes a time-bounded exception for CVE-2026-31812 in uv/uvx pending upstream dependency patch release

Testing

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

Manual Testing Details

N/A

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

Includes one merge commit (chore(setup): merge origin/dev into issue 258 branch) created while synchronizing with current dev prior to PR preparation.

Follow-up commits on this PR branch:

  • c33ba60 -- ci: harden dispatch tag validation
  • 99d70f0 -- chore: add CVE-2026-31812 to trivyignore
  • b8fdc4f -- docs(ci): update unreleased notes for PR 260 follow-ups

Refs: #258

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

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

Updates the smoke-test repository’s repository_dispatch workflow to orchestrate a deploy-by-tag → deploy PR → PR-triggered CI → auto-merge flow, with accompanying documentation and a changelog entry in the main repo.

Changes:

  • Reworks the smoke-test repository_dispatch workflow to deploy a dispatched tag, create a signed deploy commit on chore/deploy-<tag>, open a PR to dev, and enable auto-merge.
  • Updates smoke-test README to document the automated deploy-and-test flow and audit trail expectations.
  • Adds an Unreleased changelog entry for the new smoke-test automation (#258).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
assets/smoke-test/.github/workflows/repository-dispatch.yml Adds deploy PR orchestration, stale PR cleanup, signed commit creation, PR creation, and auto-merge enablement.
assets/smoke-test/README.md Documents the PR-driven deploy-and-test workflow and audit trail.
CHANGELOG.md Adds Unreleased “Added” entry describing the smoke-test deploy-by-PR automation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@c-vigo
c-vigo enabled auto-merge March 11, 2026 20:12
@c-vigo
c-vigo merged commit 3832ba1 into dev Mar 11, 2026
13 of 14 checks passed
@c-vigo
c-vigo deleted the feature/258-automate-rc-deploy-test-pr branch March 11, 2026 20:16
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