Skip to content

Ruby 4.0.10 - #3320

Merged
flavorjones merged 1 commit into
mainfrom
card-10519595965-ruby-4-0-10
Nov 19, 2026
Merged

flavorjones merged 1 commit into
mainfrom
card-10519595965-ruby-4-0-10

Conversation

@flavorjones

Copy link
Copy Markdown
Member

Motivation

Ruby 4.0.10 fixes the Regexp and String vulnerabilities announced on 2026-11-18. Fizzy runs 4.0.9.

Details

  • Set Ruby 4.0.10 in .ruby-version, both lockfiles, Dockerfile, saas/Dockerfile and saas/hotcell/Dockerfile, all on the stock ruby:4.0.10-slim image.
  • Re-pin the hotcell accessory in saas/config/deploy.yml to fizzy-hotcell:9eb1f922868f, which saas/hotcell/bin/build built from the new Dockerfile.
  • Update ruby/setup-ruby from v1.338.0 to v1.342.0. v1.338.0 lists no Ruby 4.0.10 build.

Additional information

The new hotcell image is built but not pushed to the registry. Kamal's pre-build hook runs saas/hotcell/bin/check --publish, which pushes it when the registry lacks it.

Same shape as #3234 Ruby 4.0.9.

Ruby 4.0.9 lacked the fixes for the Regexp and String vulnerabilities
announced on 2026-11-18. Move every Ruby pin to 4.0.10, re-pin the
hotcell accessory to the rebuilt image, and update `ruby/setup-ruby` to
v1.342.0, which lists 4.0.10.

ref: https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/
Copilot AI balanced review requested due to automatic review settings November 19, 2026 03:18

Copilot AI left a comment

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.

🟢 Approved

No active review issues are reported for the Ruby 4.0.10 security upgrade.

No open issues 🎉

What changed in this PR

Updates Fizzy to Ruby 4.0.10 to address the announced Regexp and String vulnerabilities, following the same upgrade pattern as #3234.

Changes:

  • Aligns local Ruby, both lockfiles, and all three container builds on 4.0.10.
  • Re-pins the HotCell accessory image for the upgraded runtime.
  • Updates ruby/setup-ruby to v1.342.0 across CI workflows.

[!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
saas/​hotcell/​Dockerfile Upgrades Ruby and updates the base-image comment.
saas/​hotcell/​bin/​build Updates the Ruby image version in a comment only.
saas/​Dockerfile Upgrades the SaaS runtime to Ruby 4.0.10.
saas/​config/​deploy.yml Pins HotCell to image tag 9eb1f922868f.
Gemfile.saas.lock Records Ruby 4.0.10 for the SaaS bundle.
Gemfile.lock Records Ruby 4.0.10 for the main bundle.
Dockerfile Upgrades the self-hosted runtime to Ruby 4.0.10.
.ruby-version Sets the project Ruby version to 4.0.10.
.github/​workflows/​test.yml Updates the Ruby setup action for tests.
.github/​workflows/​dependabot-sync-saas-lockfile.yml Updates Ruby setup for lockfile synchronization.
.github/​workflows/​ci-checks.yml Updates Ruby setup across CI checks.

Review effort: Balanced

@flavorjones
flavorjones merged commit 21a5540 into main Nov 19, 2026
14 checks passed
@flavorjones
flavorjones deleted the card-10519595965-ruby-4-0-10 branch November 19, 2026 03:26
hermes-handy added a commit to handy-la/fizzy that referenced this pull request Nov 22, 2026
Trae de upstream:
- Fija fizzy-mcp-server v0.2.6 y después v0.2.7 en el despliegue SaaS (basecamp#3316, basecamp#3322).
- Termina la vista previa de connected apps en producción (basecamp#3296).
- Un registro dinámico de OAuth sin scope registra read y write; uno que
  nombra sólo scopes desconocidos registra read (basecamp#3319).
- La pantalla de consentimiento OAuth se carga completa, para que Authorize
  pueda redirigir a la app después de iniciar sesión (basecamp#3321).
- Ruby 4.0.10 en .ruby-version, Dockerfiles y CI (basecamp#3320).
- El modo SaaS registra la ubicación de visitante de Cloudflare como
  client.geo (basecamp#3324).
- Puma permite GC de marcado completo durante las peticiones (basecamp#3327).
- Dependabot: aws-sdk-s3 1.242.0, surfguard bcce49e, acciones de GitHub,
  mittens 0.3.5, bootsnap 1.26.1, tzinfo-data 1.2026.6 y solid_queue 1.7.2.

Conflicto sólo en Gemfile.lock: se conservan las gemas de Handy (faraday y
sus dependencias, de ruby_llm) y la plataforma ruby de ffi de upstream.
`bundle lock` con Ruby 4.0.10 no cambia el archivo. No toca
personalizaciones de Handy.
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