Skip to content

fix: only publish CE marketplace listing for stable releases#258

Open
bpmct wants to merge 1 commit into
mainfrom
bpmct/ce-stable-only
Open

fix: only publish CE marketplace listing for stable releases#258
bpmct wants to merge 1 commit into
mainfrom
bpmct/ce-stable-only

Conversation

@bpmct
Copy link
Copy Markdown
Member

@bpmct bpmct commented May 18, 2026

The CE marketplace submission from #255 runs on every release dispatch. It should only run for stable releases (the CE listing tracks stable, not mainline).

Two changes:

  1. Workflow gate — the CE step now only runs when release_channel == 'stable' (from the coder/coder dispatch payload) or on manual workflow_dispatch.
  2. ECR dedup — early describe-images check in submit_ce.sh exits cleanly if the image tag already exists in ECR, making the script idempotent.
Context

coder/coder's release.yaml sends a repository_dispatch with release_channel (mainline, stable, rc) to this repo. The GitHub API's /releases/latest endpoint always points to stable (set via MakeLatest: "true" during promotion). The CE listing should only update on stable promotions — mainline releases would just create noise in the marketplace.

The ECR check is the single source of truth for "already processed" — no external state needed. If the workflow is re-run for the same version, it skips cleanly.


Generated by Coder Agents.

Gate the AWS Marketplace CE submission step on stable channel and add
an early ECR image check to skip already-published versions.
@bpmct bpmct requested a review from greg-the-coder May 19, 2026 00:29
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.

1 participant