-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
sentry-rails 5.15.2 to 5.16.1 update breaks gitlab - TZInfo::InvalidTimezoneIdentifier: Invalid identifier: (GMT+00:00) UTC #2249
Labels
Comments
If we can confirm this is a bug in gitlab, then we can close this issue. |
hey, here it says it's the string so I think this is on your end # application.rb:
class Application < Rails::Application
config.time_zone = 'Eastern Time (US & Canada)'
end https://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html |
I have a similar issue during building stage. Downgrading to 5.15.2 helped.
|
getsantry
bot
added
Waiting for: Product Owner
and removed
Waiting for: Community
labels
Mar 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Description
When sentry-rails is updated from 5.10.0 to 5.16.1 (later we found upto 5.15.2 is good) in gitlab, all rake tasks fails with
TZInfo::InvalidTimezoneIdentifier: Invalid identifier: (GMT+00:00) UTC
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/144973
Reproduction Steps
For now this gitlab MR reproduces the error
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/144973
Expected Behavior
This should not break gitlab or any rails app
Actual Behavior
I think sentry is adding extra '(GMT+00:00)' to a valid timezone 'UTC'. I tested with many other timezone values in config/application.rb and all fails.
Ruby Version
3.1
SDK Version
3.1
Integration and Its Version
No response
Sentry Config
No response
The text was updated successfully, but these errors were encountered: