Skip to content

Ruby 3.4.12 - #501

Merged
flavorjones merged 1 commit into
mainfrom
ruby-3.4.12-slim
Oct 23, 2026
Merged

flavorjones merged 1 commit into
mainfrom
ruby-3.4.12-slim

Conversation

@flavorjones

Copy link
Copy Markdown
Member

Motivation

Ruby 3.4.12 carries Onigmo regexp fixes for four GitLab CVEs. Writebook runs 3.4.7.

Details

Set Ruby to 3.4.12 in .ruby-version, the RUBY_VERSION argument of Dockerfile and Dockerfile-export, and the RUBY VERSION of Gemfile.lock. Both images build on the stock ruby:3.4.12-slim.

Bump ruby/setup-ruby in CI from v1.321.0 to v1.334.0, the first release that installs 3.4.12.

Additional information

Both Dockerfiles build locally on linux/amd64, including the trusted-roots check from #500.

Writebook ran Ruby 3.4.7, which lacks the Onigmo regexp fixes that
Ruby 3.4.12 carries. Move `.ruby-version`, both Dockerfiles and the
lockfile to 3.4.12 on the stock `ruby:3.4.12-slim` image, and bump
`ruby/setup-ruby` to v1.334.0, the first release that installs 3.4.12.

ref: https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/
Copilot AI balanced review requested due to automatic review settings October 23, 2026 21:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approved

The scoped version updates are consistent across development, containers, and CI, with no blocking issues identified.

No open issues 🎉

What changed in this PR

Updates Writebook to Ruby 3.4.12 to incorporate the Onigmo regexp security fixes, keeping development, containers, and CI aligned.

Changes:

  • Updates Ruby version declarations and lockfile metadata to 3.4.12.
  • Updates all four CI references to the pinned ruby/setup-ruby v1.334.0 release.

[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

File Description
Gemfile.lock Records Ruby 3.4.12p148.
Dockerfile-export Updates the export image to Ruby 3.4.12.
Dockerfile Updates the application image to Ruby 3.4.12.
.ruby-version Sets the project Ruby version to 3.4.12.
.github/​workflows/​ci.yml Updates the pinned Ruby setup action across four jobs.

Review effort: Balanced

@flavorjones
flavorjones merged commit 692a4b3 into main Oct 23, 2026
8 checks passed
@flavorjones
flavorjones deleted the ruby-3.4.12-slim branch October 23, 2026 22:35
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.

2 participants