PgQue icon indicating copy to clipboard operation
PgQue copied to clipboard

release(ruby): prevent gem tag collision with server v0.3.0

Open NikolayS opened this issue 4 months ago • 1 comments

Severity

Critical release blocker.

Problem

Ruby package versions are independent from PgQue SQL/server versions, but the Ruby publish workflow invokes Bundler's rake release, which creates and pushes the generic tag v${VERSION} into this monorepo.

A final Ruby gem 0.3.0 therefore competes for the exact v0.3.0 tag required by the PgQue server release. Future independent releases have the same structural collision.

Relevant files:

  • .github/workflows/release-ruby.yml
  • clients/ruby/Rakefile
  • clients/ruby/RELEASE.md

The automated workflow has never run; 0.3.0.rc.1 was published manually, so this path is unproven.

Expected fix

Publish through an explicit workflow that does not create a generic server tag, or create a namespaced Ruby tag such as ruby/v0.3.0. Preserve RubyGems trusted publishing/OIDC, clean-build guards, and an approval gate. Add a dry-run assertion that detects an existing server v${VERSION} without colliding.

Update release/retraction docs to use the chosen namespaced tag. Do not run the current real publish path until fixed.

NikolayS avatar Jul 10 '26 09:07 NikolayS

Shipped in v0.3.0-rc.2 (merged to main via #395 at f4c7457): https://github.com/NikolayS/PgQue/releases/tag/v0.3.0-rc.2

NikolayS avatar Nov 21 '26 16:11 NikolayS