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

fix: add support for Sidekiq 8 #1444

Merged
merged 10 commits into from
Mar 26, 2025
Merged

Conversation

dmathieu
Copy link
Member

This adds support for Sidekiq 8 in the tests.

It also fixes an error where the event timestamp was provided in milliseconds, and therefore caused range errors when being converted into OTLP because the bignum was too large.

@dmathieu dmathieu changed the title Add support for Sidekiq 8 fix: add support for Sidekiq 8 Mar 12, 2025
Copy link
Contributor

@kaylareopelle kaylareopelle left a comment

Choose a reason for hiding this comment

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

Thanks, @dmathieu! This is looking good. I have a suggestion on how to skip the Sidekiq 8 suite for Ruby 3.1.

Copy link
Contributor

@tt tt left a comment

Choose a reason for hiding this comment

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

Thank you, @dmathieu.

Copy link
Collaborator

@arielvalentin arielvalentin left a comment

Choose a reason for hiding this comment

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

Thanks for this fix.

I think longer term we need to make some SDK changes to mitigate this. The timestamp should probably be a Ruby Time object to mitigate these kinds of weird cases that would result in overflows.

@arielvalentin arielvalentin merged commit f1dd08f into open-telemetry:main Mar 26, 2025
59 checks passed
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.

4 participants