pulibrary / bibdata

Local API for retrieving bibliographic and other useful data from Alma (Ruby 3.2.0, Rails 7.1.3.4)
BSD 2-Clause "Simplified" License
16 stars 7 forks source link

Update webhook ruby to 3.2 #2455

Closed christinach closed 2 weeks ago

christinach commented 3 weeks ago

What maintenance needs to be done?

We're using ruby 2.7 in Lambda AWS. We should update to 3.2 or 3.3

Level of urgency

EOL upgrade

Why is this maintenance needed?

Acceptance criteria

Implementation notes, if any

See Webhook readme notes

I attempted to deploy with Ruby 3.1 but failed because it supports only ruby 3.2 and 3.3

christinach commented 2 weeks ago

AWS staging webhook does not receive messages with ruby v 2.7 or 3.2. First I need to see why this is happening.

christinach commented 2 weeks ago

AWS staging webhook does not receive messages with ruby v 2.7 or 3.2. First I need to see why this is happening.

I was able to resolve an error that I could see after the various deploys. It was an incompatibility between the gems and the new version of ruby 3.2 I had deployed in combination with a stale datadog layer from ruby 2.7.

@mzelesky thank you for helping me testing this by editing records patiently every time I asked you! Also thank you for reviewing numerous times with me the Alma configuration settings in the sandbox to ensure they were correct after the cloning of the Alma sandbox.

The files are in bibdata-staging