Skip to content

ci: add RubyGems registry check - #159

Merged
sydneycollins-cio merged 8 commits into
mainfrom
mbl-2703-registry-check
Nov 25, 2026
Merged

sydneycollins-cio merged 8 commits into
mainfrom
mbl-2703-registry-check

Conversation

@sydneycollins-cio

Copy link
Copy Markdown
Contributor

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.

  • Polls every 3 minutes and strips a leading v from the tag
  • The alert is skipped when the webhook secret is not set

🤖 Generated with Claude Code

sydneycollins-cio and others added 4 commits November 24, 2026 11:28
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>
@sydneycollins-cio
sydneycollins-cio marked this pull request as ready for review November 24, 2026 18:59
@sydneycollins-cio
sydneycollins-cio requested a review from a team as a code owner November 24, 2026 18:59
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

@mahmoud-elmorabea mahmoud-elmorabea left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 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>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ 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.

Comment thread .github/workflows/registry-check.yml Resolved
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

@Shahroz16 Shahroz16 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The publisher already waits for RubyGems propagation before this check can run.

Comment thread .github/workflows/registry-check.yml Outdated
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' }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
@sydneycollins-cio
sydneycollins-cio merged commit 50255cb into main Nov 25, 2026
9 checks passed
@sydneycollins-cio
sydneycollins-cio deleted the mbl-2703-registry-check branch November 25, 2026 20:37
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