Repository navigation
chore(deps): update dependency ruby to v4 - #32
renovate[bot] wants to merge 1 commit into
Conversation
0ea9b44 to
855e52b
Compare
| @@ -1 +1 @@ | |||
| 3.2.2 | |||
| 4.0.1 | |||
There was a problem hiding this comment.
Bug: The documentation.yml workflow will fail because it lacks a step to set up Ruby 4.0.1 and the Gemfile.lock file is outdated for the new Ruby version.
Severity: CRITICAL
🔍 Detailed Analysis
The Ruby version was updated to 4.0.1 in .ruby-version, but the CI configuration and dependency lock file were not updated accordingly. The documentation.yml workflow is missing a ruby/setup-ruby action, which means the GitHub Actions runner will use an older, pre-installed Ruby version instead of 4.0.1. Furthermore, the Gemfile.lock file was not regenerated for Ruby 4.0.1 and still contains dependencies locked for Ruby 3.2.2. The combination of an incorrect Ruby runtime in CI and an outdated lock file will cause the bundle install step to fail, blocking documentation deployments.
💡 Suggested Fix
First, add the ruby/setup-ruby action to the documentation.yml workflow to ensure it uses Ruby 4.0.1. Then, regenerate the lock file by running bundle update --bundler and bundle lock to ensure all dependencies are compatible with Ruby 4.0.1. Commit the updated Gemfile.lock.
🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: .ruby-version#L1
Potential issue: The Ruby version was updated to `4.0.1` in `.ruby-version`, but the CI
configuration and dependency lock file were not updated accordingly. The
`documentation.yml` workflow is missing a `ruby/setup-ruby` action, which means the
GitHub Actions runner will use an older, pre-installed Ruby version instead of `4.0.1`.
Furthermore, the `Gemfile.lock` file was not regenerated for Ruby `4.0.1` and still
contains dependencies locked for Ruby `3.2.2`. The combination of an incorrect Ruby
runtime in CI and an outdated lock file will cause the `bundle install` step to fail,
blocking documentation deployments.
Did we get this right? 👍 / 👎 to inform future reviews.
Reference ID: 8517074
855e52b to
d85683e
Compare
d85683e to
7402e87
Compare
7402e87 to
48c9ac9
Compare
48c9ac9 to
1deedad
Compare
1deedad to
d5ee821
Compare
d5ee821 to
ac30a3d
Compare
e1e1594 to
78515af
Compare
78515af to
bb86196
Compare
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
3.2.2→4.0.10Release Notes
ruby/ruby (ruby)
v4.0.10: 4.0.10Compare Source
What's Changed
Security fixes
This release fixes seven vulnerabilities. See Security advisories: multiple vulnerabilities in Regexp and String case conversion for details.
String and encodings
Stringformatting with wide character encodings (Bug #22461, #19472)rb_gc_impl_free” by byroot (#15989)Regexp
Core classes
.each_with_indexignores.take(0)before it (Bug #21142, Bug #22496, #19109, #19668)Array#samplewhen array modified (Bug #22449, #19384)Time#strftimeout-of-bound access (Bug #22458, #19457)st_init_existing_table_with_size/Hash.new(capacity:)(Bug #22512, #19773)T_DATAbeforeRTYPEDDATA_Pby nobu (#15758)ALLOCVoverALLOCAfor unknown size by nobu (#15765)default_seed_bitsis 0 by nobu (#16341)eargsinappend_methodandarith_seq_inspectby dummyx (#16809)Set#&by nobu (#19166, follow-up of Bug #22388)rb_int_parse_cstrby fuzzyrichie (#19656; the pull request is titled afterMatchData#integer_at, which does not exist in Ruby 4.0)ary_sampleif the sampling number is 0 by nobu (#19673)IO, File, Process and Socket
IO#external_encoding/IO#internal_encodingsegfault on an uninitialized IO (Bug #22410, #19252)IO#gets(nil, limit)stops right after a 0xFF byte (Bug #22537, #19941)rb_fiber_scheduler_blocking_operation_waitcan garbage collectblocking_operationincorrectly. by samuel-williams-shopify (#16908)TCPSocket.newfast fallback by hsbt (#18846)Socket.tcp_with_fast_fallbackby nobu (c091c186e4, backported in #19810)VM, GC, Thread and Ractor
Thread#raiseandFiber#raisecan set VM throw data asException#cause, causing a crash. (Bug #22541, Bug #19593, #19861)ee90e8e(concurrent set size overcount) to 4.0: fstring table keeps doubling in long-running apps (Bug #22511, #16701)rb_gccct_clear_tableby byroot (#16398)backtraceby nobu (#19033)Parser and compiler
CONST ||= value,CONST &&= valueorCONST += valueunder# shareable_constant_value: literal(Prism compiler) (Bug #22543, #19892)&&=and||=on multi-line (Bug #22556, #19943)Invalid retry after ensure) (Bug #22599, #19984)ibf_load_builtinby nobu (#16723)YJIT and ZJIT
--enable=zjitdoes not enable ZJIT (Bug #22427, #19307)Windows
Default gems
Build, installation and tests
require "strscan"no longer activates the default gem, so a newer installed strscan is ignored and later loaded twice (Bug #22420, #19275)EHOSTUNREACHby byroot (#19828)Full Changelog
v4.0.9: 4.0.9Compare Source
What's Changed
Note: This list is automatically generated by tool/gen-github-release.rb. Because of this, some commits may be missing.
Full Changelog
v4.0.8: 4.0.8Compare Source
What's Changed
STR_SHAREDcheck inrb_str_tmp_frozen_release- Ruby - Ruby Issue Tracking Systemerrnoinrb_io_maybe_wait. - Ruby - Ruby Issue Tracking Systemeachblock - Ruby - Ruby Issue Tracking SystemTime#strftime- Ruby - Ruby Issue Tracking SystemNote: This list is automatically generated by tool/gen-github-release.rb. Because of this, some commits may be missing.
Full Changelog
v4.0.7: 4.0.7Compare Source
What's Changed
Coverage.startand ruby/debug - Ruby - Ruby Issue Tracking SystemBUNDLER_SETUPcan evaluate gemspecs before main-box RubyGems initialization - Ruby - Ruby Issue Tracking Systemaws-sdk-ec2in Ruby 4.0.6 - Ruby - Ruby Issue Tracking Systemfiber_switchwith transfer-terminated async tasks on 3.4.10 - Ruby - Ruby Issue Tracking Systemvm_call_iseq_setup_kwparm_nokwarg/def_iseq_ptr) on Ruby 4.0.6 — Rails CI - Ruby - Ruby Issue Tracking SystemCoverage.line_stubclobbers already-collected coverage data - Ruby - Ruby Issue Tracking SystemNote: This list is automatically generated by tool/gen-github-release.rb. Because of this, some commits may be missing.
Full Changelog
v4.0.6: 4.0.6Compare Source
What's Changed
Thread.each_caller_location(1, 1)segfaults when called from a cfunc - Ruby - Ruby Issue Tracking Systemrb_vm_ci_lookupunder parallel Ractors - Ruby - Ruby Issue Tracking SystemArray#sumtakes slow path, does not perform compensated summation of Float elements when init argument is a Float - Ruby - Ruby Issue Tracking System$!stays as the first exception in Ruby Box - Ruby - Ruby Issue Tracking SystemThread.handle_interruptmasking. - Ruby - Ruby Issue Tracking SystemEnumerator::Lazy#to_enumdoes not accept method names as strings - Ruby - Ruby Issue Tracking SystemSignal.trap(:EXIT)exception only shown ifat_exitalso raises - Ruby - Ruby Issue Tracking SystemNote: This list is automatically generated by tool/gen-github-release.rb. Because of this, some commits may be missing.
Full Changelog
v4.0.5: 4.0.5Compare Source
What's Changed
make rdocfails withinvalid byte sequence in US-ASCIIon Ruby 4.0.4 under C locale - Ruby - Ruby Issue Tracking SystemNote: This list is automatically generated by tool/gen-github-release.rb. Because of this, some commits may be missing.
Full Changelog
v4.0.4: 4.0.4Compare Source
What's Changed
Fiber#transfer: machine stack not released when fiber terminates, causingFiberError: can't set a guard page- Ruby - Ruby Issue Tracking SystemRubyVM::InstructionSequence.compiledon't support coverage - Ruby - Ruby Issue Tracking SystemConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.