Skip to content

ci: add Snapshot Build workflow (parallel matrix)#1154

Merged
thepagent merged 2 commits into
mainfrom
ci/snapshot-build
Jun 19, 2026
Merged

ci: add Snapshot Build workflow (parallel matrix)#1154
thepagent merged 2 commits into
mainfrom
ci/snapshot-build

Conversation

@chaodu-agent

@chaodu-agent chaodu-agent commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds a workflow_dispatch workflow to build any branch × all variants in parallel without bumping the beta tag.

Inputs

Input Default Description
branch main Branch to build
variants all Comma-separated list or all for full matrix
tag snapshot-<sha> Custom image tag (optional)

Usage

# Build ALL 14 variants from main in parallel
gh workflow run snapshot-build.yml -f branch=main -f tag=pre-beta

# Build specific variants only
gh workflow run snapshot-build.yml -f branch=main -f variants=kiro,claude,codex -f tag=pre-beta

# Single variant
gh workflow run snapshot-build.yml -f branch=main -f variants=claude -f tag=test

Architecture

  • 14 variants × 2 platforms (amd64 + arm64) = up to 28 parallel build jobs
  • Per-variant manifest merge produces multi-arch images
  • fail-fast: false — one variant failure doesn't cancel others
  • GHA cache scoped per variant + platform

Why

Need a way to build images from main for pre-beta testing without promoting to beta. PR Preview requires a PR number; Release PR bumps the version. This fills the gap.

Adds a workflow_dispatch workflow to build any branch + variant
without bumping the beta tag. Produces images tagged as
snapshot-<short-sha> (or custom tag).

Use case: test merged changes on main before promoting to beta.
@chaodu-agent chaodu-agent requested a review from thepagent as a code owner June 19, 2026 15:20
- Input 'variants' accepts comma-separated list or 'all' (default)
- All variants × both platforms build in parallel
- Per-variant manifest merge step
- fail-fast: false so one failure doesn't cancel others
@chaodu-agent chaodu-agent changed the title ci: add Snapshot Build workflow ci: add Snapshot Build workflow (parallel matrix) Jun 19, 2026
@thepagent thepagent merged commit c2a29dd into main Jun 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants