Repository navigation
Upgrade to Ruby 4.0.10, shared-core 8.7.1 and refresh dependencies - #24
Merged
Merged
Conversation
Ruby 4.0.10 fixes the regexp/string vulnerabilities announced on 2026-11-18 (4.0.9 and earlier are affected). - Ruby 4.0.10 in CI, pullfrog, release and the test-services image; ruby/setup-ruby v1.342.0 (first release that knows 4.0.10) - shell.nix: Ruby 4.0.10 (local mkRuby override until nixpkgs has it) - restate-sdk-shared-core 8.2.0 -> 8.7.1, magnus 0.8 -> 0.9, rb-sys 0.9.130, cargo update; crate moved to edition 2024 + cargo fmt - bundle update (all gems), Bundler 4.1.0 - Declare base64 and logger as runtime dependencies: they are no longer default gems on Ruby >= 3.4 / 4.0 and fail to load under Bundler - test-services entrypoint: stop pinning GEM_PATH, which hid Ruby's bundled gems from Bundler at runtime - Integration script: sdk-test-suite v2.3 (matching CI) on a Java 25 runner image
Contributor
|
The workflow's GitHub's error |
The previously locked commit was force-pushed out of the stable branch's history, which fails every job that uses the action.
Contributor
|
The workflow's GitHub's error |
Contributor
Author
|
@pullfrog try again please |
Contributor
|
The workflow's GitHub's error |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
General maintenance
Ruby
ci.yaml,pullfrog.yml,release.ymlandtest-services/Dockerfileruby/setup-rubyv1.335.0 → v1.342.0, the first release that knows 4.0.10shell.nix: Ruby 4.0.10 via a localmkRubyoverride, which removes itself once the nixpkgs channel ships 4.0.10Rust
restate-sdk-shared-core8.2.0 → 8.7.1. The changes are additive, with no service-protocol bump.cargo updatelib.rsdiff is onlycargo fmtand import sorting.Gems
bundle updatefor every gem; Bundler 4.1.0Style/DirectiveScopecop fixed incontext.rbBug fixes found while testing on Ruby 4
base64andloggerare now runtime dependencies in the gemspec. They stopped being default gems in Ruby 3.4 and 4.0 respectively, so the SDK failed to load under Bundler. The devGemfilehad been hiding this.test-services/entrypoint.shno longer pinsGEM_PATH, which hid Ruby's bundled gems and made the Falcon workers crash on boot.Tooling
etc/run-integration-tests.shnow uses sdk-test-suite v2.3, matching CI, run on aneclipse-temurin:25-jreimageNotes for review
.github/workflows/actions.lockwas edited by hand: only theruby/setup-rubyref and SHA changed, becausegh actions-lockwasn't available. Theverify-lockfilecheck will confirm it.setup-ruby-and-ruststep uses"4.0"rather than an exact pin. It resolves through a lockedsetup-ruby-pkgscommit and only drives rb-sys-dock.required_ruby_versionstays at>= 3.1. magnus 0.9 no longer tests against 3.1, so it may be worth raising the floor in a follow-up.Testing
make verify: no rubocop offenses; steep and sorbet clean; 29 harness specs pass./etc/run-integration-tests.shagainst a Ruby 4.0.10 image: 322/322 passed