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

Bump to Ruby 3.4.1 #3134

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Bump to Ruby 3.4.1 #3134

wants to merge 3 commits into from

Conversation

kevindew
Copy link
Member

This is another attempt to bump Ruby after hitting a problem with 3.3.5 1.

This is another attempt to bump Ruby after hitting a problem with 3.3.5
[1].

[1]: #3063
This includes platforms for Docker on ARM (for GOV.UK Docker), ARM on linux
(for production) and x86 64 on linux (for Github Actions)
This piece of code sets a default value for when you look up an item and
the hash doesn't have a value. In Ruby 3.4 we have to specify a default
hash value as an explicit hash, omitting the braces caused the arguments
to be treated as keyword arguments and an error is raised:

```
 ArgumentError: unknown keywords: :rank, :view_count
```
@kevindew
Copy link
Member Author

We still seem to be blocked from progressing with this due to the issue described in #3063

Where running the load_traffic task results in a GRPC error:

Google::Cloud::CanceledError: 1:CANCELLED. debug_error_string:{UNKNOWN:Error received from peer  {grpc_message:"CANCELLED", grpc_status:1, created_time:"2025-01-28T16:20:18.190381328+00:00"}} (Google::Cloud::CanceledError)
/usr/local/bundle/ruby/3.4.0/gems/google-analytics-data-v1beta-0.15.0/lib/google/analytics/data/v1beta/analytics_data/client.rb:392:in 'Google::Analytics::Data::V1beta::AnalyticsData::Client#run_report'

As described in googleapis/google-cloud-ruby#27448

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.

1 participant