Skip to content

fix(ci): force the tag fetch in the deploy workflow - #8

Merged
jrosskopf merged 1 commit into
mainfrom
fix/deploy-tag-fetch
Aug 8, 2026
Merged

fix(ci): force the tag fetch in the deploy workflow#8
jrosskopf merged 1 commit into
mainfrom
fix/deploy-tag-fetch

Conversation

@jrosskopf

@jrosskopf jrosskopf commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Every release tag pushed here fails to deploy — the tag exists but ships no binaries.

actions/checkout fetches the annotated tag, then the deploy step's git fetch --tags refuses to touch the same ref:

! [rejected] v2026.08.07 -> v2026.08.07 (would clobber existing tag)

The first deploy job to hit it exits 1, and fail-fast cancels every sibling — so no architecture uploads, not just the one that failed.

Why this repo and not others

This repo carries a vendored copy of _extension_deploy.yml that predates the fix. Across the fleet the split is exact:

Deploy workflow Tag deploy
git fetch --tags --force (erpl-tunnel, anofox-tabfm)
no local copy, uses upstream (anofox-similarity)
plain git fetch --tags (this repo, erpl, duckdb-gdrive, anofox-scenario, anofox-tabular)

Deterministic, and ours to fix — not upstream's bug and not a race.

What does not work

Deleting and re-pushing the tag. Verified on anofox-scenario: identical failure. The tag was never the problem; --force is precisely the flag that lets fetch update a ref actions/checkout already placed.

Branched from origin/main deliberately — local main here has 9 unpushed commits that are not mine to push.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Every release tag pushed here fails to deploy, so the tag exists but
ships no binaries. actions/checkout fetches the annotated tag, then the
deploy step's 'git fetch --tags' refuses to touch the same ref:

  ! [rejected] v2026.08.07 -> v2026.08.07 (would clobber existing tag)

The first deploy job to hit it exits 1 and fail-fast cancels every
sibling, so no architecture uploads at all.

This repo carries a vendored copy of _extension_deploy.yml that predates
the fix. erpl-tunnel and anofox-tabfm already run 'git fetch --tags
--force' and deploy cleanly; this copies their line across. Deleting and
re-pushing the tag does not help -- verified on anofox-scenario.

Also pins 'git tag --points-at HEAD' to its first match so EXT_VERSION
cannot become multi-line.
@jrosskopf
jrosskopf merged commit 215ddb6 into main Aug 8, 2026
57 checks passed
@jrosskopf
jrosskopf deleted the fix/deploy-tag-fetch branch August 8, 2026 05:21
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