Skip to content

fix(scripts): push release tags in batches of 3 - #1148

Merged
matifali merged 1 commit into
mainfrom
fix/tag-release-batch-push
Sep 29, 2026
Merged

matifali merged 1 commit into
mainfrom
fix/tag-release-batch-push

Conversation

@matifali

Copy link
Copy Markdown
Member

Summary

  • GitHub does not emit push events for tag refs when more than 3 are pushed in a single call — any batch push of >3 release tags silently never triggers release.yml or deploy-registry.yaml.
  • Hit this for real releasing PR refactor(modules): use /usr/bin/env for script shebangs #1127's version bumps: pushed 13 then 4 release tags, both pushes succeeded on the remote, but zero release workflow runs fired for any of them. Had to manually delete + re-push all 17 in batches of 3 to get the releases created.
  • scripts/tag_release.sh now pushes tags in batches of TAG_PUSH_BATCH_SIZE=3 instead of one atomic push, so every release tag reliably gets its own push event.

Test plan

  • bash -n scripts/tag_release.sh
  • ./scripts/tag_release.sh --help
  • ./scripts/tag_release.sh -d -v (dry run against current main, confirms detection logic unaffected)
  • Manually verified batching behavior by reproducing the incident: 17 tags stuck with no release, delete+re-push in batches of 3 fixed all 17

🤖 Generated with Claude Code

@linear-code

linear-code Bot commented Sep 29, 2026

Copy link
Copy Markdown

CLI-13

GitHub does not emit push events for tag refs when more than 3 are
pushed in a single call, so any batch of >3 tags silently never
triggers release.yml or deploy-registry.yaml. Hit this pushing 13 and
4 release tags at once for PR #1127 -- both pushes succeeded but no
release workflow ran for any of them.

Push tags in batches of <=3 instead of one atomic push, so every
release tag reliably gets its own push event.
@matifali
matifali force-pushed the fix/tag-release-batch-push branch from b5e7b77 to 1f08bae Compare September 29, 2026 14:04
@matifali
matifali enabled auto-merge (squash) September 29, 2026 14:04
@matifali
matifali merged commit 3847ba2 into main Sep 29, 2026
4 checks passed
@matifali
matifali deleted the fix/tag-release-batch-push branch September 29, 2026 14:06
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