Project

General

Profile

Activity

From 04/02/2025 to 04/08/2025

04/08/2025

11:11 PM Revision ab4a25e4 (git): [rubygems/rubygems] Follow up to removal of rubyinstaller2 workaround
https://github.com/rubygems/rubygems/commit/5b312fd040 deivid (David Rodríguez)
11:11 PM Revision ae45a7a9 (git): [ruby/json] Cleanup jeaiii-ltoa to not need pragmas
https://github.com/ruby/json/commit/97f2924d0a byroot (Jean Boussier)
11:11 PM Revision b1362e26 (git): [ruby/json] Suppress -Wunknown-pragmas warnings
https://github.com/ruby/json/commit/97f47d1cfd nobu (Nobuyoshi Nakada)
08:45 PM Bug #21193: Inherited callback returns `nil` for `Object.const_source_location`
After exchanging impressions with @byroot today, I have created https://github.com/ruby/ruby/pull/13085 to restore th... fxn (Xavier Noria)
05:46 PM Revision d5f94941 (git): [ruby/openssl] Fix the tests using SHA-1 Probabilistic Signature Scheme (PSS) parameters.
Fedora OpenSSL 3.5 on rawhide stopped accepting SHA-1 PSS[1] parameters.
This is different from the SHA-1 signatures ...
Jun Aruga
05:34 PM Bug #21256 (Assigned): `it` value is wrapped in an array when that doesn't happen with numbered parameter
Here is a repro without rspec.
```ruby
class C
define_method(:foo) do
p it
end
end
class D < C
...
mame (Yusuke Endoh)
04:42 PM Bug #21256 (Assigned): `it` value is wrapped in an array when that doesn't happen with numbered parameter
I have the following script:
```rb
require "bundler/inline"
gemfile do
source "https://rubygems.org"
g...
Earlopain (Earlopain _)
05:34 PM Misc #20968: `Array#fetch_values` unexpected method name in stack trace
> In any case, it was reaffirmed that matz strongly prefers that `<internal:` not be displayed.
I somewhat agree t...
Dan0042 (Daniel DeLorme)
03:22 AM Misc #20968: `Array#fetch_values` unexpected method name in stack trace
`rake` suppressed these backtrace at https://github.com/ruby/rake/pull/554
I'm +1 to proposal of mame and matz.
hsbt (Hiroshi SHIBATA)
04:52 PM Revision 5aa05f17 (git): Fix lldb debug scripts (#13048)
In ruby/ruby#13008 `RVALUE` was removed without replacement. This means
the lldb scripts that relied on `RVALUE` stop...
Eileen
04:18 PM Feature #21254: Inlining Class#new
Btw, @ko1 came up with this idea, so I want to say thanks to him. tenderlovemaking (Aaron Patterson)
04:02 PM Feature #21254: Inlining Class#new
Earlopain (Earlopain _) wrote in #note-3:
> > As you can see in the above output, the Class#new frame is eliminated....
tenderlovemaking (Aaron Patterson)
06:58 AM Feature #21254: Inlining Class#new
> As you can see in the above output, the Class#new frame is eliminated. I'm not sure if anyone really cares about th... Earlopain (Earlopain _)
01:37 AM Feature #21254: Inlining Class#new
ko1 (Koichi Sasada) wrote in #note-1:
> `swap` is remained?
I [made a patch to remove `swap`](https://github.com/...
tenderlovemaking (Aaron Patterson)
12:45 AM Feature #21254: Inlining Class#new
`swap` is remained? ko1 (Koichi Sasada)
03:15 PM Feature #21221: Proposal to upstream ZJIT
Thank you for you trust Matz!
I think it should be helpful to onboard new people if we have an architecture that i...
maximecb (Maxime Chevalier-Boisvert)
07:10 AM Feature #21221: Proposal to upstream ZJIT
I agree with making ZJIT upstream. And I feel no worry about the migration, since I trust the team with merging proce... matz (Yukihiro Matsumoto)
01:00 PM Feature #16993: Sets: from hash keys using Hash#key_set
mame (Yusuke Endoh) wrote in #note-9:
> Given the convention of deriving methods such as `key_set` from `keys`, wher...
Dan0042 (Daniel DeLorme)
05:54 AM Feature #16993: Sets: from hash keys using Hash#key_set
Given the convention of deriving methods such as `key_set` from `keys`, where the former returns a set instead of an ... mame (Yusuke Endoh)
10:43 AM Bug #21255 (Assigned): Can't build Ruby with Windows SDK 10.0.26100
hsbt (Hiroshi SHIBATA)
07:05 AM Bug #21255 (Closed): Can't build Ruby with Windows SDK 10.0.26100
I tried to build ruby.exe with Windows SDK 10.0.26100. But it failed with:
```
dmyext.obj dmyenc.obj
linking sha...
hsbt (Hiroshi SHIBATA)
09:23 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
> So I guess I should merge the proposed patch as a precaution?
I think so yes, with that eval code as a test case.
byroot (Jean Boussier)
08:47 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
byroot (Jean Boussier) wrote in #note-7:
> Can source line ever legitimately be `0`?
With `eval`, it can. It can ...
mame (Yusuke Endoh)
08:32 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
@mbcodeandsound Just FYI, I bet you meant to write `!(1..16).cover?(channel)` in the following line.
https://git...
mame (Yusuke Endoh)
08:28 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
Nice find!
Can source line ever legitimately be `0`? Perhaps we are missing some assertions that would have caught...
byroot (Jean Boussier)
08:25 AM Bug #21220 (Assigned): Memory corruption in update_line_coverage() [write at index -1]
@byroot Thanks! I think this is an issue of the prism compiler handling the line number around a flip-flop syntax.
t...
mame (Yusuke Endoh)
07:50 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
What I've figured for now it that the corruption is triggered by:
```ruby
# This require line makes sure the or...
byroot (Jean Boussier)
07:43 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
> The issue reproduces on my machine, but it's very rare.
You can make it happen 100% of the time with the follow...
byroot (Jean Boussier)
07:41 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
Thanks for the report. The issue reproduces on my machine, but it's very rare. I haven't figured out what happens.
...
mame (Yusuke Endoh)
07:00 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
> I do not know if it's normal for rb_sourceline() to return 0
Yes:
```ruby
const char *
rb_sourcefile(vo...
byroot (Jean Boussier)
07:24 AM Misc #21154: Document or change Module#autoload?
Hi @mame, did you have a chance to watch the video or discuss it in a dev meeting? fxn (Xavier Noria)
06:46 AM Revision b68fe530 (git): Windows 11 24H2 with VS 2019 16.11.45 couldn't handle long name test
```
2) Error:
TestDir#test_children_long_name:
Test::Unit::ProxyError: No such file or directory @ apply2files - C:...
hsbt (Hiroshi SHIBATA)
06:46 AM Revision 10d6ee65 (git): Skip some assertions of TestFileExhaustive#test_dirname with Windows platform.
These assertions didn't handle drive letter of Windows
```
1) Failure:
TestFileExhaustive#test_dirname [V:/github....
hsbt (Hiroshi SHIBATA)
06:00 AM Bug #21104: Net::HTTP connections failing in Ruby >= 3.4.0 on macOS with Happy Eyeballs enabled

>For those experiencing this problem, can you successfully run the following script?
```
➜ ruby-sandbox ruby -...
chokkoy (Naoyuki Yamada)
03:12 AM Revision d17ab5a4 (git): [ruby/mmtk] Do root scanning in scan_vm_specific_roots
We rely on scan_vm_specific_roots to reach all stacks via the following
path:
VM -> ractors -> threads -> fibers...
wks (Kunshan Wang)

04/07/2025

11:56 PM Revision b3b1d7b2 (git): Remove spinlock in dtoa's Balloc, use xmalloc
The spinlock here performs poorly when there are multiple Ractors. The
improvement on single threaded performance doe...
jhawthorn (John Hawthorn)
11:09 PM Misc #21100: DevMeeting before RubyKaigi 2025
* [Feature #21254] Inline YARV instructions for `Class#new`
* Patch inlines YARV instructions for calls to `new`
...
tenderlovemaking (Aaron Patterson)
06:31 PM Misc #21100: DevMeeting before RubyKaigi 2025
* [Feature #21221] Proposal to upstream ZJIT
* The YJIT team has been working on ZJIT, a more advanced Ruby JIT
...
maximecb (Maxime Chevalier-Boisvert)
04:37 PM Misc #21100: DevMeeting before RubyKaigi 2025
* [Feature #21216] Implement Set as a core class (jeremyevans0)
* I propose to implement Set as a core class.
*...
jeremyevans0 (Jeremy Evans)
11:03 PM Feature #21254 (Closed): Inlining Class#new
We would like to propose inlining YARV bytecode for speeding up object allocations, specifically inlining the `Class#... tenderlovemaking (Aaron Patterson)
06:44 PM Feature #21219: `Object#inspect` accept a list of instance variables to display
> could only symbols be used to simplify the syntax further?
Technically possible, but not ideal because of variou...
byroot (Jean Boussier)
06:41 PM Feature #21219: `Object#inspect` accept a list of instance variables to display
From an developer ergonomic standoint, could only symbols be used to simplify the syntax further? Example:
``` rub...
bkuhlmann (Brooke Kuhlmann)
06:34 PM Feature #21219: `Object#inspect` accept a list of instance variables to display
I'm fine with either of those, with perhaps a slight preference for `private def inspect_instance_variables = [:@a, :... byroot (Jean Boussier)
06:17 PM Feature #21219: `Object#inspect` accept a list of instance variables to display
I agree with @mame that a keyword argument to `#inspect` is undesirable. `#inspect_instance_variables` is one possibl... jeremyevans0 (Jeremy Evans)
05:37 PM Feature #21219: `Object#inspect` accept a list of instance variables to display
Just FYI, pretty_print already has that mechanism. It allows to control the list of instance variables that should be... mame (Yusuke Endoh)
01:29 PM Feature #21219 (Closed): `Object#inspect` accept a list of instance variables to display
## Context
The default `Object#inspect` implementation is quite useful to have a generic representation of objects...
byroot (Jean Boussier)
06:27 PM Feature #21221 (Assigned): Proposal to upstream ZJIT
# Background
For the past 3 months, the YJIT team at Shopify has been working on a next-generation Ruby JIT, which...
maximecb (Maxime Chevalier-Boisvert)
05:33 PM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
Something like this should prevent the memory corruption, but may be hiding a deeper issue:
``` diff
--- thread.c...
mbcodeandsound (Mike Bourgeous)
05:27 PM Bug #21220 (Closed): Memory corruption in update_line_coverage() [write at index -1]
Hello!
I have encountered repeatable memory corruption in Ruby 3.4.2 on Ubuntu 24.04.2 LTS, which I believe is hap...
mbcodeandsound (Mike Bourgeous)
02:43 PM Bug #21201: Performance regression when defining methods inside `refine` blocks
Your patch look really good.
I wonder if it would be possible to do like the `vm->constant_cache` table, have the ...
byroot (Jean Boussier)
02:16 PM Bug #21201: Performance regression when defining methods inside `refine` blocks
byroot (Jean Boussier) wrote in #note-1:
> The solution is likely to keep the list (set) of all existing call caches...
alpaca-tc (Hiroyuki Ishii)
02:37 PM Revision 4646ab89 (git): Use correct warn method
Kanstantsin Shautsou
02:30 PM Bug #21218 (Rejected): SizedQueue not stopping threads in push even when non_block: false
The `non_block` argument is a positional argument, not a keyword argument, and `{non_block: true}` is considered true... jeremyevans0 (Jeremy Evans)
11:17 AM Bug #21218 (Rejected): SizedQueue not stopping threads in push even when non_block: false
Use this to recreate
``` ruby
3.1.4 :019 > sq.push(1, non_block: true)
=> #<Thread::SizedQueue:0x00007f39e759af60...
0raghvendrrao (Raghvendra Rao)
01:41 PM Bug #21214 (Closed): VmRSS consumption increase in Ruby 3.4.2 vs Ruby 3.3.6
Applied in changeset commit:git|d4406f0627c78af31e61f9e07dda9151e109dbc4.
----------
Grow GC heaps independently
[B...
peterzhu2118 (Peter Zhu)
01:41 PM Revision e3abdfbc (git): Skip test_heaps_grow_independently for MMTk
peterzhu2118 (Peter Zhu)
01:41 PM Revision d4406f06 (git): Grow GC heaps independently
[Bug #21214]
If we allocate objects where one heap holds transient objects and another
holds long lived objects, the...
peterzhu2118 (Peter Zhu)
12:21 PM Bug #21217: Integer.sqrt produces wrong results even on input <= 1e18
ruby_3_3 commit:a67e9e41846cdadad9bb2d9e9d10223c52253898 merged revision(s) commit:3a7b9ca93b91dcc086b9ac8b9957e59268... nagachika (Tomoyuki Chikanaga)
02:08 AM Bug #21217 (Closed): Integer.sqrt produces wrong results even on input <= 1e18
Applied in changeset commit:git|3a7b9ca93b91dcc086b9ac8b9957e59268f9493b.
----------
Fix `Integer.sqrt` to never exc...
mame (Yusuke Endoh)
12:19 PM Revision a67e9e41 (git): merge revision(s) 3a7b9ca93b91dcc086b9ac8b9957e59268f9493b: [Backport #21217]
Fix `Integer.sqrt` to never exceed actual value
`Integer.sqrt` uses `sqrt(3)` from libm for small values.
...
nagachika (Tomoyuki Chikanaga)
10:00 AM Revision 432e5fa7 (git): prism_compile.c: Avoid zero length allocation
The constant pool may be empty. byroot (Jean Boussier)
09:30 AM Bug #20255: Embedded arrays aren't moved correctly across ractors
For the record, I went back to a lower level copying code, but made it size pool aware: https://github.com/ruby/ruby/... byroot (Jean Boussier)
06:11 AM Revision 135e5bff (git): Update bundled gems list at d485638a08a4561cd2f9c28d29b6d0 [ci skip]
git[bot]
06:10 AM Revision d485638a (git): Allow win32ole test failure
```
D:/a/ruby/ruby/src/gems/src/win32ole/test/win32ole/test_win32ole_event.rb:80:in 'TestWIN32OLE_EVENT_SWbemSink#def...
hsbt (Hiroshi SHIBATA)
06:10 AM Revision f70bf784 (git): Fixed wrong condition to avoid flaky ractor_test.rb
hsbt (Hiroshi SHIBATA)
06:10 AM Revision be5dea97 (git): Rename test command for test-unit
https://github.com/test-unit/test-unit/commit/b7d3c32f6e334e1823e30c053c2268893cf073ef hsbt (Hiroshi SHIBATA)
06:10 AM Revision a4b4dad4 (git): Update bundled_gems
hsbt (Hiroshi SHIBATA)
02:08 AM Revision 3a7b9ca9 (git): Fix `Integer.sqrt` to never exceed actual value
`Integer.sqrt` uses `sqrt(3)` from libm for small values.
This method must return a value less than or equal to the a...
mame (Yusuke Endoh)

04/06/2025

11:05 AM Bug #21217: Integer.sqrt produces wrong results even on input <= 1e18
mame (Yusuke Endoh) wrote in #note-3:
> https://github.com/ruby/ruby/pull/13076
Thanks for the quick resolution!
hjroh0315 (Matthew Roh)
09:52 AM Bug #21217: Integer.sqrt produces wrong results even on input <= 1e18
https://github.com/ruby/ruby/pull/13076 mame (Yusuke Endoh)
09:20 AM Bug #21217: Integer.sqrt produces wrong results even on input <= 1e18
I was given a reproducible example!
https://x.com/tatyam_prime/status/1908810778276487443
```
irb(main):001> n...
mame (Yusuke Endoh)
09:13 AM Bug #21217: Integer.sqrt produces wrong results even on input <= 1e18
Thank you. I think it's most likely a Ruby bug, but I can't proceed until I identify the input that causes it.
I s...
mame (Yusuke Endoh)
05:00 AM Bug #21217 (Closed): Integer.sqrt produces wrong results even on input <= 1e18
Hello, I have been so far using Ruby in various online judge platforms that support it, while recently I discovered a... hjroh0315 (Matthew Roh)
04:43 AM Bug #21027: `not()` receiver should be `nil`
Fixed prism tests with updated snapshots at 5640fea8aada2380145375a7f9eac2b979fe1258. nagachika (Tomoyuki Chikanaga)
02:32 AM Bug #21027: `not()` receiver should be `nil`
ruby_3_3 commit:7c315e23983a35d29108d9ba8c914d6320254d43 merged revision(s) commit:117d6e145a0270ab8fc9134403519ef13b... nagachika (Tomoyuki Chikanaga)
04:42 AM Revision 5640fea8 (git): Update prism test snapshots.
This is follow-up for 7c315e23983a35d29108d9ba8c914d6320254d43. nagachika (Tomoyuki Chikanaga)
03:44 AM Feature #21216 (Closed): Implement Set as a core class
I propose to implement Set as a core class. Set has been an autoloaded standard library since Ruby 3.2. The standar... jeremyevans0 (Jeremy Evans)
03:24 AM Revision e2588995 (git): Ensure builtin binaries are aligned to ibf_header
Since IBF result string size should be multiple of 4, this should not
increase the binary size actually.
nobu (Nobuyoshi Nakada)
02:31 AM Revision 7c315e23 (git): merge revision(s) 117d6e145a0270ab8fc9134403519ef13b9ebb24: [Backport #21027]
[ruby/prism] Fix `not` receiver
`not foo` should be `!foo`
`not()` should be `!nil`
Fixes [...
nagachika (Tomoyuki Chikanaga)
12:38 AM Revision b5ac483d (git): Fix the if condition to skip test_ractor.rb correctly (#13067)
Follow-up for https://github.com/ruby/ruby/commit/a2b03ba7cb721d698bebee74c535dea4583a9c28 ono-max (Naoto Ono)

04/05/2025

01:31 AM Revision 229784d1 (git): [Bug #21150] macOS: unwinding coroutine workaround is only for arm64
nobu (Nobuyoshi Nakada)

04/04/2025

02:45 PM Bug #21211: Incomplete Backtrace for Socket Errors in Ruby 3.4+
Thanks @byroot, this must be some kind of record from bug report to merged fix. ioquatix (Samuel Williams)
02:26 PM Revision 085cc6e4 (git): Ractor: revert to moving object bytes, but size pool aware
Using `rb_obj_clone` introduce other problems, such as `initialize_*`
callbacks invocation in the context of the pare...
byroot (Jean Boussier)
10:34 AM Revision eb765913 (git): Console Cntl event is sent to root process sharing the console
nobu (Nobuyoshi Nakada)
07:24 AM Revision cec45aed (git): Cannot send signal to process group on Windows
nobu (Nobuyoshi Nakada)
07:24 AM Revision d22e7660 (git): Cannot send `SIGTERM` to another process on Windows
nobu (Nobuyoshi Nakada)
05:45 AM Bug #21214: VmRSS consumption increase in Ruby 3.4.2 vs Ruby 3.3.6
byroot (Jean Boussier) wrote in #note-2:
> `ObjectSpace.memsize_of_all` being mostly stable suggest the difference i...
mood_vuadensl (LOIC VUADENS)
05:23 AM Revision 0251abca (git): Fixed mismatched indentation
hsbt (Hiroshi SHIBATA)
05:21 AM Revision 705a9532 (git): Removed unused variable
hsbt (Hiroshi SHIBATA)
02:58 AM Revision b4a94011 (git): Hardening auto-merge workflow
https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions... hsbt (Hiroshi SHIBATA)
01:22 AM Revision cd8c203f (git): Update bundled gems list at 05e74543f6b0dca882e4324d3577b6 [ci skip]
git[bot]
01:21 AM Revision 05e74543 (git): Update bundled_gems
hsbt (Hiroshi SHIBATA)

04/03/2025

11:54 PM Revision 710bf4a4 (git): [rubygems/rubygems] Rubyinstaller2 fixed this
https://github.com/rubygems/rubygems/commit/08b3c48f41 deivid (David Rodríguez)
11:54 PM Revision f8c02259 (git): [rubygems/rubygems] Improve bug report instructions
* Explicitly recommend copying full command output and not just the bug
report template part.
* Include quadruple q...
deivid (David Rodríguez)
10:38 PM Revision 647e1ff9 (git): Use EnvUtil.apply_timeout_scale
hsbt (Hiroshi SHIBATA)
10:38 PM Revision fa95d1b0 (git): Extend open_timeout for test failure on s390x
https://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20250403T060004Z.fail.html.gz hsbt (Hiroshi SHIBATA)
10:38 PM Revision a1679f0d (git): Use EnvUtil.apply_timeout_scale
hsbt (Hiroshi SHIBATA)
10:38 PM Revision f2ee22f3 (git): Extend open_timeout for test failure on s390x
https://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20250403T060004Z.fail.html.gz hsbt (Hiroshi SHIBATA)
10:32 PM Revision bbf5f123 (git): Use EnvUtil.apply_timeout_scale
hsbt (Hiroshi SHIBATA)
10:32 PM Revision 4d6143dd (git): Extend open_timeout for test failure on s390x
https://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20250403T060004Z.fail.html.gz hsbt (Hiroshi SHIBATA)
09:13 PM Bug #21214: VmRSS consumption increase in Ruby 3.4.2 vs Ruby 3.3.6
I have a fix here: https://github.com/ruby/ruby/pull/13061 peterzhu2118 (Peter Zhu)
05:58 AM Bug #21214: VmRSS consumption increase in Ruby 3.4.2 vs Ruby 3.3.6
byroot (Jean Boussier) wrote in #note-2:
> `ObjectSpace.memsize_of_all` being mostly stable suggest the difference i...
mood_vuadensl (LOIC VUADENS)
05:58 PM Revision 6b5e187d (git): [ruby/openssl] pkcs7: fix test failure on RHEL 9
The test case test_split_content fails on RHEL 9 and Fedora 41 because
their OpenSSL packages do not accept SHA-1 sig...
rhenium (Kazuki Yamaguchi)
05:58 PM Revision 3911113b (git): [ruby/openssl] pkcs7: update test case test_graceful_parsing_failure
Using test_pkcs7.rb as an example invalid input is not reliable because
we may happen to include a valid PKCS#7 PEM b...
rhenium (Kazuki Yamaguchi)
05:39 PM Revision 137b51e4 (git): Remove rb_gc_start from cancel_single_ractor_mode
In 307732ccee7f9f28f8422bab2f839da021d8cdec Ractors were changed to
explicitly run GC when the first non-main one was...
John Hawthorn
05:39 PM Revision 5eb3efcf (git): Fix timeline_value not being marked in test
T_DATA with a NULL pointer are not marked. Let's wrap 1 instead to
ensure that our mark function is actually run.
jhawthorn (John Hawthorn)
02:57 PM Revision 4aa74b60 (git): compile.c: avoid allocating 0 length call_data
if `body->ci_size` is `0`, there's no point allocating 0B,
it just wastes an entry in the allocator.
byroot (Jean Boussier)
11:38 AM Feature #14565: Simpler, one-liner, failsafe require in ruby? [Suggested names: require_failsafe, require_safe, require_try, require_add)
I like `require "rubocop-rspec", optional: true` idea from https://bugs.ruby-lang.org/issues/20714.
I wonder if a ...
deivid (David Rodríguez)
03:11 AM Feature #14565: Simpler, one-liner, failsafe require in ruby? [Suggested names: require_failsafe, require_safe, require_try, require_add)
jeromedalbert (Jerome Dalbert) wrote in #note-4:
> I like this feature request, a non-failing require would be great...
austin (Austin Ziegler)
11:03 AM Revision fab133e6 (git): Use EnvUtil.apply_timeout_scale
hsbt (Hiroshi SHIBATA)
11:03 AM Revision 3f152ce7 (git): Extend open_timeout for test failure on s390x
https://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20250403T060004Z.fail.html.gz hsbt (Hiroshi SHIBATA)
10:41 AM Revision 7065e603 (git): Use IPv4 for test server because TestNetHTTPS is failing with s390x
https://rubyci.s3.amazonaws.com/s390x/ruby-3.2/log/20250403T005659Z.fail.html.gz hsbt (Hiroshi SHIBATA)
10:36 AM Revision b79909fc (git): Followed up 7c400c66c9
hsbt (Hiroshi SHIBATA)
07:56 AM Revision 1dddc6c7 (git): Remove no longer used union
IMEMO_NEW takes just one memo value, min/max argc are assigned
directly and packed argc is not used.
nobu (Nobuyoshi Nakada)
06:39 AM Bug #20255: Embedded arrays aren't moved correctly across ractors
No offense taken. byroot (Jean Boussier)
05:44 AM Revision 7c400c66 (git): Use IPv4 for test server because TestNetHTTPS is failing with s390x
https://rubyci.s3.amazonaws.com/s390x/ruby-3.2/log/20250403T005659Z.fail.html.gz hsbt (Hiroshi SHIBATA)
05:10 AM Revision c48219e2 (git): f7059af50a31 is also required at ractor_core.h
hsbt (Hiroshi SHIBATA)
05:10 AM Revision 105d9da2 (git): Enforce to use CMake 3 because CMake 4 is not compatible to build libyaml via vcpkg
hsbt (Hiroshi SHIBATA)
04:45 AM Revision 34e990fc (git): Picking test fix from https://github.com/ruby/ruby/commit/3d8a66568e8106b367665d716e0d3c8c8208aa07
The original change is https://github.com/ruby/ruby/commit/d78ff6a767ca813ac5fa178dd7611f20a993c191 hsbt (Hiroshi SHIBATA)
04:13 AM Revision aa5d760f (git): Enforce to use CMake 3 because CMake 4 is not compatible to build libyaml via vcpkg
hsbt (Hiroshi SHIBATA)
03:54 AM Revision 31c295ef (git): Enforce to use CMake 3 because CMake 4 is not compatible to build libyaml via vcpkg
hsbt (Hiroshi SHIBATA)
03:37 AM Bug #21215 (Closed): IRB upto yield self when self is little then end_val
mame (Yusuke Endoh)
02:33 AM Bug #21215 (Closed): IRB upto yield self when self is little then end_val
irb(main):001:0> 1.upto(0) { |k| p k } => 1
1
irb(main):002:0> 0.downto(1) { |k| p k } => 0
0
Save these stat...
fitmap (Justin Peal)
02:31 AM Revision 29dafa5f (git): Fix assertion failure with anonymous splats
When calling a method that accepts an anonymous splat and literal
keywords without any arguments, an assertion failur...
jeremyevans (Jeremy Evans)
01:14 AM Revision b8e2bec9 (git): Grammar fix in doc/exceptions.md: there => they're
herwin (Herwin W)
01:12 AM Revision 1598a2ca (git): Enforce to use CMake 3 because CMake 4 is not compatible to build libyaml via vcpkg
hsbt (Hiroshi SHIBATA)

04/02/2025

11:59 PM Misc #21209 (Closed): Endless classes and modules
There's something special about proposals on April 1st, isn't there? duerst (Martin Dürst)
05:16 PM Misc #21209: Endless classes and modules
A similar issue was raised in #21155. We discussed that issue at the last dev meeting, and several endless class defi... mame (Yusuke Endoh)
09:20 PM Bug #20255: Embedded arrays aren't moved correctly across ractors
I reread my message and I didn't mean to come across like I disagreed with your changes, because I don't :) luke-gru (Luke Gruber)
08:46 PM Bug #20255: Embedded arrays aren't moved correctly across ractors
> doesn't really "move" the object anymore, it just deep copies it since your change. It's not a less expensive opera... byroot (Jean Boussier)
08:43 PM Bug #20255: Embedded arrays aren't moved correctly across ractors
That would be fine with me, because actually `move: true` doesn't really "move" the object anymore, it just deep copi... luke-gru (Luke Gruber)
05:44 PM Bug #20255: Embedded arrays aren't moved correctly across ractors
Yeah, it's really tricky. There has been some talks of just removing the `move: true` capability.
Given: https://b...
byroot (Jean Boussier)
05:41 PM Bug #20255: Embedded arrays aren't moved correctly across ractors
Yeah I was afraid that would be the case, but we could differentiate between user-defined clone callbacks and builtin... luke-gru (Luke Gruber)
10:37 AM Bug #20255: Embedded arrays aren't moved correctly across ractors
> The best solution is to not allow these callbacks,
So it's not actually possible, because many types rely on it....
byroot (Jean Boussier)
08:53 PM Revision d543fda4 (git): [ruby/prism] Be explicit in tests which files `parser` can't parse
It also updates to latest `parser`, which allows numbered
parameters in pattern matching pin,
passing `patterns.txt` ...
Earlopain (Earlopain _)
08:51 PM Revision 334c261c (git): [ruby/prism] Fix parser translator when splatting in pattern matching pin
Because it ends up treating it as a local variable, and `a.x`
is not a valid local variable name.
I'm not big on pat...
Earlopain (Earlopain _)
07:53 PM Bug #21214: VmRSS consumption increase in Ruby 3.4.2 vs Ruby 3.3.6
> It looks like there is an issue with strings
Looking at `GC.count` and `GC.stat_heap`
`3.3.4`
```
gc_coun...
byroot (Jean Boussier)
07:02 PM Bug #21214: VmRSS consumption increase in Ruby 3.4.2 vs Ruby 3.3.6
It looks like there is an issue with strings. I simplified the script to:
```ruby
require 'objspace'
BYTES_TO_...
peterzhu2118 (Peter Zhu)
06:09 PM Bug #21214: VmRSS consumption increase in Ruby 3.4.2 vs Ruby 3.3.6
`ObjectSpace.memsize_of_all` being mostly stable suggest the difference is likely in the GC releasing the memory less... byroot (Jean Boussier)
04:18 PM Bug #21214: VmRSS consumption increase in Ruby 3.4.2 vs Ruby 3.3.6
Add random strings to the object created during the loop mood_vuadensl (LOIC VUADENS)
04:06 PM Bug #21214 (Closed): VmRSS consumption increase in Ruby 3.4.2 vs Ruby 3.3.6
Hello,
After updating Ruby from 3.3.6 to 3.4.2, our batch-style (not based on rails) application exceed its memory...
mood_vuadensl (LOIC VUADENS)
04:50 PM Revision fe9ebb24 (git): vm_core.h: unify YJIT ifdefs
byroot (Jean Boussier)
04:16 PM Revision e3fc29a9 (git): Improve backtrace of errors raised by `Socket.tcp_with_fast_fallback`
[Bug #21211]
Socket errors raised from background threads are hard to track down because
their backtrace starts from...
byroot (Jean Boussier)
04:10 PM Revision 3a7b0324 (git): [DOC] Tweaks for Hash doc
burdettelamar (Burdette Lamar)
04:03 PM Revision 2a55cc3f (git): [DOC] Tweaks to String::try_convert
burdettelamar (Burdette Lamar)
02:47 PM Revision ce1dfe81 (git): [DOC] Doc for Thread::ConditionVariable
Documented the necessity of calling `wait` in a loop. We modified the
example to demonstrate the idiomatic use, and ...
wks (Kunshan Wang)
02:04 PM Bug #21206: Segmentation fault on ISeq#to_binary
I tracked it down to:
```c
if (!p->it_id) {
p->it_id = internal_id(p);
...
byroot (Jean Boussier)
01:26 PM Bug #21206: Segmentation fault on ISeq#to_binary
Running in on ruby master with debugs run into the following assertion failure:
```
../include/ruby/internal/core...
byroot (Jean Boussier)
12:19 PM Bug #20984: ENV.inspect is not encoding aware
Backported d78ff6a767ca813ac5fa178dd7611f20a993c191 into ruby_3_3 at 3d8a66568e8106b367665d716e0d3c8c8208aa07. nagachika (Tomoyuki Chikanaga)
12:16 PM Revision 3d8a6656 (git): merge revision(s) d78ff6a767ca813ac5fa178dd7611f20a993c191: [Backport #20984]
[Bug #20984] Fix test with locale encoding nagachika (Tomoyuki Chikanaga)
11:24 AM Bug #21211 (Closed): Incomplete Backtrace for Socket Errors in Ruby 3.4+
Applied in changeset commit:git|580aa60051773e3512121088eb8ebaee8ce605ea.
----------
Improve backtrace of errors rai...
byroot (Jean Boussier)
10:26 AM Bug #21211: Incomplete Backtrace for Socket Errors in Ruby 3.4+
https://github.com/ruby/ruby/pull/13041 byroot (Jean Boussier)
11:24 AM Revision 580aa600 (git): Improve backtrace of errors raised by `Socket.tcp_with_fast_fallback`
[Bug #21211]
Socket errors raised from background threads are hard to track down because
their backtrace starts from...
byroot (Jean Boussier)
09:28 AM Bug #21203: TestGc#test_gc_parameter_init_slots is flaky results
@peterzhu2118 I could reproduce this only one time with my Apple Silicon macOS.
```
1) Failure:
TestGc#test_la...
hsbt (Hiroshi SHIBATA)
09:25 AM Bug #21203: TestGc#test_gc_parameter_init_slots is flaky results
@peterzhu2118 Thanks for working on this issue. Because it's a flaky issue, it is difficult to tell how to reproduce ... mame (Yusuke Endoh)
08:58 AM Bug #21204: `TestEtc#test_ractor_parallel` is still flaky result with ModGC/MMTk
`TestSocket#test_timestamp` is failed sometimes on ModGC workflow.
```
1) Failure:
TestSocket#test_timesta...
hsbt (Hiroshi SHIBATA)
07:24 AM Revision 43ee4a50 (git): Fixup comment for Windows platform, not Solaris
hsbt (Hiroshi SHIBATA)
07:24 AM Revision e71192da (git): Removed Solaris conditions from optional and shared directories
hsbt (Hiroshi SHIBATA)
07:24 AM Revision 3d4ea454 (git): Removed Solaris conditions from library directory
hsbt (Hiroshi SHIBATA)
07:24 AM Revision 8cb61b00 (git): Removed Solaris conditions from core directory
hsbt (Hiroshi SHIBATA)
07:24 AM Revision 6bd5a51a (git): Removed Solaris conditions from test files
We no longer execute those files with Solaris platforms. hsbt (Hiroshi SHIBATA)
07:01 AM Revision ca97302d (git): Update bundled gems list as of 2025-04-01
git[bot]
06:43 AM Feature #14565: Simpler, one-liner, failsafe require in ruby? [Suggested names: require_failsafe, require_safe, require_try, require_add)
I like this feature request, a non-failing require would be great for gems that optionally depend on another gem.
...
jeromedalbert (Jerome Dalbert)
05:55 AM Bug #21213 (Third Party's Issue): [BUG] heap_idx_for_size: allocation size too large (size=145u, heap_idx=146u)
It is a bug of Visual C 17.3.5 and has been fixed by preview versions. nobu (Nobuyoshi Nakada)
05:31 AM Bug #21213 (Third Party's Issue): [BUG] heap_idx_for_size: allocation size too large (size=145u, heap_idx=146u)
Failed to build ruby 3.4.2 after upgrade Visual C++ build Tools from 17.2 to 17.3.5. The logging file is as attachmen... jjs008 (小龙 江)
04:53 AM Bug #21212 (Assigned): IO::Buffer can be freed while its slice is locked
```ruby
buffer = IO::Buffer.new(100)
slice = buffer.slice
buffer.locked do
buffer.free rescue p $! #=> IO::B...
hanazuki (Kasumi Hanazuki)
02:40 AM Bug #21210: IO::Buffer gets invalidated on GC compaction
alanwu (Alan Wu) wrote in #note-5:
> Another option that maintains validity across movement (untested):
>
> ```di...
hanazuki (Kasumi Hanazuki)
01:39 AM Bug #21210: IO::Buffer gets invalidated on GC compaction
eightbitraptor (Matt V-H) wrote in #note-4:
> Instead of pinning the source string, did you consider allowing the str...
hanazuki (Kasumi Hanazuki)
01:52 AM Revision 938db053 (git): Removed the warning targets for Ruby 3.1 because 3.1 is already EOL
hsbt (Hiroshi SHIBATA)
01:37 AM Revision d75d4275 (git): [rubygems/rubygems] Bump up minimum required version for cmake 4
https://github.com/rubygems/rubygems/commit/3e77caeddf hsbt (Hiroshi SHIBATA)
01:35 AM Revision ca023835 (git): [rubygems/rubygems] Bump up minimum required version for cmake 4
https://github.com/rubygems/rubygems/commit/3e77caeddf hsbt (Hiroshi SHIBATA)
01:33 AM Revision 66d133ab (git): [rubygems/rubygems] Bump up minimum required version for cmake 4
https://github.com/rubygems/rubygems/commit/3e77caeddf hsbt (Hiroshi SHIBATA)
 

Also available in: Atom