Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rdkafka instrumentation 0.4.1 fails to install #730

Closed
arielvalentin opened this issue Nov 23, 2023 · 3 comments
Closed

rdkafka instrumentation 0.4.1 fails to install #730

arielvalentin opened this issue Nov 23, 2023 · 3 comments
Assignees

Comments

@arielvalentin
Copy link
Collaborator

Though pushing the gem to RubyGems worked we are unable to install the gem.

vibora ~/github/opentelemetry-ruby-contrib/releases(main|βœ”) %
🀘 bundle
Fetching gem metadata from https://rubygems.org/.......
Could not find gem 'opentelemetry-instrumentation-rdkafka (= 0.4.1)' in rubygems repository https://rubygems.org/ or installed locally.

The source contains the following gems matching 'opentelemetry-instrumentation-rdkafka':
  * opentelemetry-instrumentation-rdkafka-0.1.0
  * opentelemetry-instrumentation-rdkafka-0.2.0
  * opentelemetry-instrumentation-rdkafka-0.2.1
  * opentelemetry-instrumentation-rdkafka-0.2.2
  * opentelemetry-instrumentation-rdkafka-0.2.3
  * opentelemetry-instrumentation-rdkafka-0.3.0
  * opentelemetry-instrumentation-rdkafka-0.3.1
  * opentelemetry-instrumentation-rdkafka-0.3.2
  * opentelemetry-instrumentation-rdkafka-0.4.0
vibora ~/github/opentelemetry-ruby-contrib/releases(main|βœ”) %
🀘 gem search opentelemetry-instrumentation-rdkafka

*** REMOTE GEMS ***

opentelemetry-instrumentation-rdkafka (0.4.1)

The Toys Release libraries prevent me from generating another release so I yanked the gem from RubyGems.

vibora ~/github/opentelemetry-ruby-contrib/instrumentation/rdkafka(main|βœ”) %
🀘 gem yank -v 0.4.1 opentelemetry-instrumentation-rdkafka
Yanking gem from https://rubygems.org...
Added yank_rubygem scope to the existing API key
Successfully deleted gem: opentelemetry-instrumentation-rdkafka (0.4.1)

RubyGems does not allow replacing or overriding a gem. The toys library does not allow me to create a new release due to failing builds, though the failing builds are excluded from the required_builds setting:

https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/.toys/.data/releases.yml#L9

Trying to figure out how to fix all of this. Any ideas @dazuma ?

@arielvalentin
Copy link
Collaborator Author

I wasn't able to figure out the incantations that would have resulted in the release jobs to pick up the changes and force a release of the gem.

I created this PR and merged it:
#731

The release hook actions ran but because I did not set the right labels I do not think the workflows completed correctly and did not push them. I still had to push it manually.

@arielvalentin
Copy link
Collaborator Author

We now have this problem with opentelemetry-instrumentation-base.

I have opened an issue with RubyGems [email protected] and was assigned ZenDesk ticket: 2382

@arielvalentin
Copy link
Collaborator Author

This happened to be an issue with RubyGems that was fixed rubygems/rubygems.org#4231. Thank you again @simi

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

No branches or pull requests

1 participant