Skip to content

fix(ci): stop publish failing on existing immutable edge tags - #3259

Merged
hubcio merged 1 commit into
masterfrom
ci/publish-edge-tag-routing
May 14, 2026
Merged

hubcio merged 1 commit into
masterfrom
ci/publish-edge-tag-routing

Conversation

@hubcio

@hubcio hubcio commented May 14, 2026

Copy link
Copy Markdown
Contributor

Post-merge auto-publish runs on every push to master, but
component versions only change when a human bumps them. So the
same immutable git tag (e.g. server-0.8.1-edge.1) is re-seen on
every run after the one that first created it. check-tags
treated a pre-existing tag pointing at a different commit as a
wrong-target hard failure and exited 1, turning the whole
workflow red and cascade-skipping publish-rust-crates and
build-python-wheels.

Treat tag existence as a routing signal, not a failure. In
auto-publish mode (create_edge_docker_tag=true) an existing tag
means the version is already released: check-tags reports it
informationally instead of failing, and docker-manifests sets
should_tag=false so the versioned git tag and :version manifest
are skipped. The rolling :edge Docker image is still refreshed
every run, and the per-component versioned release runs exactly
once - on the run after a version bump, when the tag is missing.

The manual publish path is unchanged: a wrong-target tag there
is still a fast hard failure, because a stable release tag
pointing at the wrong commit is a real error rather than the
expected steady state.

Post-merge auto-publish runs on every push to master, but
component versions only change when a human bumps them. So the
same immutable git tag (e.g. server-0.8.1-edge.1) is re-seen on
every run after the one that first created it. check-tags
treated a pre-existing tag pointing at a different commit as a
wrong-target hard failure and exited 1, turning the whole
workflow red and cascade-skipping publish-rust-crates and
build-python-wheels.

Treat tag existence as a routing signal, not a failure. In
auto-publish mode (create_edge_docker_tag=true) an existing tag
means the version is already released: check-tags reports it
informationally instead of failing, and docker-manifests sets
should_tag=false so the versioned git tag and :version manifest
are skipped. The rolling :edge Docker image is still refreshed
every run, and the per-component versioned release runs exactly
once - on the run after a version bump, when the tag is missing.

The manual publish path is unchanged: a wrong-target tag there
is still a fast hard failure, because a stable release tag
pointing at the wrong commit is a real error rather than the
expected steady state.
@github-actions github-actions Bot added the S-waiting-on-review PR is waiting on a reviewer label May 14, 2026
@codecov

codecov Bot commented May 14, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.83%. Comparing base (62fb33a) to head (2c5b5ee).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3259      +/-   ##
============================================
- Coverage     73.87%   73.83%   -0.05%     
  Complexity      943      943              
============================================
  Files          1193     1193              
  Lines        108970   108970              
  Branches      85988    86005      +17     
============================================
- Hits          80506    80462      -44     
- Misses        25729    25749      +20     
- Partials       2735     2759      +24     
Components Coverage Δ
Rust Core 74.89% <ø> (-0.04%) ⬇️
Java SDK 60.14% <ø> (ø)
C# SDK 69.15% <ø> (-0.29%) ⬇️
Python SDK 81.43% <ø> (ø)
Node SDK 91.53% <ø> (ø)
Go SDK 39.80% <ø> (ø)
see 27 files with indirect coverage changes
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hubcio
hubcio merged commit 50724fd into master May 14, 2026
81 checks passed
@hubcio
hubcio deleted the ci/publish-edge-tag-routing branch May 14, 2026 14:11
@github-actions github-actions Bot removed the S-waiting-on-review PR is waiting on a reviewer label May 14, 2026
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.

3 participants