Repository navigation
ci: add RubyGems registry check - #159
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
mahmoud-elmorabea
left a comment
There was a problem hiding this comment.
🔴 The check starts at tag push, but the publish job waits on required reviewers in the rubygems environment. If approval takes over ~50 min, this alerts "missing from RubyGems" while the publish is still pending. Consider starting from workflow_run on the publish workflow, as the Node PR does.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c2dad79. Configure here.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Shahroz16
left a comment
There was a problem hiding this comment.
The publisher already waits for RubyGems propagation before this check can run.
| name: Confirm version is on RubyGems | ||
| # A publish run that failed, was cancelled or had its approval rejected | ||
| # uploaded nothing, and the run itself already shows that. | ||
| if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }} |
There was a problem hiding this comment.
Could we surface a propagation timeout in the publish workflow’s failure notice? The release action already waits for the version in the RubyGems index, its gemspec, and the gem archive. If that wait times out, the publish job fails and this success-only check skips the failure it’s meant to catch.
There was a problem hiding this comment.
Good point. The publish failure notice now does one RubyGems lookup and says whether the gem was uploaded but did not finish propagating, or is not listed at all. That change is in the Slack notices PR since the notice lives there. This check also runs after a failed publish now, so a late arrival stays quiet and a missing gem still alerts.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

After a release tag is pushed, this workflow checks that the version shows up on RubyGems and alerts Slack if it is still missing after about 50 minutes. It can also be run by hand with a version to test it.
🤖 Generated with Claude Code