Project

General

Profile

Activity

From 04/08/2025 to 04/14/2025

Today

06:42 PM Ruby Bug #20919: IO#seek and IO#pos= do not clear the character buffer in some cases while transcoding
Folks, could I ask for a review (and potential merge) on the fix of this issue https://github.com/ruby/ruby/pull/12714? mjrzasa (Maciek Rząsa)
03:39 PM Ruby Revision b68172ca (git): Rename `f_optarg` to `f_opt_arg` for consistency in parser rules
ydah (Yudai Takada)
02:30 PM Ruby Misc #21154: Document or change Module#autoload?
Hi @mame!
> I'm not exactly sure what you meant by "const_get hook", but perhaps you meant "const_added"? I'll assum...
fxn (Xavier Noria)
02:13 PM Ruby Revision 1c8154e5 (git): Use call_op2 instead of call_op and tCOLON2
ydah (Yudai Takada)
09:28 AM Ruby Feature #20877 (Closed): Introduce (public) debug assertion for holding the GVL.
Applied in changeset commit:git|c13ac4d615c28edc1580363c13b44eb7a73103f3.
----------
Assert the GVL is held when per...
Anonymous
09:28 AM Ruby Revision c13ac4d6 (git): Assert the GVL is held when performing various `rb_` functions.
[Feature #20877] Samuel Williams
09:28 AM Ruby Revision 4e970c5d (git): Expose `ruby_thread_has_gvl_p`.
Samuel Williams
09:28 AM Ruby Revision 22667fcc (git): Add `RUBY_VERSION_IS_3_5`.
Samuel Williams
08:46 AM Ruby Feature #21121 (Closed): Ractor channels
Superseded by #21266 matz (Yukihiro Matsumoto)
07:33 AM Ruby Revision d0b7e5b6 (git): v3.4.3
k0kubun (Takashi Kokubun)
07:32 AM Ruby Bug #21197: Prism does not accept newline after defined? keyword
Reverted the backport since backporting the commit failed CI, e.g. https://github.com/ruby/ruby/actions/runs/14439756... k0kubun (Takashi Kokubun)
07:18 AM Ruby Bug #21197: Prism does not accept newline after defined? keyword
ruby_3_4 commit:e630a0f7ae909dafe2e1dbc47baf90cd795b4a5f merged revision(s) commit:052794bfe1970e90f4f4f9e37fc362dd27... k0kubun (Takashi Kokubun)
07:31 AM Ruby Revision bef59ede (git): Update default gems list at ad8cb532d52692fe72dea68a0aeaf4 [ci skip]
git[bot]
07:29 AM Ruby Revision 1c23c309 (git): Revert "merge revision(s) 052794bfe1970e90f4f4f9e37fc362dd27903a8d: [Backport #21197]"
This reverts commit e630a0f7ae909dafe2e1dbc47baf90cd795b4a5f. k0kubun (Takashi Kokubun)
07:27 AM Ruby Bug #21261: Backport fix for crash in TCPSocket.open(..., nil)
ruby_3_4 commit:7e093fb43a. k0kubun (Takashi Kokubun)
07:26 AM Ruby Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
ruby_3_4 commit:1b6f9cd6ea5715ad33d8ba4c78382aa8aafdbcd4 merged revision(s) commit:0d6263bd416338a339651fb97fe4d62701... k0kubun (Takashi Kokubun)
07:25 AM Ruby Revision 1b6f9cd6 (git): merge revision(s) 0d6263bd416338a339651fb97fe4d62701704c4b: [Backport #21220]
Fix coverage measurement for negative line numbers
Fixes [Bug #21220]
Co-Authored-By: Mike Bourgeou...
k0kubun (Takashi Kokubun)
07:25 AM Ruby Bug #21214: VmRSS consumption increase in Ruby 3.4.2 vs Ruby 3.3.6
We've discussed whether we backport this to Ruby 3.4 or not with @peterzhu2118. Since he's too worried about potentia... k0kubun (Takashi Kokubun)
07:22 AM Ruby Bug #21217: Integer.sqrt produces wrong results even on input <= 1e18
ruby_3_4 commit:9abd48df705c37f69ec9fd954f84cbbbd65db624 merged revision(s) commit:3a7b9ca93b91dcc086b9ac8b9957e59268... k0kubun (Takashi Kokubun)
07:21 AM Ruby Revision 9abd48df (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.
...
k0kubun (Takashi Kokubun)
07:21 AM Ruby Bug #21211: Incomplete Backtrace for Socket Errors in Ruby 3.4+
ruby_3_4 commit:e3fc29a9b7. k0kubun (Takashi Kokubun)
07:20 AM Ruby Bug #21183: Ractor error with Prism::VERSION
ruby_3_4 commit:7b5e4125b9935cd78d80719de018dad446780e40 merged revision(s) commit:f27ed98effff9891d28edc7119d45811bc... k0kubun (Takashi Kokubun)
07:20 AM Ruby Revision 7b5e4125 (git): merge revision(s) f27ed98effff9891d28edc7119d45811bcedd510: [Backport #21183]
[ruby/prism] Freeze `Prism::VERSION`
Closes https://github.com/ruby/prism/pull/3422
https://github....
k0kubun (Takashi Kokubun)
07:18 AM Ruby Revision ad8cb532 (git): [ruby/strscan] Bump version
https://github.com/ruby/strscan/commit/7b1eb1e4ed Sutou Kouhei
07:18 AM Ruby Revision 0db87b89 (git): [ruby/strscan] Allow parsing strings larger than 2GiB
(https://github.com/ruby/strscan/pull/147)
For a reason unknown, even though `pos` is stored as a `long`, the
`#pos`...
Jean byroot Boussier
07:18 AM Ruby Revision e630a0f7 (git): merge revision(s) 052794bfe1970e90f4f4f9e37fc362dd27903a8d: [Backport #21197]
[ruby/prism] Accept a newline after the defined? keyword
[Bug #21197]
https://github.com/ruby/prism...
k0kubun (Takashi Kokubun)
07:17 AM Ruby Revision 38024772 (git): [rubygems/rubygems] Refine `bundle update --verbose` logs
Don't mention "Found changes from the lockfile" because that's not
really true in general.
https://github.com/rubyge...
deivid (David Rodríguez)
07:17 AM Ruby Revision ce2640dd (git): [rubygems/rubygems] Fix edge case making `bundle update` behave incorrectly
If both a native and a generic version are locked, but the native
version is incompatible with the running Ruby, Bund...
deivid (David Rodríguez)
07:17 AM Ruby Revision 66aa7139 (git): [rubygems/rubygems] Materialize specs just once in installer
`Definition#specs` does the same thing but memoizes the result.
https://github.com/rubygems/rubygems/commit/b62bf9fe41
deivid (David Rodríguez)
07:17 AM Ruby Revision c4a2f72b (git): [rubygems/rubygems] Fix `bundle lock --normalize-platforms` regression
https://github.com/rubygems/rubygems/commit/458fa5dc4c deivid (David Rodríguez)
02:21 AM Ruby Revision 8ad5dd79 (git): Update bundled gems list at f65aad61f7c2b5ff15d10be9264d3b [ci skip]
git[bot]
02:20 AM Ruby Revision f65aad61 (git): Update bundled_gems
hsbt (Hiroshi SHIBATA)
02:06 AM Ruby Bug #21207 (Closed): CSV gem not installing in head
Thanks.
I close this.
kou (Kouhei Sutou)
01:48 AM Ruby Bug #21207: CSV gem not installing in head
@kou,
Thanks. Re ruby-loco, I removed the patch I had Sunday AM US and CSV is now included.
I just checked the ...
MSP-Greg (Greg L)
01:10 AM Ruby Bug #21207: CSV gem not installing in head
Could you try master? It includes https://github.com/ruby/ruby/commit/cfa74dda4547c7ef4d3510b729bad8cc6299e523 . kou (Kouhei Sutou)

04/13/2025

10:03 PM Ruby Revision 311167ee (git): [ruby/etc] Suppress unused function warning
https://github.com/ruby/etc/commit/410c8dd4ae nobu (Nobuyoshi Nakada)
10:03 PM Ruby Revision 6d00fa22 (git): [ruby/etc] Check members only for defined structs
https://github.com/ruby/etc/commit/15c2696794 nobu (Nobuyoshi Nakada)
06:21 PM Ruby Revision e2559645 (git): Use user defined parameterizing rules `range_expr`
ydah (Yudai Takada)
06:01 PM Ruby Revision 088fd968 (git): Add a new non-terminal symbol `ternary` to tidy up
ydah (Yudai Takada)
04:15 PM Ruby Revision e9966998 (git): Refactor assignment rules to remove unnecessary lhs parameter
ydah (Yudai Takada)
01:29 PM Ruby Bug #21256: `it` value is wrapped in an array when that doesn't happen with numbered parameter
Thanks for that info, it allowed me to make a potential fix: https://github.com/ruby/ruby/pull/13108 Earlopain (Earlopain _)
01:20 PM Ruby Bug #21266 (Open): YJIT GC safety crash with proc objects as block argument
```ruby
# Run with --yjit-call-threshold=1
def foo(args) = bar(*args, &proc { _1 })
def bar(_, _, _, _, *rest) = y...
alanwu (Alan Wu)
11:46 AM Ruby Revision 3700ae2e (git): Fix typos `finised` -> `finished` (#13104)
Haruna Tsujita
09:27 AM Ruby Feature #20233 (Closed): pkg-config not working on MSVC
alanwu (Alan Wu)
07:01 AM Ruby Feature #20233: pkg-config not working on MSVC
Can we close this because https://github.com/ruby/ruby/pull/9815 was merged? kou (Kouhei Sutou)
07:53 AM Ruby Revision 8c9cd65d (git): Fix unnecessary `false` in `CLEANLIBS`
nobu (Nobuyoshi Nakada)
07:00 AM Ruby Revision cfa74dda (git): Update bundled gems list as of 2025-04-13
git[bot]
02:44 AM Ruby Revision 29b26fd3 (git): Fix macro for disabled match cache
The `MEMOIZE_LOOKAROUND_MATCH_CACHE_POINT` macro needs an argument
otherwise we end up with:
```
../regexec.c:3955:2...
dodecadaniel (Daniel Colson)

04/12/2025

05:43 PM Ruby Revision 543dd77c (git): [ruby/prism] Fix parsing rescued exception via indexed assignment
Given this code
```ruby
begin
raise '42'
rescue => A[]
end
```
Prism fails with this backtrace
```
Error: test_u...
viralpraxis (Iaroslav Kurbatov)
05:39 PM Ruby Feature #21262: Proposal: `Ractor::Port`
ko1 (Koichi Sasada) wrote in #note-8:
> The important point is that we have limited "blocking" synchronization (intr...
tenderlovemaking (Aaron Patterson)
01:13 AM Ruby Feature #21262: Proposal: `Ractor::Port`
The important point is that we have limited "blocking" synchronization (introduced by cross-Ractor communication) to ... ko1 (Koichi Sasada)
01:10 AM Ruby Feature #21262: Proposal: `Ractor::Port`
Now I understand that `find_work` takes a time and if no consumers are ready, we can't run `find_work` if there is no... ko1 (Koichi Sasada)
04:23 PM Ruby Revision a35a101b (git): Change the indent after lhs in generation rules from spaces to tabs
Change the indent to match the characters used in other generation rules. This makes it easier to find lhs. ydah (Yudai Takada)

04/11/2025

11:59 PM Ruby Feature #21264: Extract Date library from Ruby repo in the future
If we are going to remove stdlib `Date`, I would also prefer that `Date` be a core class instead of demoted to bundle... jeremyevans0 (Jeremy Evans)
03:51 PM Ruby Feature #21264: Extract Date library from Ruby repo in the future
Is it possible to, on the contrary, make Date a core class? Rails, and many other non-Rails codebases I saw, implicit... zverok (Victor Shepelev)
08:21 AM Ruby Feature #21264 (Open): Extract Date library from Ruby repo in the future
Note: This is not for Ruby 3.5.
`Date` and `DateTime` has no primary maintainer in 10+ years. I would like to depr...
hsbt (Hiroshi SHIBATA)
06:52 PM Ruby Feature #21262: Proposal: `Ractor::Port`
ko1 (Koichi Sasada) wrote in #note-5:
> > The problem with the above code is that the consumer Ractor will starve un...
tenderlovemaking (Aaron Patterson)
06:14 PM Ruby Feature #21262: Proposal: `Ractor::Port`
> The problem with the above code is that the consumer Ractor will starve until find_work returns.
I think it is s...
ko1 (Koichi Sasada)
04:19 PM Ruby Feature #21262: Proposal: `Ractor::Port`
I like this idea, and I think we should do it, but I think we still need a channel or a queue for the producer / cons... tenderlovemaking (Aaron Patterson)
05:28 PM Ruby Revision 3628e9e3 (git): Remove unused field on Thread struct
It looks like stat_insn_usage was introduced with YARV, but as far as I
can tell the field has never been used. I th...
tenderlovemaking (Aaron Patterson)
03:53 PM Ruby Feature #21258: Retire CGI library from Ruby 3.5
`CGI.escape_uri_component` and `URI.encode_uri_component` are almost the same except `*` and `~`.
`CGI.escape` and `...
tompng (tomoya ishida)
03:11 PM Ruby Feature #21221: Proposal to upstream ZJIT
> For context YJIT is essentially a baseline JIT given it does little inlining and as you say only one optimization p... maximecb (Maxime Chevalier-Boisvert)
10:16 AM Ruby Feature #21221: Proposal to upstream ZJIT
Interesting to see work starting on a CRuby optimizing method-based JIT.
For context YJIT is essentially a baseline ...
Eregon (Benoit Daloze)
09:39 AM Ruby Bug #21265 (Open): Crash when proc from Symbol#to_proc called outside refinement scope
```ruby
class RefinedScope
using(Module.new { refine(Kernel) { def itself = 0 } })
ITSELF = :itself.to_proc
e...
alanwu (Alan Wu)
09:37 AM Ruby Misc #21100: DevMeeting before RubyKaigi 2025
I'd like to go through the discussion in the order written in this HackMD (with Matz's approval).
https://hackmd.i...
ko1 (Koichi Sasada)
04:24 AM Ruby Revision 0a35c5b4 (git): Restore Windows 2022 build with VS2019 toolset
hsbt (Hiroshi SHIBATA)
03:18 AM Ruby Revision 8a15f806 (git): Fixed wrong usage of matrix.vs. That label is os version, not vs version
hsbt (Hiroshi SHIBATA)
02:30 AM Ruby Feature #21263 (Open): eval-after-require hook
I want to register hook after require.
But I have no idea how to write it.
Expected use cases:
1. Load related...
znz (Kazuhiro NISHIYAMA)
02:11 AM Ruby Revision 0e792793 (git): Note the detailed version of Visual Studio
hsbt (Hiroshi SHIBATA)
02:01 AM Ruby Revision a2b39e5c (git): Added instruction for autocrlf issue of Git on Windows
hsbt (Hiroshi SHIBATA)
01:55 AM Ruby Revision 1bd029b1 (git): Note the detailed version of Windows SDK
hsbt (Hiroshi SHIBATA)
01:49 AM Ruby Revision af69421c (git): Added instruction for MSYS2 without RubyInstaller-Devkit
hsbt (Hiroshi SHIBATA)

04/10/2025

10:23 PM Ruby Feature #18035: Introduce general model/semantic for immutability.
I found a good example of why the proposed interface would be a good idea:
https://github.com/ruby/resolv/pull/62
T...
ioquatix (Samuel Williams)
06:33 PM Ruby Revision f13e86a7 (git): Allow gdb's rp to work on classes offline
It's useful to be able to get information about classes without a
running process, ie. when debugging a coredump.
jhawthorn (John Hawthorn)
04:02 PM Ruby Misc #21154: Document or change Module#autoload?
Aha, when test.rb is required, currently `autoload` does (almost) nothing because test.rb is already being required, ... mame (Yusuke Endoh)
03:26 PM Ruby Misc #21154: Document or change Module#autoload?
@fxn Sorry for the delay. I finally watched your video.
I'm not exactly sure what you meant by "const_get hook", b...
mame (Yusuke Endoh)
03:58 PM Ruby Revision e3dd766e (git): [ruby/resolv] refactoring class-hash to be ractor-safe
mutable constants can't be shared across ractors; this changes that design to define the required variables as consta... chucke (Tiago Cardoso)
03:58 PM Ruby Revision 54a85cae (git): [ruby/resolv] config read from file should return frozen data!
https://github.com/ruby/resolv/commit/afb57f40a1 chucke (Tiago Cardoso)
02:55 PM Ruby Misc #21100: DevMeeting before RubyKaigi 2025
* [Feature #21262] Proposal: `Ractor::Port` (ko1)
* Considering with [`Channel`](https://bugs.ruby-lang.org/issues...
ko1 (Koichi Sasada)
12:23 PM Ruby Misc #21100: DevMeeting before RubyKaigi 2025
* [Feature #21219] `Object#inspect` accept a list of instance variables to display (byroot)
* Redefining `#inspect...
byroot (Jean Boussier)
02:43 PM Ruby Feature #21262 (Assigned): Proposal: `Ractor::Port`
# Proposal: `Ractor::Port`
In concurrent Ruby applications using Ractors, safely and efficiently communicating res...
ko1 (Koichi Sasada)
10:21 AM Ruby Revision 75647932 (git): Sync Bundler and adapt to new spec setup
deivid (David Rodríguez)
09:44 AM Ruby Revision 684cfa42 (git): Avoid to infinite require loop for irb.
if irb and that dependency are broken, it caused infinite loop with force_activate("irb"). hsbt (Hiroshi SHIBATA)
09:39 AM Ruby Feature #21219: `Object#inspect` accept a list of instance variables to display
https://github.com/nobu/ruby/tree/inspect_instance_variables nobu (Nobuyoshi Nakada)
08:39 AM Ruby Revision 8003a068 (git): [DOC] Use slashes in mingw confiure examples
To show that mingw `sh` expects forward slashes as path separators, not
backslashes, configure in another directory t...
nobu (Nobuyoshi Nakada)
08:33 AM Ruby Revision 08ce6268 (git): Document order of execution const_added vs inherited
fxn (Xavier Noria)
08:29 AM Ruby Revision b47a04eb (git): Refactor bundled condition
hsbt (Hiroshi SHIBATA)
08:29 AM Ruby Revision 598b0e8b (git): The current force_activate always fails without Gemfile
hsbt (Hiroshi SHIBATA)
08:29 AM Ruby Revision 3390b6a5 (git): Added simple failing example
hsbt (Hiroshi SHIBATA)
08:25 AM Ruby Bug #21260: duping stringio objects shares cursors
I see. Alignment with File makes sense. At least my expectation was that, by dup'ing the IO object, I'd receive a sep... chucke (Tiago Cardoso)
06:55 AM Ruby Bug #21260 (Feedback): duping stringio objects shares cursors
nobu (Nobuyoshi Nakada)
05:46 AM Ruby Bug #21260: duping stringio objects shares cursors
This is how `IO#dup` works. What would be the benefit of `StringIO#dup` behaving differently?
```ruby
f = File.op...
jeremyevans0 (Jeremy Evans)
08:20 AM Ruby Revision c5c0bb5a (git): Restore the original order of const_added and inherited callbacks
Originally, if a class was defined with the class keyword, the cref had a
const_added callback, and the superclass an...
fxn (Xavier Noria)
07:49 AM Ruby Bug #21261 (Closed): Backport fix for crash in TCPSocket.open(..., nil)
byroot (Jean Boussier)
05:29 AM Ruby Feature #21258: Retire CGI library from Ruby 3.5
@kou +1, @tompng suggest `URI.escape_query_param`. I prefer these approachs.
@jeremyevans0 I understood your conce...
hsbt (Hiroshi SHIBATA)

04/09/2025

11:15 PM Ruby Feature #21254: Inlining Class#new
tenderlovemaking (Aaron Patterson) wrote in #note-7:
> I made a patch for it [here](https://github.com/ruby/ruby/com...
tenderlovemaking (Aaron Patterson)
10:18 PM Ruby Feature #21254: Inlining Class#new
jez (Jake Zimmerman) wrote in #note-6:
> I'm curious: could we add a second check after [this check](https://github....
tenderlovemaking (Aaron Patterson)
08:57 PM Ruby Feature #21254: Inlining Class#new
@tenderlovemaking Question about an extension to the current implementation.
We have a fair amount of code that lo...
jez (Jake Zimmerman)
11:02 PM Ruby Revision 86e37a9b (git): Test for the crash
nobu (Nobuyoshi Nakada)
11:02 PM Ruby Revision 7e093fb4 (git): Fix crash in TCPSocket.open
Fix segfault crash observable with TCPSocket.open(nil, nil) Luke Jahnke
08:40 PM Ruby Bug #21261: Backport fix for crash in TCPSocket.open(..., nil)
Backport PR: https://github.com/ruby/ruby/pull/13091 jhawthorn (John Hawthorn)
08:38 PM Ruby Bug #21261 (Closed): Backport fix for crash in TCPSocket.open(..., nil)
https://github.com/ruby/ruby/pull/12934
https://github.com/ruby/ruby/commit/b148dfef5aa208cafa28626fd84c9762bfdfe0ac
jhawthorn (John Hawthorn)
02:46 PM Ruby Bug #21220 (Closed): Memory corruption in update_line_coverage() [write at index -1]
Applied in changeset commit:git|0d6263bd416338a339651fb97fe4d62701704c4b.
----------
Fix coverage measurement for ne...
mame (Yusuke Endoh)
11:01 AM Ruby Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
I created a PR.
https://github.com/ruby/ruby/pull/13089
The PR should prevent `RUBY_EVENT_COVERAGE_LINE` from f...
mame (Yusuke Endoh)
03:48 AM Ruby Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
mame (Yusuke Endoh) wrote in #note-8:
> @mbcodeandsound Just FYI, I bet you meant to write `!(1..16).cover?(channel)`...
mbcodeandsound (Mike Bourgeous)
02:45 PM Ruby Revision 0d6263bd (git): Fix coverage measurement for negative line numbers
Fixes [Bug #21220]
Co-Authored-By: Mike Bourgeous <mike@mikebourgeous.com>
Co-Authored-By: Jean Boussier <jean.bouss...
mame (Yusuke Endoh)
02:09 PM Ruby Feature #21258: Retire CGI library from Ruby 3.5
I am in favor of retiring cgi and keeping cgi/escape feature. Of the two options, I prefer option 1 (keep only cgi/es... jeremyevans0 (Jeremy Evans)
01:08 PM Ruby Feature #21258: Retire CGI library from Ruby 3.5
`URI.encode` (not `escape`)?
kou (Kouhei Sutou)
08:57 AM Ruby Feature #21258: Retire CGI library from Ruby 3.5
I like the idea of deprecating `CGI` and moving the `escape`/`unescape` methods!
JavaScript calls the features `"h...
soutaro (Soutaro Matsumoto)
08:17 AM Ruby Feature #21258 (Open): Retire CGI library from Ruby 3.5
I would like to retire CGI library from Ruby 3.5.0 release. It means CGI is not promoted bundled gems. The users need... hsbt (Hiroshi SHIBATA)
01:31 PM Ruby Bug #21260 (Feedback): duping stringio objects shares cursors
I've found that, if I `.dup` a stringio, when I read one of the objects, the cursor also moves internally on the othe... chucke (Tiago Cardoso)
11:04 AM Ruby Bug #21259 (Assigned): The Prism compiler wrongly creates a line number of zero
test.rb
```
TracePoint.new(:line) do |tp|
p tp
end.enable
load "./target.rb"
```
target.rb
```
if true...
mame (Yusuke Endoh)
10:14 AM Ruby Revision ce0d5cc0 (git): Refine dirname test on Windows
- Compare with the root of the target file
- Fix root path of UNC path
nobu (Nobuyoshi Nakada)
10:13 AM Ruby Revision 5cf7d948 (git): [DOC] Fix contributing link
It moved in https://github.com/ruby/ruby/pull/13012 but wasn't updated here Earlopain (Earlopain _)
09:23 AM Ruby Revision b200bad6 (git): bump teeny
nagachika (Tomoyuki Chikanaga)
08:28 AM Ruby Bug #21141: `Time#utc?` does not work with a timezone object
ruby_3_3 commit:4ca521e91342165ed35cb12c9868f10e2a6aa07c merged revision(s) commit:06919949a60b42a8f30e8bd0cb075e17b0... nagachika (Tomoyuki Chikanaga)
08:27 AM Ruby Revision 4ca521e9 (git): merge revision(s) 06919949a60b42a8f30e8bd0cb075e17b05eebcd, 51bc992822f9108ad64de32d300e1cefd0e2da59, 42daa6c2a2b49b4e45f40736e25c7d182860f24a: [Backport #21141]
[Bug #21141] [DOC] Clarify what time is in UTC
[Bug #21141] [DOC] Refine description of `Time#utc?`
...
nagachika (Tomoyuki Chikanaga)
06:51 AM Ruby Revision 9f61541f (git): Re-enabled to test at win32ole
hsbt (Hiroshi SHIBATA)
04:27 AM Ruby Bug #21257 (Assigned): YJIT can generate infinite loop when OOM
hsbt (Hiroshi SHIBATA)
03:33 AM Ruby Bug #21257: YJIT can generate infinite loop when OOM
YJIT compiles the `first` and `second` methods to this (on x86_64-linux):
```
# regenerate_branch
# Block: first@infi...
rianmcguire (Rian McGuire)
03:29 AM Ruby Bug #21257 (Assigned): YJIT can generate infinite loop when OOM
We've found an edge case where YJIT can generate an infinite loop (jump to the same address) when it's out-of-memory.... rianmcguire (Rian McGuire)
01:36 AM Ruby Bug #21167: Visual Studio 2022 17.13.x couldn't build ruby.exe
vs2022 17.14.0 preview 2.0 also has this issue.
hsbt (Hiroshi SHIBATA)
01:31 AM Ruby Revision 8ab51769 (git): sed is not requirement now
hsbt (Hiroshi SHIBATA)
01:20 AM Ruby Revision 9e93759b (git): Restore assertion that is not related mswin platform
hsbt (Hiroshi SHIBATA)
12:54 AM Ruby Revision e5801451 (git): Merge RubyGems-3.6.7 and Bundler-2.6.7
hsbt (Hiroshi SHIBATA)
12:54 AM Ruby Revision db2bf9f0 (git): Merge RubyGems-3.6.6 and Bundler-2.6.6
hsbt (Hiroshi SHIBATA)

04/08/2025

11:11 PM Ruby 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 Ruby 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 Ruby Revision b1362e26 (git): [ruby/json] Suppress -Wunknown-pragmas warnings
https://github.com/ruby/json/commit/97f47d1cfd nobu (Nobuyoshi Nakada)
08:45 PM Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby Feature #21254: Inlining Class#new
`swap` is remained? ko1 (Koichi Sasada)
03:15 PM Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby Bug #21255 (Assigned): Can't build Ruby with Windows SDK 10.0.26100
hsbt (Hiroshi SHIBATA)
07:05 AM Ruby Bug #21255 (Assigned): 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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 Ruby 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)
 

Also available in: Atom