Skip to content

Upgrade RUBY on the WORKER#238

Merged
boost-tim merged 5 commits into
mainfrom
tw/ruby-upgrade
Jun 24, 2025
Merged

Upgrade RUBY on the WORKER#238
boost-tim merged 5 commits into
mainfrom
tw/ruby-upgrade

Conversation

@boost-tim
Copy link
Copy Markdown
Contributor

As Dan, I want Ruby up to date on the WORKER, so that we are safe and secure from CVE's

Acceptance Criteria
-Rails is running on the latest Ruby (3.4.5 at the time of writing)(Currently 3.2.2)
-The app using the latest Alpine version available for that ruby version

Risks
-subtle dependencies changing how parsers code behaves?

Notes
-Upgrading Ruby will upgrade the Alpine version we're on. This will help to avoid CVEs
-This might be the previous upgrade 157784

@github-actions
Copy link
Copy Markdown

Code quality score

Lovely, the code quality is unchanged for this PR 😊

Ruby file count Similarity score (flay) ABC complexity (flog) Code smells (reek) TOTALS
base 63 1.4 7.92 18.35 27.67
this branch 63 1.4 7.92 18.35 27.67
difference 0 0.0 0.0 0.0 0.0

Comment thread Dockerfile Outdated
@@ -1,4 +1,4 @@
FROM ruby:3.2.2-alpine3.18 AS builder
FROM ruby:3.4.4-alpine AS builder
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Here it would be best to pin the alpine version, it's part of the best practices with Docker :)

@boost-tim boost-tim merged commit 83f538e into main Jun 24, 2025
5 of 6 checks passed
@boost-tim boost-tim deleted the tw/ruby-upgrade branch June 24, 2025 02:27
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.

3 participants