Activity
From 05/09/2025 to 05/15/2025
Today
-
10:49 AM Bug #21339: Namespace: `RubyVM::InstructionSequence.load_iseq` isn't called for the root namespace
- Basically dependent or even caused by #21324 then
-
01:58 AM Bug #21339: Namespace: `RubyVM::InstructionSequence.load_iseq` isn't called for the root namespace
- It works as expected with `--disable=gems`.
```
$ RUBY_NAMESPACE=1 ./local/bin/ruby --disable=gems test.rb
./loc... -
10:07 AM Bug #21341: `Namespace is not a module (TypeError)` without enabling the namespace
- This only triggers the TypeError for the top-level module Namespace, not when it’s nested inside another module.
`... -
09:59 AM Bug #21341: `Namespace is not a module (TypeError)` without enabling the namespace
- This code comes from a Rails test case, so we can change it if needed. However, there might be other cases to consider.
-
09:40 AM Bug #21341 (Open): `Namespace is not a module (TypeError)` without enabling the namespace
- Ruby on Rails test case has the `module Namespace`.
https://github.com/rails/rails/blob/main/activemodel/test/vali... -
04:07 AM Bug #21333: heap-use-after-free caused by rehash during update
- https://github.com/ruby/ruby/pull/13344
-
01:16 AM Bug #21340 (Feedback): Bump autoconf version to properly handle C23 bool/stdbool defines
- Isn't `HAVE_STDBOOL_H` defined?
`HAVE_STD_BOOL_H` should be for `std_bool.h`.
05/14/2025
-
11:59 PM Bug #21338: TracePoint Not Triggered for Kernel#block_given?
- ruby-prof does listen for C calls. See:
https://github.com/ruby-prof/ruby-prof/blob/master/ext/ruby_prof/rp_profile.... -
02:11 PM Bug #21338 (Rejected): TracePoint Not Triggered for Kernel#block_given?
- It's a C method in 3.4, so you can listen for `:c_call`:
```
ruby -ve 'TracePoint.new(:c_call) { p _1 }.enable { ... -
08:18 AM Bug #21338 (Rejected): TracePoint Not Triggered for Kernel#block_given?
- When updating ruby-prof for Ruby 3.4, various tests now fail because a method enter/leave tracepoint is not triggered...
-
07:24 PM Revision 7afee53f (git): [DOC] Tweaks for String#<< (#13306)
-
07:24 PM Revision 10e8119c (git): [DOC] Tweaks for String#== (#13323)
-
07:01 PM Revision 76ec41bf (git): Bump ABI_VERSION
- `struct RTypedData` was changed significantly in https://github.com/ruby/ruby/pull/13190
which breaks many extensions... -
06:52 PM Bug #17420: Unsafe mutation of $" when doing non-RubyGems require in Ractor
- Yep, the original ticket was about incorrectly allowing `require` in Ractors and that could segfault.
https://github... -
01:59 PM Bug #17420 (Closed): Unsafe mutation of $" when doing non-RubyGems require in Ractor
- I hope I'm not misinterpreting the ticket.
Since https://github.com/ruby/ruby/pull/11142 you can now require from ... -
06:50 PM Bug #21329: `date_core.so` is broken with the recent MSYS2 update
- https://github.com/ruby/setup-msys2-gcc/pull/26#issuecomment-2877229861
The root cause is that the extension is comp... -
02:09 AM Bug #21329: `date_core.so` is broken with the recent MSYS2 update
- We need to backport fix if the problem is our side. This ticket is reminder for that.
-
06:34 PM Revision b00a3396 (git): [DOC] Tweaks for String#[] (#13335)
-
06:33 PM Revision 1f72512b (git): [DOC] Tweaks for String#[]=
-
05:31 PM Bug #21037 (Closed): Ractors hang with multiple threads
- Fixed in 1d4822a
-
05:02 PM Bug #21037: Ractors hang with multiple threads
- I didn't tag the commit message properly, but this can be closed. PR https://github.com/ruby/ruby/pull/12633 was merg...
-
05:30 PM Bug #17624 (Closed): Ractor.receive is not thread-safe
- Fixed in 1d4822a
-
05:02 PM Bug #17624: Ractor.receive is not thread-safe
- I didn't tag the commit message properly, but this can be closed. PR https://github.com/ruby/ruby/pull/12633 was merg...
-
05:21 PM Bug #21315: Finalizers violate the `rb_ractor_confirm_belonging` assertion
- I agree with John, I think we need to find the next eligible ractor for finalizers after ractor termination.
-
05:13 PM Feature #21279: Bare "rescue" should not rescue NameError
- I wondered how it looks in the real world (not really, I only ran against tests) so I wrote some code:
```rb
require... - 05:11 PM Revision ee7dcef0 (git): Update default gems list at 57f8dde0f2228dbc67503403d740a7 [ci skip]
-
05:10 PM Revision 57f8dde0 (git): [ruby/erb] Version 5.0.1
- https://github.com/ruby/erb/commit/42f389dc45
-
05:06 PM Revision ef0e4406 (git): Revert "Set WASMTIME_BACKTRACE_DETAILS=1 for WASM basictest"
- This reverts commit cb88edf0bfdc2ce6bfbe3b4e0463a4c2dc5d2230.
It didn't help. You need to go to a different reposito... -
04:35 PM Bug #21340 (Feedback): Bump autoconf version to properly handle C23 bool/stdbool defines
- Right now if I install a recent release using rbenv or asdf, or manually download the latest release 3.4.3 or the pre...
-
04:06 PM Feature #21311: Namespace on read (revised)
- Eregon (Benoit Daloze) wrote in #note-85:
> What are the advantages of running multiple Rails apps in one process in... -
02:04 PM Feature #21311: Namespace on read (revised)
- What are the advantages of running multiple Rails apps in one process instead of one process per Rails app?
That see... -
03:39 PM Revision 1825ae45 (git): ZJIT: Add CI runs for building with YJIT
-
03:39 PM Revision 92b218fb (git): YJIT: ZJIT: Allow both JITs in the same build
- This commit allows building YJIT and ZJIT simultaneously, a "combo
build". Previously, `./configure --enable-yjit --e... -
02:26 PM Bug #20726 (Closed): Issue with hash without braces when assigned to constant with ractor literals
- This no longer reproduce with either parser, so I'm going to assume it was fixed.
-
02:20 PM Bug #21339 (Assigned): Namespace: `RubyVM::InstructionSequence.load_iseq` isn't called for the root namespace
- ```ruby
File.write("/tmp/compile-cache.rb", <<~'RUBY')
class << RubyVM::InstructionSequence
def load_iseq(pa... -
02:05 PM Bug #18412 (Closed): Segfault in test_ractor.rb
- This report being about CI failures, I'm going to assume it was fixed otherwise we'd still see it today.
-
02:04 PM Bug #17998 (Closed): ractor: process hanging (with ractors initialized, but not being used)
- The reproduction steps aren't very clear to me.
But the backtrace shows `fork` and `finalizers` are involved. Sinc... -
01:52 PM Bug #17677 (Closed): Ractor crashes fork when blocking
- I can't reproduce on master nor on any version since 3.0.3.
I'm going to assume this was fixed. -
12:41 PM Revision b5575a80 (git): Reduce `Object#object_id` contention.
- If the object isn't shareable and already has a object_id
we can access it without a lock.
If we need to generate an... -
11:13 AM Revision 920dc0fe (git): ZJIT: Split long `use` line and add a module doc.
-
11:13 AM Revision 4eff1727 (git): ZJIT: More tests for parsing param forms
-
11:13 AM Revision 37d6de53 (git): ZJIT: Infer ArrayExact for the rest parameter
- The rest parameter is always a rb_cArray, even when anonymous. (This is
different from kw_rest, which can be nil.) -
11:13 AM Revision 767e8e16 (git): ZJIT: Fix rest parameter not parsed into a BB parameter
- Use total parameter size instead of lead parameter size when parsing
iseq into hir. Also, copy over IntoUsize for com... -
11:13 AM Revision 074dce83 (git): ZJIT: Add IntoUsize, ported from YJIT
-
09:41 AM Revision f9c3fecc (git): Rename `id_to_obj_tbl` -> `id2ref_tbl`
- As well as associated functions, this should make it more obvious
what the purpose is. -
08:26 AM Revision 94001197 (git): Fix `object_id` for classes and modules in namespace context
- Given classes and modules have a different set of fields in every
namespace, we can't store the object_id in fields f... -
08:21 AM Bug #21297 (Closed): Update net-imap for ruby 3.2, 3.3, 3.4
-
08:17 AM Revision 130d6aae (git): Reclaim one `VALUE` from `rb_classext_t` by shrinking `super_classdepth`
- By making `super_classdepth` `uint16_t`, classes and modules can
now fit in 160B slots again.
The downside of course... -
07:16 AM Bug #21333: heap-use-after-free caused by rehash during update
- byroot (Jean Boussier) wrote in #note-3:
> So `#update` with block isn't considered iteration, so it doesn't increas... -
06:20 AM Bug #21331: heap-use-after-free caused by rehash during transform_values!
- @nobu given you reverted your fix, should we re-open?
-
12:15 AM Bug #21331: heap-use-after-free caused by rehash during transform_values!
- ruby_3_4 commit:862480a316c014d2b4659b22cd12e311c0810105 merged revision(s) commit:bb180b87b43c45e17ff49735a26d7a188d...
-
06:13 AM Revision f855bcc6 (git): Applied rake vendor:install
-
06:13 AM Revision cc3d304b (git): [rubygems/rubygems] Try cgi-0.5.0.beta2
- https://github.com/rubygems/rubygems/commit/5d5e37bf23
-
06:13 AM Revision a89460a8 (git): [rubygems/rubygems] Reenable skipped specs in truffleruby since they should be fixed
- https://github.com/rubygems/rubygems/commit/a7cbec95c1
-
06:13 AM Revision 52d72979 (git): [rubygems/rubygems] Update vendored version and patch for net-http and net-http-persistent
- https://github.com/rubygems/rubygems/commit/b9a4722d5e
-
06:08 AM Revision a7af85a7 (git): Use gh cache
-
06:08 AM Revision af741305 (git): Purge the oldest TRAP cache with gh actions-cache cli
-
06:08 AM Revision 3b459b5a (git): Disabled TRAP cache of CodeQL
-
04:58 AM Bug #21336 (Closed): "Cannot malloc during GC" on WASM
- Closed by commit:b66c5c3b1b31581960bcb69d49b618d69ae2a87f
-
12:53 AM Bug #21336 (Closed): "Cannot malloc during GC" on WASM
- The patch for [Bug #21331] https://github.com/ruby/ruby/pull/13317 introduced a new bug for WASM build.
```
basic... -
04:57 AM Bug #21337 (Open): Using `not` on the RHS of a logical operator becomes valid syntax with Prism
- The following syntax behavior differs between Ruby 3.3 (parse.y by default) and Ruby 3.4 (Prism by default).
```ru... -
03:09 AM Revision 86f5cec7 (git): Add misc/tsan_suppressions.txt
-
01:37 AM Revision 7793b59c (git): [Bug #21331] Prohibit hash modification during stlike loop
-
01:28 AM Feature #21335: Namespaces should be present in the backtrace
- mame (Yusuke Endoh) wrote in #note-2:
> As the current behavior of the backtrace, if the receiver class is completel... -
01:08 AM Feature #21335: Namespaces should be present in the backtrace
- The `ns_id` seems good to be shown in backtrace (I'm unsure about this format is good or not):
```
foo.rb:7:in na... -
12:50 AM Feature #21335: Namespaces should be present in the backtrace
- It is possible to change how to display the backtrace to show class names that are not completely bound to constants....
-
12:45 AM Feature #21335: Namespaces should be present in the backtrace
- As the current behavior of the backtrace, if the receiver class is completely bound to the constant names, they are p...
-
01:26 AM Revision 7f5b4fb2 (git): Remove unused retval assignments
-
01:23 AM Revision b66c5c3b (git): Revert "[Bug #21331] Prohibit modification during stlike loop"
- This reverts commit bb180b87b43c45e17ff49735a26d7a188d5c8396, which
caused "malloc during GC" error on wasm. -
12:59 AM Revision 808d6a1e (git): v3.4.4
-
12:19 AM Bug #21327: Windows builds seem broken after clock_gettime changes?
- ruby_3_4 commit:65e02ab1a6e4482f417ec1d1cb4453958ad36ca3 merged revision(s) commit:3e47e7a499acd256be549935fcb559d3c8...
-
12:19 AM Bug #21327 (Closed): Windows builds seem broken after clock_gettime changes?
- Applied in changeset commit:git|65e02ab1a6e4482f417ec1d1cb4453958ad36ca3.
----------
merge revision(s) 3e47e7a499acd... -
12:18 AM Revision 65e02ab1 (git): merge revision(s) 3e47e7a499acd256be549935fcb559d3c82e556c, b48b841378f80e16378ceb83f3b78e52df9ae023, 2fe8b9cd3d308d754f3d33a948dfb1dd782a10dc: [Backport #21327]
- Fix redefinition of `clock_gettime` and `clock_getres`
winpthreads-git 12.0.0.r720 provides `clock_gettime` ... -
12:17 AM Bug #21334: Namespaces and object reference sharing
- I would have appreciated something like, the two last examples are clear, could you provide code for the first one?
... -
12:03 AM Bug #21334: Namespaces and object reference sharing
- This is not about whether the ticket is "normal" or not. The fact is, your explanation is vague and incomplete. You m...
-
12:14 AM Revision 862480a3 (git): merge revision(s) bb180b87b43c45e17ff49735a26d7a188d5c8396: [Backport #21331]
- [Bug #21331] Prohibit modification during stlike loop
-
12:13 AM Bug #21289: Fix C level backtraces for USE_ELF
- ruby_3_4 commit:ac311437d3c4d60fe4ac100e9652b0cbc3e5f481.
-
12:12 AM Bug #21257: YJIT can generate infinite loop when OOM
- ruby_3_4 commit:50b1759be00713535c41f5650feb3967c533450a.
-
12:05 AM Revision cb88edf0 (git): Set WASMTIME_BACKTRACE_DETAILS=1 for WASM basictest
- https://github.com/ruby/ruby/actions/runs/15008767265/job/42173424631
"error while executing at wasm backtrace" doesn...
05/13/2025
-
11:54 PM Revision 1d3221ad (git): [ruby/erb] Give up on using resolve_feature_path
- Apparently `$LOAD_PATH.resolve_feature_path('erb/escape')` returns true
for miniruby but `require 'erb/escape'` fails... -
11:41 PM Bug #21334: Namespaces and object reference sharing
- I have spent countless hours of my free time on namespaces in the last days. I experimented with the feature again to...
-
11:09 PM Bug #21334: Namespaces and object reference sharing
- > If you call something like ref.http_client.fetch, the method fetch is executed in the context of the namespace wher...
-
11:01 PM Bug #21334 (Rejected): Namespaces and object reference sharing
- I've lost count of how many times I've said this, but here it is again:
**You must provide reproducible code, your... -
10:25 PM Bug #21334: Namespaces and object reference sharing
- > Maybe redefine communication across namespaces in a very restrictive way that make these issues by design
Maybe ... -
10:19 PM Bug #21334 (Rejected): Namespaces and object reference sharing
- # Implications related to builtin classes and modules
As we know, when a namespace is created, builtin classes in ... -
11:31 PM Revision e8e7daa7 (git): [ruby/erb] Reapply "Refactor the logic of require 'erb/escape'
- (https://github.com/ruby/erb/pull/61)"
This reverts commit https://github.com/ruby/erb/commit/1c9200aab071.
Now tha... -
10:51 PM Feature #21335 (Open): Namespaces should be present in the backtrace
- Namespaces can call in to other name spaces. I think it might be helpful if namespace information is in the backtrace...
-
10:46 PM Feature #21311: Namespace on read (revised)
- Eregon (Benoit Daloze) wrote in #note-82:
> @matz What real-world use cases do you see for Namespace?
One thing I... -
11:28 AM Feature #21311: Namespace on read (revised)
- mame (Yusuke Endoh) wrote in #note-51:
> This feature proposal is quite exceptional. Because this is a feature strong... -
06:13 AM Feature #21311: Namespace on read (revised)
- > (In fact, the overhead appears to be only about 5%.)
That's when namespaces aren't used. Since creating a names... -
01:46 AM Feature #21311: Namespace on read (revised)
- jhawthorn (John Hawthorn) wrote in #note-79:
> Sorry, I didn't get a chance to review this before it was merged. I r... -
10:20 PM Bug #21322: Namespaces and builtin classes as arguments and return values
- This ticket was kind of oriented to docs.
I believe the emphasis has to be different and have created https://bugs... -
08:46 PM Bug #21333: heap-use-after-free caused by rehash during update
- So `#update` with block isn't considered iteration, so it doesn't increase the `iterlevel` hence `#rehash` is mistake...
-
08:33 PM Bug #21333: heap-use-after-free caused by rehash during update
- ```ruby
$a = (1..1337).to_h { |k| [k, k] }
$b = (1..1337).to_h { |k| [k, k * 2] }
$a.update($b) { |k, o, n|
$... -
08:33 PM Bug #21333: heap-use-after-free caused by rehash during update
- The reproduction script seem missing something? `$b` is `nil` here so the script simply fail.
-
12:19 PM Bug #21333 (Open): heap-use-after-free caused by rehash during update
- Hi, we found a heap-use-after-free caused by rehash during update
```
$a = (1..1337).to_h { |k| [k, k] }
$a.upda... -
08:39 PM Revision 2279da2c (git): Bump the required BASERUBY version to 3.1 (#13321)
-
08:30 PM Revision b6698114 (git): Add specs for Set mutation during iteration
-
08:27 PM Bug #21332 (Closed): heap-use-after-free caused by mutating the set
- Applied in changeset commit:git|1ee4b43a56e9539d3b09c08114c59cb49857b956.
----------
Set#merge: raise if called duri... -
07:41 PM Bug #21332: heap-use-after-free caused by mutating the set
- `Set#merge` is missing a check for iteration: https://github.com/ruby/ruby/pull/13322
-
12:19 PM Bug #21332 (Closed): heap-use-after-free caused by mutating the set
- Hi, we found a heap-use-after-free caused by mutating the set.
hash() returning 0 is important to create the colli... -
08:27 PM Revision 1ee4b43a (git): Set#merge: raise if called during iteration
- [Bug #21332]
- 08:23 PM Revision 1d4822a1 (git): Get ractor message passing working with > 1 thread sending/receiving values in same ractor
- Rework ractors so that any ractor action (Ractor.receive, Ractor#send, Ractor.yield, Ractor#take,
Ractor.select) will... -
08:05 PM Revision 2fee379f (git): Checkout .github on omnibus result for notifications
- It currently fails like: Can't find 'action.yml'
-
06:23 PM Revision cbaf85cb (git): [ruby/erb] Update the reason why we need to rescue LoadError
- https://github.com/ruby/erb/commit/c2d1f82817
-
06:23 PM Revision c71f9b8a (git): [ruby/erb] Revert "Refactor the logic of require 'erb/escape'
- (https://github.com/ruby/erb/pull/61)"
This reverts commit https://github.com/ruby/erb/commit/1c393aa738f3.
https:/... - 06:10 PM Revision f82dce14 (git): Update default gems list at 9db0704e67c8af3b47429e28e1da5e [ci skip]
-
06:09 PM Revision 9db0704e (git): [ruby/erb] Version 5.0.0
- https://github.com/ruby/erb/commit/08b544cdb8
-
06:07 PM Revision 8982bbcb (git): [ruby/erb] Publish constant ERB::VERSION
- Even cgi.gem publicly defines CGI::VERSION today. It's just weird that
ERB::VERSION is kept private at this point.
h... -
06:02 PM Bug #21327: Windows builds seem broken after clock_gettime changes?
- I just tested this with the ruby_3_4 branch. It's failing with:
```
../ruby/win32/win32.c:4795:1: error: redefinit... -
12:59 AM Bug #21327: Windows builds seem broken after clock_gettime changes?
- It's fixed at https://github.com/ruby/ruby/pull/13302
But cross build is still broken.
* https://rubyci.s3.amaz... - 06:00 PM Revision 4a9d46ce (git): [ruby/erb] Refactor the logic of require 'erb/escape'
- (https://github.com/ruby/erb/pull/61)
https://github.com/ruby/erb/commit/1c393aa738 - 05:50 PM Revision 735f2838 (git): [ruby/erb] Support all cgi.gem versions
- (https://github.com/ruby/erb/pull/60)
https://github.com/ruby/erb/commit/de9bb8c3cc -
05:15 PM Revision 9420fc8a (git): [ruby/stringio] Add a comment to explicit RUBY_FL_USER2 |
- RUBY_FL_USER3
(https://github.com/ruby/stringio/pull/133)
This way when someone removes these flags from Ruby or upd... -
05:14 PM Revision 96b823a2 (git): [DOC] Tweaks for String#<=>
-
04:37 PM Bug #21331 (Closed): heap-use-after-free caused by rehash during transform_values!
- Applied in changeset commit:git|bb180b87b43c45e17ff49735a26d7a188d5c8396.
----------
[Bug #21331] Prohibit modificat... -
01:49 PM Bug #21331: heap-use-after-free caused by rehash during transform_values!
- https://github.com/ruby/ruby/pull/13317
-
12:18 PM Bug #21331 (Closed): heap-use-after-free caused by rehash during transform_values!
- Hi, we found a heap-use-after-free caused by rehash during transform_values!.
```
$a = (1..1337).to_h { |k| [k, k... -
02:47 PM Bug #20905: Ruby VM hangs while using ractors
- I was able to reproduce the bug, and rebasing @luke-gru 's patch does indeed fix the hang (I reduced 100M to 10M thou...
-
02:42 PM Bug #17624: Ractor.receive is not thread-safe
- Related to https://bugs.ruby-lang.org/issues/21037
-
02:34 PM Bug #19338 (Closed): Ruby hangs when ouputting warnings inside ractor with VM lock held
- I was able to reproduce this on 3.3, but not on 3.4 not master. So I'll assume it was fixed and close.
-
02:16 PM Revision bb180b87 (git): [Bug #21331] Prohibit modification during stlike loop
- 02:16 PM Revision 1e2a67e1 (git): Fix typo in `NEWS.md`.
-
01:54 PM Bug #21166: Fiber Scheduler is unable to be interrupted by `IO#close`.
- I've renamed `rb_thread_io_interruptible_operation` to `rb_thread_io_blocking_operation` which better suits the namin...
-
01:52 PM Bug #21166: Fiber Scheduler is unable to be interrupted by `IO#close`.
- https://github.com/ruby/ruby/pull/13127 has been merged, allowing us to move forward with this feature.
-
12:55 PM Revision 2ca87694 (git): Reclaim one `VALUE` from `rb_classext_t`
- The `includer` field is only used for `T_ICLASS`, so by moving
it into the existing union we can save one `VALUE` per... -
12:00 PM Bug #21330: Namespace: Class and Module frozen status is not namespaced
- The frozen flag is what I missed. I think we should move the flag to `rb_classext_t`.
-
09:56 AM Bug #21330 (Open): Namespace: Class and Module frozen status is not namespaced
- ```ruby
File.write("/tmp/test.rb", <<~'RUBY')
Hash.freeze
RUBY
ns = Namespace.new
ns.require("/tmp/test.rb")... -
11:52 AM Bug #21316: Namespaces leak with permanent names
- @Eregon It has already been fixed. Thank you.
-
11:49 AM Bug #21316: Namespaces leak with permanent names
- @make_now_just In the first two cases, it should be `.dump_in_ns` not `.dump`
-
11:20 AM Bug #21316: Namespaces leak with permanent names
- I found an issue on `Marshal` and `Namespace` maybe related to this ticket.
When dumping an object defined in a name... -
11:47 AM Bug #20009: Marshal.load raises exception when load dumped class include non-ASCII
- byroot (Jean Boussier) wrote in #note-1:
> ### Half-way solution
>
> Some possible half-way solution would be:
>... -
10:54 AM Bug #20009: Marshal.load raises exception when load dumped class include non-ASCII
- In my opinion, we need to introduce a new format for dumping classes/modules correctly.
Marshal uses `c` and `m` (`T... -
11:40 AM Bug #21324: Namespace loads RubyGems in root Namespace but it should not
- Loading RubyGems creates more constants than just `Gem`:
```
$ ruby -v --disable-gems -e 'a=Object.constants; requi... -
06:47 AM Bug #21324: Namespace loads RubyGems in root Namespace but it should not
- I've identified the issue and prepared a fix.
The problem is that RubyGems is being loaded into the root namespace... -
11:18 AM Bug #19367 (Closed): Issue with ractor local storage API
- Applied in changeset commit:git|c941fced211c7472d6a61e7469b70282ac506ea6.
----------
Throw RuntimeError if getting/s... -
11:18 AM Revision c941fced (git): Throw RuntimeError if getting/setting ractor local storage for non-main ractor
- [Bug #19367]
-
11:14 AM Bug #21329: `date_core.so` is broken with the recent MSYS2 update
- Some debugging happening at https://github.com/ruby/date/pull/125 already! Should this be moved to the date repo, by ...
-
03:19 AM Bug #21329 (Open): `date_core.so` is broken with the recent MSYS2 update
- From https://github.com/ruby/psych/issues/730 and https://github.com/nobu/rdoc/actions/runs/14969443434/job/420468425...
-
10:28 AM Revision 7517d762 (git): [DOC] Fix a link and sort links in NEWS.md
-
10:02 AM Revision 5974841d (git): Remove outdated references to FL_SEEN_OBJ_ID
- 10:02 AM Revision 425fa0ae (git): Make `waiting_fd` behaviour per-IO. (#13127)
- - `rb_thread_fd_close` is deprecated and now a no-op.
- IO operations (including close) no longer take a vm-wide lock. -
08:35 AM Revision a6435bef (git): variable.c: Refactor rb_obj_field_* to take shape_id_t
-
07:57 AM Feature #21308: Replacing the Float#to_s (dtoa.c) implementation with a modern algorithm
- The change in https://github.com/ruby/json/pull/768 was an easy win, because the previous implementation was calling ...
-
07:52 AM Feature #20610: Float::INFINITY as IO.select timeout argument
- @akr the test is insufficient, you should probably update RubySpec too.
-
07:00 AM Revision fa2414f2 (git): Fix a typo
-
06:49 AM Revision e46fbe62 (git): Psych and SafeYAML was loaded Gem.load_yml, these changes is unnecessary
-
05:37 AM Revision 4d9a1d5b (git): Handle to look up CGI::EscapeExt instead of using LoadError. cgi/escape is provided snce Ruby 2.3
- 05:13 AM Revision c4055709 (git): Update default gems list at cd7495a1d0e003360c96bb9746c1a8 [ci skip]
-
05:12 AM Revision cd7495a1 (git): [ruby/json] Further improve parsing errors
- Report EOF when applicable instead of an empty fragment.
Also stop fragment extraction on first whitespace.
https:/... -
05:12 AM Revision 8cc1aa82 (git): [ruby/json] Add missing single quotes in error messages
- https://github.com/ruby/json/commit/f3dde3cb2f
-
05:12 AM Revision 73d0bd5e (git): [ruby/json] Release 2.12.0
- https://github.com/ruby/json/commit/41f1f6939d
-
05:12 AM Revision 50ef2083 (git): [ruby/json] parser.c: include line and column in error messages
- https://github.com/ruby/json/commit/30e35b9ba5
-
05:12 AM Revision 8f008598 (git): [ruby/json] parser.c: refactor `raise_parse_error` to have document start
- https://github.com/ruby/json/commit/832b5b1a4c
-
04:10 AM Revision a93d9fdc (git): Add a missing dependency for stringio
- 18d395e0784401585b5c14300e689de55e208647
-
03:22 AM Bug #21280 (Closed): StringIO#set_encoding warns when backed by chilled string literal
- Fixed by commit:18d395e0784401585b5c14300e689de55e208647
-
03:20 AM Revision 5e59ae18 (git): [ruby/stringio] Fix Ruby 3.4 check
- https://github.com/ruby/stringio/commit/a27c5d5e2e
Co-authored-by: Sutou Kouhei <kou@cozmixng.org> -
03:20 AM Revision 18d395e0 (git): [ruby/stringio] Do not issue warning when calling set_encoding if string is chilled
- StringIO does not warn for unchilled unfrozen string or for frozen
string, so it should not warn for chilled string.
... -
02:22 AM Revision f91480d7 (git): merge revision(s) 719486a642f0e282b02b958069b8b39b85b3aa1e: [Backport #21286]
- Fix C23 (GCC 15) WIN32 compatibility for rb_define_* functions
Fixes [Bug #21286] -
02:20 AM Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
- ruby_3_2 commit:53c09781495b0096eec88e4268a48a13b245097a merged revision(s) commit:719486a642f0e282b02b958069b8b39b85...
-
02:05 AM Revision 9b8c846b (git): Add an additional test to module_eqq
-
01:10 AM Bug #21302 (Closed): Remove or Fix Set#to_h
- Fixed by commit:203199251f723d02f23f5782523d16f91277ea82
-
01:09 AM Revision 20319925 (git): Remove Set#to_h
- This overrides Enumerable#to_h, but doesn't handle a block, breaking
backwards compatibility.
Set#to_h was added in ... -
12:05 AM Revision b758b6f2 (git): Prevent namespace inspected strings from GC
05/12/2025
-
11:50 PM Feature #21311: Namespace on read (revised)
- Sorry, I didn't get a chance to review this before it was merged. I really don't think adding this level of indirecti...
-
11:16 PM Feature #21311 (Assigned): Namespace on read (revised)
-
09:59 PM Feature #21311: Namespace on read (revised)
- As another datapoint on Linux (Ubuntu 24.04, AMD Ryzen 9800X3D), it looks like it is slower (around 0-5%) but also ha...
-
01:07 PM Feature #21311 (Open): Namespace on read (revised)
- byroot (Jean Boussier) wrote in #note-75:
> > Please open another ticker for further problems, issues, bugs, etc.
>... -
12:52 PM Feature #21311: Namespace on read (revised)
- > Please open another ticker for further problems, issues, bugs, etc.
Right now `RUBY_NAMESPACE=1 make -j btest` f... -
12:42 PM Feature #21311 (Closed): Namespace on read (revised)
- I've merged the change into master. So, let me close this issue.
Please open another ticker for further problems, is... -
11:16 PM Bug #21327 (Assigned): Windows builds seem broken after clock_gettime changes?
-
11:16 PM Bug #21326 (Assigned): Instruction generation differences between parse.y and prism for `def a(x, ...); b(...); end`
-
11:16 PM Bug #21315 (Assigned): Finalizers violate the `rb_ractor_confirm_belonging` assertion
-
11:16 PM Bug #21313 (Assigned): `it` in rescue/ensure on prism
-
11:16 PM Bug #21298 (Assigned): `ObjectSpace.allocation_class_path` returns inconsistent results depending on `TracePoint` state
-
11:16 PM Feature #21277 (Assigned): Windows ARM support
-
11:16 PM Feature #21275 (Assigned): Update to Unicode 17.0
-
11:16 PM Bug #21270 (Assigned): init_fast_fallback_inetsock_internal (default for TCPSocket.new/TCPSocket.open) isn't fiber aware
-
11:16 PM Bug #21266 (Assigned): YJIT GC safety crash with proc objects as block argument
-
11:16 PM Feature #21221 (Assigned): Proposal to upstream ZJIT
-
11:16 PM Bug #21212 (Assigned): IO::Buffer can be freed while its slice is locked
-
11:16 PM Bug #21208 (Assigned): `Ractor#send(move: true)` allow moving objects that are on the stack, and used by C code.
-
11:16 PM Bug #21200 (Assigned): Ractor spuriously hangs, segfaults or errors on TestEtc#test_ractor_parallel
-
11:16 PM Bug #21187 (Assigned): Strings concatenated with `\` getting frozen with literal hashes (PRISM only)
-
11:16 PM Bug #21158 (Assigned): Ractor using 'receive_if' sits in busy wait when there are skipped messages in the incoming queue
-
11:16 PM Bug #21146 (Assigned): VM_ASSERT(expr) gives bad bug report results when another ractor fails an assertion during printing of report
-
11:16 PM Bug #21108 (Assigned): C-c (SIGINT) crashes ruby when looping Ractors are not taken?
-
11:16 PM Bug #21090 (Assigned): SEGV from require in Thread in Ractor
-
11:16 PM Bug #21037 (Assigned): Ractors hang with multiple threads
-
11:16 PM Bug #21007 (Assigned): Ractor scheduler issue when multiple threads in a ractor
-
11:16 PM Bug #20905 (Assigned): Ruby VM hangs while using ractors
-
11:16 PM Bug #20473 (Assigned): Ractor array/hash literals
-
11:16 PM Bug #20346 (Assigned): FiberScheduler.unblock not called by Thread#join when Thread body contains Ractor.take
-
11:16 PM Bug #20167 (Assigned): Code execution isn't recorded in Ractor
-
11:16 PM Bug #19981 (Assigned): bootstraptest/test_ractor.rb: Segmentation fault on arm32
-
11:16 PM Bug #19112 (Assigned): Ractor garbage collection breaks/disables all active tracepoints
-
11:16 PM Bug #18733 (Assigned): Ruby GC problems cause performance issue with Ractor
-
11:16 PM Bug #18412 (Assigned): Segfault in test_ractor.rb
-
09:10 PM Revision b0502e8f (git): Remove respond_to check from Class#bind_call
-
06:15 PM Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
- I will :) I'm planning to cut an early Ruby 3.4 release this week.
-
10:02 AM Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing
- Will you create new ruby stable releases in the next days? I'm asking because I've seen many CI failures and bug repo...
-
04:59 PM Revision c6528548 (git): [ruby/erb] Use cgi/escape instead of deprecated cgi/util
- 04:22 PM Revision 03a7f1ff (git): Update default gems list at 957473d87fc7741c8d36caed8f05db [ci skip]
-
04:21 PM Revision 957473d8 (git): [ruby/psych] Bump version for release
- https://github.com/ruby/psych/commit/b9dec9f811
-
04:19 PM Revision 0c94ae04 (git): [ruby/psych] Fix dumping `StringIO` (and potentially others) on Ruby <= 2.7
- In Ruby < 3.0, the superclass of StringIO was actually already `Data`,
but it doesn't have the expected shape. So, on... -
04:03 PM Revision 53a27f11 (git): YJIT: Split the block on optimized getlocal/setlocal (#13282)
-
03:57 PM Revision 0b6cee73 (git): ZJIT: Stop padding side exits (#13295)
-
03:13 PM Feature #21258: Retire CGI library from Ruby 3.5
- CGI may be an "old" protocol but that maturity brings stability. It means I don't need to run an app server process (...
-
03:07 PM Revision 64944cf4 (git): [DOC] Remove a garbage
-
02:51 PM Revision 85d9ebc9 (git): Remove duplicate asan_unpoisoning_object
- It's already defined in internal/sanitizers.h.
-
02:16 PM Revision bc6d48bd (git): [DOC] Tweak for String#+@ (#13285)
-
01:57 PM Revision 311b9352 (git): [ruby/erb] [DOC] Make documentation 100%
- https://github.com/ruby/erb/commit/9152ce8db4
-
08:45 AM Revision 46e4c867 (git): Detect `clock_gettime` and `clock_getres` for winpthreads
-
08:45 AM Revision 91375d75 (git): CI: Create proper revision.h on Windows
-
08:45 AM Revision d2ffdb10 (git): Explicit cast down from `double` to `int`
-
08:45 AM Revision ed280611 (git): Do not let files depend on a phony target
-
08:45 AM Revision 543e3a18 (git): Cast up `int` instruction code to `VALUE`
- Fix Visual C warnings:
```
iseq.c(3793): warning C4312: 'type cast': conversion from 'int' to 'void *' of greater siz... -
08:45 AM Revision f1f0cc14 (git): Separate `__has_attribute` from `defined(__has_attribute)`
- Fix Visual C warnings:
```
regenc.h(121): warning C4067: unexpected tokens following preprocessor directive - expecte... -
07:49 AM Revision 131ba059 (git): test_object_id.rb: use better randomness
- When the test is repeated 20 or more times in the same process
it's not that unlikely for `rand(100_000)` to return t... -
03:52 AM Revision f638e148 (git): Support to sync cgi/escape from ruby/cgi repo
- 02:09 AM Revision 4464cbe5 (git): [rubygems/rubygems] Fix doctor command parsing of otool output
- I have several gem dylibs that have a line matching "(compatibility "
with no file path preceding it.
https://github... -
02:09 AM Revision af799140 (git): [ruby/json] Favor decimal notation over scientific notation for floats
- e.g.
```
JSON.dump(1746861937.7842371)
```
master:
```
"1.https://github.com/ruby/json/commit/746861937784+9"
```
T...
05/11/2025
-
09:56 PM Bug #21328: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
- Or, use GCC 14 for a while, if possible. (I am not familiar with MSYS2)
-
09:56 PM Bug #21328 (Closed): Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
- I believe this is the same issue as #21286.
Please apply the patch of https://github.com/ruby/ruby/pull/13202 your... -
03:27 PM Bug #21328 (Closed): Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
- We are facing an issue that starts in 05/03/2025
We have an Azure Devops Pipeline that build and test a project, b... -
08:37 PM Revision dc5555d7 (git): Fix -Wmaybe-uninitialized
- ../namespace.c: In function ‘current_namespace’:
../namespace.c:221:48: warning: ‘proc_ns’ may be used uninitialized ... -
08:05 PM Revision 8b7a4d16 (git): Handle GC triggering while building the initial `id_to_obj_tbl`
- GC can trigger while we build the table, and if it sweeps an object
with an ID, it may not find it in the `id_to_obj`... -
05:50 PM Revision 2fe8b9cd (git): Copy to path with the base name
-
05:50 PM Revision b48b8413 (git): digest.so needs ruby/digest.h which is installed by build-ext
-
05:50 PM Revision 204740b7 (git): Revert "Try removing building C API specs in CRuby makefiles entirely"
- This reverts commit 2a9236366d6016738a756caecab03263565a20c7.
spec/ruby/optional/capi/spec_helper.rb doesn't work wel... -
05:50 PM Revision 3e47e7a4 (git): Fix redefinition of `clock_gettime` and `clock_getres`
- winpthreads-git 12.0.0.r720 provides `clock_gettime` and
`clock_getres` as inline functions. -
05:35 PM Revision f2e5f6db (git): Allow T_CLASS and generic types to be too_complex
- The intial complex shape implementation never allowed objects
other than T_OBJECT to become too complex, unless we ru... -
05:02 PM Feature #21219: `Object#inspect` accept a list of instance variables to display
- ℹ️ In case it's of interest/inspiration, I released [Inspectable](https://alchemists.io/projects/inspectable) 0.2.0 w...
-
04:32 PM Misc #21325: make ruby more middle-aged man friendly
nobu (Nobuyoshi Nakada) wrote in #note-2:
> `format` is an alias of `#sprinf` inherited from `Kernel`.
> We can...-
10:27 AM Misc #21325: make ruby more middle-aged man friendly
- `format` is an alias of `#sprinf` inherited from `Kernel`.
We can't rename it. -
04:16 PM Feature #21311: Namespace on read (revised)
- > wanted to make sure everyone is aware of this
What I want all in the thread to realize is that if somewhere in the... -
03:09 PM Feature #21311: Namespace on read (revised)
- Example:
```ruby
# main.rb
class C
attr_reader :target
def initialize(target)
@target = target
end
end
... -
03:05 PM Feature #21311: Namespace on read (revised)
- fxn (Xavier Noria) wrote in #note-70:
> Maybe you have the C code in your head, I am looking at it as a Ruby program... -
02:53 PM Feature #21311: Namespace on read (revised)
- > That should not happen, and if it happens, it's a bug. Could you write and show the script to reproduce it?
Exactl... -
02:50 PM Feature #21311: Namespace on read (revised)
- fxn (Xavier Noria) wrote in #note-68:
> @tagomoris when I said that (1) would break Ruby semantics I meant that **in... -
02:44 PM Feature #21311: Namespace on read (revised)
- @tagomoris when I said that (1) would break Ruby semantics I meant that **in the same namespace** you would have two ...
-
02:24 PM Feature #21311: Namespace on read (revised)
- @tagomoris From the point of view of the Ruby programmer, I have an object, I pass it, and the callee receives a diff...
-
01:59 PM Feature #21311: Namespace on read (revised)
- @fxn I'm unsure I correctly understand what you mean... Let me check your point.
You said:
* The current namespac... -
10:11 AM Feature #21311: Namespace on read (revised)
- Some of the issues I have noted seem to be addressable and have been added to the TODO. (I have written tickets for t...
-
10:00 AM Feature #21311: Namespace on read (revised)
- @byroot Thank you for working on the feature. I'll merge the patches soon (had merged one already).
About the crash ... -
09:30 AM Feature #21311: Namespace on read (revised)
- Alright, so I can't benchmark with `RUBY_NAMESPACE=1` because I keep running into that crash and can't figure it out....
-
08:12 AM Feature #21311: Namespace on read (revised)
- I submitted a fix for the crash here: https://github.com/tagomoris/ruby/pull/5
But now it's crashing in `require`
... -
08:02 AM Feature #21311: Namespace on read (revised)
- headline benchmarks (in non-ideal conditions, I was on battery, etc) and **whithout** `RUBY_NAMESPACE=1`:
```
m... -
07:47 AM Feature #21311: Namespace on read (revised)
- Trying to run benchmarks with `RUBY_NAMESPACE=1` crashes during init:
```
opt/rubies/head-namespaces/bin/ruby: [B... -
07:34 AM Feature #21311: Namespace on read (revised)
- I opened a PR on yjit-bench with workarounds for both the fiddle issue and the CGI issue: https://github.com/Shopify/...
-
07:13 AM Feature #21311: Namespace on read (revised)
- > bin/rails aborted!
> LoadError: cannot load such file -- cgi/cookie (LoadError)
Yes, the `cgi` changes broke Ra... -
12:42 AM Feature #21311: Namespace on read (revised)
- `make yjit-bench` is now failing even on master HEAD.
> bin/rails aborted!
> LoadError: cannot load such file -- ... -
03:44 PM Bug #21322: Namespaces and builtin classes as arguments and return values
- We have followed the discussion in https://bugs.ruby-lang.org/issues/21311.
I may contribute a doc patch to explain ... -
01:24 PM Bug #21322: Namespaces and builtin classes as arguments and return values
- The third option is more aligned with my intuitive idea of a new entity with new rules. Instead of a container of met...
-
01:01 PM Bug #21322: Namespaces and builtin classes as arguments and return values
- @eregon maybe, but the fact is that you pass an object, and the callee receives a different object. This is not consi...
-
03:38 PM Revision 54c2edc0 (git): Fix `Namespace#inspect` to display its internal id
-
02:32 PM Revision b94df81b (git): RUBY_TYPED_WB_PROTECTED should be specified with write barrier protection on this object.
- https://github.com/tagomoris/ruby/pull/7
RUBY_TYPED_FREE_IMMEDIATELY can be added because namespace_entry_free does n... -
02:32 PM Revision 574127b0 (git): Add missing gc_mark in `autoload_const_mark`
- If we're referencing the namespace object we have to mark it.
-
02:32 PM Revision ae2d5378 (git): Suppress warning about unused variable without VM_CHECK_MODE
-
02:32 PM Revision e9b538bb (git): Fix `namespace_initialize` to not crash on boot
- ```
/opt/rubies/head-namespaces/bin/ruby(sigsegv+0x84) [0x104e897e8]
/usr/lib/system/libsystem_platform.dylib(_sigtra... -
02:32 PM Revision b132322e (git): Skip mmtk/i686 tests for a while
-
02:32 PM Revision bbcc3782 (git): Skip updating max_iv_count when the namespace cannot be determined
-
02:32 PM Revision c2c5b054 (git): Unexpectedly miss-fixed macro during rebase
-
02:32 PM Revision f0b41ef6 (git): Describe the basic documents of Namespace
-
02:32 PM Revision 8199e6e1 (git): Show experimental warning when namespace is enabled
-
02:32 PM Revision 8ecc04dc (git): Delete code for debugging namespace
-
02:32 PM Revision 82f645e8 (git): Namespace::Entry is long living object
-
02:32 PM Revision 294b52fb (git): Follow the code style about else
-
02:32 PM Revision 90e5ce61 (git): Rename RCLASS_EXT() macro to RCLASS_EXT_PRIME() to prevent using it wrongly
- The macro RCLASS_EXT() accesses the prime classext directly, but it can be
valid only in a limited situation when nam... -
02:32 PM Revision ff790c75 (git): Compact prime classext readable/writable flags
- To make RClass size smaller, move flags of prime classext readable/writable to:
readable - use ns_classext_tbl is NU... -
02:32 PM Revision e81d5020 (git): Add yjit/zjit bindings for adding namespace
-
02:32 PM Revision 5ee1ec31 (git): initialize method tables before any GC chance
-
02:32 PM Revision f24ba27d (git): avoid calling ZALLOC after NEWOBJ_OF for RClass: need to return RClass not promoted
-
02:32 PM Revision 4b33b468 (git): Fix function pointer type mismatch with `rb_define_private_method`
- `rb_define_private_method` performs strict type checking on the function
pointer. As a result, we cannot pass the fun... -
02:32 PM Revision cf3e2bba (git): Prevent a compile error of clang's -Wformat-pedantic
- ```
/github/workspace/src/proc.c:2023:65: error: format specifies type 'void *' but the argument has type 'const rb... -
02:32 PM Revision e7e51749 (git): spec/ruby/core/module/ancestors_spec.rb: Add a guard for Namespace feat.
-
02:32 PM Revision cb99e544 (git): Update common.mk dependencies
-
02:32 PM Revision 8d3cd430 (git): Remove unnecessary prototype declarations
- ```
internal/class.h:158:20: warning: ‘RCLASS_SET_CLASSEXT_TABLE’ declared ‘static’ but never defined [-Wunused-funct... -
02:32 PM Revision 1e4f7a28 (git): Fix "old-style function definition"
- ```
namespace.c: In function ‘rb_namespace_available’:
namespace.c:55:1: warning: old-style function definition [-Wol... -
02:32 PM Revision 382645d4 (git): namespace on read
-
03:09 AM Revision 49742414 (git): Revert "Fix redefinition of `clock_gettime` and `clock_getres`"
- This reverts commit 585598623da949c92d0f2ea94029a863142ec908.
This broke Windows CIs
```
linking miniruby.exe
Cr...
05/10/2025
- 10:07 PM Revision 915d0277 (git): Fix typo (newsString -> new String)
-
10:01 PM Bug #21327 (Closed): Windows builds seem broken after clock_gettime changes?
- https://github.com/ruby/ruby/actions/workflows/windows.yml
not sure how stable windows normally is, but this looks... -
09:57 PM Bug #21326 (Assigned): Instruction generation differences between parse.y and prism for `def a(x, ...); b(...); end`
- Diff instructions using:
```sh
DUMP="puts RubyVM::InstructionSequence.compile(ARGV.first).disasm.gsub(/^\d+ /, ''... -
07:04 PM Misc #21325 (Open): make ruby more middle-aged man friendly
- after 35, I lose all interests about programming.
no linux, no vim, no iterm2, and no much much.
when I want to... -
05:32 PM Revision 98667f82 (git): [DOC] Update documentation for ObjectSpace#each_object
- Co-authored-by: Benoit Daloze <eregontp@gmail.com>
- 05:32 PM Revision 29b3d683 (git): [DOC] Make clear that current behavior is not ideal
- 05:32 PM Revision a51b4a86 (git): [DOC] ObjectSpace#each_object behavior in multi-Ractor mode
- This behavior of ObjectSpace#each_object has been around since Ruby 3.0
when Ractors were first introduced, but was n... -
04:43 PM Feature #21311: Namespace on read (revised)
- kou (Kouhei Sutou) wrote in #note-54:
> > building fiddle fails
>
> Could you share the error message?
I could... -
01:13 PM Feature #21311: Namespace on read (revised)
- @mame
> I am personally excited to see Ruby adding a bold new feature that brings real energy and discussion to the ... -
09:03 AM Feature #21311: Namespace on read (revised)
- > building fiddle fails
Could you share the error message? -
08:37 AM Feature #21311: Namespace on read (revised)
- > So I ran benchmark/app_fib.rb
Fibonnaci isn't a very interesting benchmark here. It's just the same method being... -
08:31 AM Feature #21311: Namespace on read (revised)
- On my laptop, building fiddle fails and it prevents running `make yjit-bench`.
So I ran benchmark/app_fib.rb and g... -
02:55 PM Revision 6dd7a7bb (git): Refactor `rb_obj_field_get` to handle complex shapes
- This allow to get or set fields without having to worry about the
shape type. -
01:39 PM Revision d9502a83 (git): Rename `rb_field_get` -> `rb_obj_field_get`
- To be consistent with `rb_obj_field_set`.
-
01:22 PM Feature #21258: Retire CGI library from Ruby 3.5
- > It means CGI is not promoted bundled gems.
Is there a reason to skip this step?
For previous extractions we... -
12:36 PM Bug #21324 (Open): Namespace loads RubyGems in root Namespace but it should not
- RubyGems has tons of mutable state, isn't core library and isn't "builtin classes" either, so it should not be in roo...
-
12:32 PM Bug #21323: irb fails to start with Namespace
- Looks somewhat similar, `benchmark` loads fine in main namespace but not in other namespace:
```
$ RUBY_NAMESPACE=1... -
11:14 AM Bug #21323 (Open): irb fails to start with Namespace
- ```
$ irb
irb(main):001> 6 * 7
=> 42
$ RUBY_NAMESPACE=1 irb
/home/eregon/prefix/ruby-master/bin/ruby: warning:... -
12:22 PM Bug #21317: Namespaces leak with object IDs
- Seems very related to https://bugs.ruby-lang.org/issues/21322 so let's keep this one closed and discuss there.
-
11:13 AM Bug #21317: Namespaces leak with object IDs
- Full reproducer, showing that even though `Object` is the same reference in all namespaces it can have different cons...
-
10:13 AM Bug #21317 (Closed): Namespaces leak with object IDs
-
10:12 AM Bug #21317: Namespaces leak with object IDs
- @byroot, if you will, I believe this one can be closed too.
-
08:11 AM Bug #21317: Namespaces leak with object IDs
- I suspect this one was an error of mine. I think we can close.
-
05:33 AM Bug #21317: Namespaces leak with object IDs
- Did you actually test the code? `mod1.constants == mod2.constants` returns `true`.
```
$ cat main.rb
ns = Namesp... -
12:20 PM Bug #21322: Namespaces and builtin classes as arguments and return values
- Right, IOW it's the duality between builtin classes and other classes.
Builtin classes' constants, methods, ivar and... -
09:50 AM Bug #21322: Namespaces and builtin classes as arguments and return values
- For example, if I instead do
```ruby
ns = Namespace.new
ns.require_relative 'foo'
c = Class.new
c::X = 1
ns::C.x(c)... -
09:40 AM Bug #21322: Namespaces and builtin classes as arguments and return values
- > I believe this is consistent with the feature
I say so in the sense that objects with the same ID are equal in the... -
09:12 AM Bug #21322 (Open): Namespaces and builtin classes as arguments and return values
- @tagomoris thanks for the docs under `doc/namespace.md`.
Unless I missed it, I believe there is an edge case relat... -
12:17 PM Bug #21320: Namespaces leak with constant lookup
- Full repro:
```
# Copy the description program to program.rb, e.g. $ xsel -b > program.rb
$ RUBY_NAMESPACE=1 ruby ... -
08:36 AM Bug #21320: Namespaces leak with constant lookup
- This is probably a consequence of https://bugs.ruby-lang.org/issues/21318.
-
12:13 PM Bug #21316: Namespaces leak with permanent names
- Right I think in the namespace defining the class/module the `Module#name` needs to not have a prefix, or it will bre...
-
08:18 AM Bug #21316: Namespaces leak with permanent names
- Main problem here is that there are many programs that depend on that name.
They may store it somewhere for later `c... -
06:22 AM Bug #21316: Namespaces leak with permanent names
- This is definitely not ideal. `Class#name` could end up referring to a different constant.
```ruby
# main.rb
NS ... -
11:06 AM Bug #21318: Namespaces leak with Module.nesting
- Complete reproducer:
```
$ RUBY_NAMESPACE=1 ruby -ve 'p Module.nesting; ns = Namespace.new; File.write "ns.rb", "p ... -
10:11 AM Bug #21321: Namespaces do not support extending mixins
- > and sorry for the noise.
It's alright, even if the feature is experimental, the sooner bugs are noticed the bett... -
10:09 AM Bug #21321: Namespaces do not support extending mixins
- Yes, please, and sorry for the noise.
-
09:59 AM Bug #21321 (Closed): Namespaces do not support extending mixins
- > cannot repro anymore.
Closing then? -
08:39 AM Bug #21321: Namespaces do not support extending mixins
- I was yesterday running a checkout from May 6. Updated the branch now and cannot repro anymore.
-
08:28 AM Bug #21321: Namespaces do not support extending mixins
- @mame I was here till 4 AM experimenting with this feature.
To be organized, I reported different things in differ... -
05:54 AM Bug #21321: Namespaces do not support extending mixins
- I don't think it's really necessary to create a separate ticket for this from #21319, is it?
-
09:59 AM Bug #21319 (Closed): Namespaces do not support including mixins
-
08:34 AM Bug #21319: Namespaces do not support including mixins
- I was yesterday running a checkout from May 6. Updated the branch now and cannot repro anymore.
-
05:46 AM Bug #21319: Namespaces do not support including mixins
- I cannot repro the issue.
```ruby
# main.rb
ns = Namespace.new
ns.require "./sub"
p :success
```
```ruby... -
09:26 AM Revision 58559862 (git): Fix redefinition of `clock_gettime` and `clock_getres`
- winpthreads-git 12.0.0.r720 provides `clock_gettime` and
`clock_getres` as inline functions. -
08:29 AM Revision 7add6b2a (git): ruby/spec has a minimum of Ruby 3.2 now
- 06:59 AM Revision 3c37d6ff (git): Update bundled gems list as of 2025-05-09
-
06:41 AM Revision c75202c5 (git): [Feature #15408] Fix up _id2ref_spec.rb
05/09/2025
-
11:28 PM Bug #21319: Namespaces do not support including mixins
- Maybe the root cause is _enabling_ namespaces with `RUBY_NAMESPACE=1`.
-
11:02 PM Bug #21319 (Closed): Namespaces do not support including mixins
- The following program
```ruby
module M
end
class C
include M
end
```
fails under a namespace with err... -
11:27 PM Bug #21321: Namespaces do not support extending mixins
- Maybe the root cause is _enabling_ namespaces with `RUBY_NAMESPACE=1`.
-
11:22 PM Bug #21321 (Closed): Namespaces do not support extending mixins
- The program
```ruby
module M
end
class C
extend M
end
```
fails under a namespace with error:
```
... -
11:15 PM Revision 3306d7d2 (git): Only clear Ractor cache in child
- This avoids a race condition where we were clearing the cache from
another ractor while it was in use. Oops!
Fixes t... -
11:07 PM Bug #21320 (Open): Namespaces leak with constant lookup
- The following program
```ruby
X = :top
class C
X = :super
end
class D < C
p X
end
```
prints `:... -
10:54 PM Bug #21318 (Open): Namespaces leak with Module.nesting
- Namespaces are not transparent for this program:
```ruby
Module.nesting
```
The nesting is empty or not depen... - 10:13 PM Revision 87b621bd (git): Update default gems list at 58c008e68f31a8056df508cc46e17c [ci skip]
-
10:12 PM Revision 58c008e6 (git): [ruby/psych] Bump version for release
- https://github.com/ruby/psych/commit/dbf9e36583
-
10:08 PM Bug #21317 (Closed): Namespaces leak with object IDs
- Namespaces are not transparent for this program
```ruby
if mod1.object_id == mod2.object_id
mod1.constants == ... -
10:05 PM Bug #21316 (Open): Namespaces leak with permanent names
- Namespaces are not transparent for this program
```ruby
C = Class.new
C.name == 'C'
```
because under a non-... -
10:01 PM Feature #15408: Deprecate ObjectSpace._id2ref
- > The question is rather why you want _id2ref to be deprecated
I want it removed, actually! 😀
You have seen all... -
08:20 PM Feature #15408: Deprecate ObjectSpace._id2ref
- headius (Charles Nutter) wrote in #note-44:
> I'd also like to know **why** you want `_id2ref` to stick around.
I... -
07:19 AM Feature #15408 (Closed): Deprecate ObjectSpace._id2ref
- Applied in changeset commit:git|4de049a3f9709ab8b0b192c40e83b910b80d6de3.
----------
Deprecate `ObjectSpace._id2ref`... -
06:34 AM Feature #15408: Deprecate ObjectSpace._id2ref
- I was hoping for a removal timeline, but alright. I'll merge my PR.
-
03:14 AM Feature #15408: Deprecate ObjectSpace._id2ref
- This was discussed at the dev meeting, and @matz agreed to add the deprecation warning.
-
09:22 PM Revision 4a2f489c (git): Fix rb_range_beg_len() and rb_arithmetic_sequence_beg_len_step() spec
- * The begp, lenp and stepp might not be written to, so they need default values.
-
09:22 PM Revision 2a923636 (git): Try removing building C API specs in CRuby makefiles entirely
- * Since it does not work when using some configure options such as:
.../configure --with-ext=-test-/cxxanyargs,+ --... -
09:22 PM Revision 29be534f (git): Try fixing building C API specs with make
- * But it doesn't work because there is no .ext/include/ruby/digest.h
when using .../configure --with-ext=-test-/cxx... -
09:22 PM Revision 78a2ffa0 (git): Fix digest specs when run in CRuby via make test-spec
-
09:22 PM Revision cb4a4418 (git): Fix formatting in digest_spec.c
-
09:22 PM Revision 269ad29d (git): Update to ruby/spec@d8bacef
-
08:04 PM Bug #21315: Finalizers violate the `rb_ractor_confirm_belonging` assertion
- Eregon (Benoit Daloze) wrote in #note-3:
> it clearly seems to exhibit that behavior
To clarify what I mean:
```... -
07:45 PM Bug #21315: Finalizers violate the `rb_ractor_confirm_belonging` assertion
- > When a Ractor terminates just before it actually does so it should probably run the remaining finalizers
Objects... -
07:13 PM Bug #21315: Finalizers violate the `rb_ractor_confirm_belonging` assertion
- When a Ractor terminates just before it actually does so it should probably run the remaining finalizers, AFAIK, this...
-
06:56 PM Bug #21315: Finalizers violate the `rb_ractor_confirm_belonging` assertion
- > Run each finalizer in the Ractor that created it (what do we do about terminated ractors?)
That one I think woul... -
06:51 PM Bug #21315: Finalizers violate the `rb_ractor_confirm_belonging` assertion
- It does seem like it's a problem that this is a way to have access to an unshareable object from multiple ractors
``... -
04:19 PM Bug #21315 (Assigned): Finalizers violate the `rb_ractor_confirm_belonging` assertion
- Reproduction (with assertions enabled):
```ruby
require "tempfile"
Ractor.new do
10.times do
Tempfile.... -
06:45 PM Revision 3135eddb (git): Refactor `FIRST_T_OBJECT_SHAPE_ID` to not be used outside `shape.c`
-
06:07 PM Feature #21311: Namespace on read (revised)
- This feature proposal is quite exceptional. Because this is a feature strongly driven by @matz himself, and Ruby is m...
-
12:16 PM Feature #21311: Namespace on read (revised)
- Let me add.
This is not a case of "let's merge and polish". Problem is, it has to be seen if you can satisfy the goa... -
11:29 AM Feature #21311: Namespace on read (revised)
- I am aligned with @eregon.
There are several important issues.
Another one that has not been mentioned (I think) is... -
11:02 AM Feature #21311: Namespace on read (revised)
- In https://github.com/ruby/dev-meeting-log/blob/master/2025/DevMeeting-2025-05-08.md#discussion
> mame: Are there any... - 05:53 PM Revision e2f5e233 (git): [ruby/psych] exception tests
- https://github.com/ruby/psych/commit/1e9b79f699
- 05:53 PM Revision 42328d4e (git): [ruby/psych] more special cases
- https://github.com/ruby/psych/commit/b33bf8b060
- 05:53 PM Revision 451e1dcf (git): [ruby/psych] duplicate more tests
- https://github.com/ruby/psych/commit/a3be6429bf
- 05:53 PM Revision ae299cc9 (git): [ruby/psych] add first test for safe load stream
- https://github.com/ruby/psych/commit/336553b412
- 05:53 PM Revision f0e2a41d (git): [ruby/psych] fixed bugs from testing
- https://github.com/ruby/psych/commit/e954f96639
- 05:53 PM Revision d6931930 (git): [ruby/psych] Add safe version for load_stream
- https://github.com/ruby/psych/commit/30a2a5ee94
-
04:43 PM Revision 011982ef (git): Fix warnings in tests for ObjectSpace._id2ref
- There's a lot of warnings when running test_objectspace.rb because of
ObjectSpace._id2ref. For example:
test_obj... -
04:32 PM Revision 102063f9 (git): ZJIT: Fix a splitting condition for LHS
-
02:24 PM Bug #18119 (Closed): Ractor crashes when instantiating classes
- Applied in changeset commit:git|f30f0f0a22bb5cf536b5ca551f3dfa5ebb745030.
----------
Fix crash when instantiating cl... -
02:24 PM Revision f30f0f0a (git): Fix crash when instantiating classes in Ractors
- [Bug #18119]
When we create classes, it pushes the class to the subclass list of the
superclass. This access needs t... -
01:14 PM Revision 5349c0aa (git): Align gems/bundled_gems [ci skip]
-
12:41 PM Feature #21258: Retire CGI library from Ruby 3.5
- With recent commits, it seems that a cgi.gemspec is not created.
erb.gemspec shows it as a dependency? -
04:08 AM Feature #21258 (Assigned): Retire CGI library from Ruby 3.5
- We discussed this in devmeeting.
We decided the followings:
* To remove `cgi` library without `CGI.escape*` and... -
10:28 AM Bug #21280: StringIO#set_encoding warns when backed by chilled string literal
- https://github.com/ruby/stringio/pull/132 is a much cleaner solution, was it considered?
(https://bugs.ruby-lang.org/... -
03:28 AM Bug #21280: StringIO#set_encoding warns when backed by chilled string literal
- Discussed at the dev meeting. @matz said that he prefers not to issue warnings that could be false positives, even if...
-
09:13 AM Revision 15e3675e (git): Remove dead code in `rb_gc_impl_ractor_cache_free`
- Followup: https://github.com/ruby/ruby/pull/13286
-
08:22 AM Revision ea772508 (git): Rename `RB_OBJ_SHAPE` -> `rb_obj_shape`
- As well as `RB_OBJ_SHAPE_ID` -> `rb_obj_shape_id`
and `RSHAPE` is now a simple alias for `rb_shape_lookup`.
I tried ... -
08:22 AM Revision 0b81359b (git): Stop exposing rb_shape_frozen_shape_p
-
08:22 AM Revision becc45ff (git): Eliminate some `rb_shape_t *` usages outside of `shape.c`.
-
08:22 AM Revision a970d35d (git): Get rid of `rb_shape_get_parent`.
-
08:22 AM Revision 5782561f (git): Rename `rb_shape_get_shape_id` -> `RB_OBJ_SHAPE_ID`
- And `rb_shape_get_shape` -> `RB_OBJ_SHAPE`.
-
08:22 AM Revision a0075754 (git): Remove unused `rb_shape_object_id_index`
-
08:22 AM Revision c9b08882 (git): Refactor `rb_shape_get_next` to return an ID
- Also rename it, and change parameters to be consistent with
other transition functions. -
08:22 AM Revision e0200cfb (git): Refactor `rb_shape_transition_shape_remove_ivar` to not take a shape pointer
- It's more consistent with other transition functions.
-
08:22 AM Revision 3f7c0af0 (git): Rename `rb_shape_obj_too_complex` -> `rb_shape_obj_too_complex_p`
-
08:22 AM Revision 677d075c (git): Refactor `rb_shape_transition_too_complex` to return an ID.
-
08:22 AM Revision f82523f1 (git): Refactor `rb_shape_transition_frozen` to return a `shape_id`.
-
08:22 AM Revision 31d0a581 (git): Get rid of useless SHAPE_MASK
-
08:22 AM Revision 334ebba2 (git): Rename `rb_shape_get_shape_by_id` -> `RSHAPE`
-
08:22 AM Revision 9966de11 (git): Refactor `rb_shape_get_next_iv_shape` to take and return ids.
-
08:22 AM Revision df7d25bb (git): Stop exposing rb_shape_get_root_shape
-
08:22 AM Revision 62eb2007 (git): Remove unused rb_obj_debug_shape
-
08:22 AM Revision e4f97ce3 (git): Refactor `rb_shape_depth` to take an ID rather than a pointer.
- As well as `rb_shape_edges_count` and `rb_shape_memsize`.
-
08:22 AM Revision f8b3fc52 (git): Refactor `rb_shape_traverse_from_new_root` to not expose `rb_shape_t`
-
08:22 AM Revision 7116b0a7 (git): Extract `rb_shape_free_all`
-
08:19 AM Bug #20165 (Closed): Ractors moving a Struct breaks beyond the first 3 fields
- Duplicate of: [Bug #20271] [Bug #20267] [Bug #20255]
This was fixed in 0350290262ea0fbc4e1807901797ee8a6970c2b9 an... -
08:16 AM Bug #20897 (Closed): resolv: not usable across ractors
- The linked PR was merged.
-
07:55 AM Revision 30ef0f18 (git): Fix allocation count when forking with Ractors
- After fork we reset to single ractor mode (which IMO we shouldn't do,
but it requires more work to fix) and so we nee... -
07:19 AM Revision 4de049a3 (git): Deprecate `ObjectSpace._id2ref`
- [Feature #15408]
Matz decided to deprecate it for Ruby 2.6 or 2.7 but that never
actually happened.
Given the objec... -
06:55 AM Misc #21100 (Closed): DevMeeting before RubyKaigi 2025
- Meeting log is here: https://github.com/ruby/dev-meeting-log/blob/master/2025/DevMeeting-2025-04-15.md
-
06:37 AM Feature #21309: Can Thread::Mutex be Ractor shareable?
- > Should I create a ticket here?
You can directly open a PR on https://github.com/ruby/net-http/.
If it doesn't... -
05:04 AM Feature #21309: Can Thread::Mutex be Ractor shareable?
- > Maybe Net::HTTP could use `IO.select`?
That sounds like a good idea and I'd like to try it. I have checked some ... -
06:37 AM Revision 4ef324c7 (git): Added https://bugs.ruby-lang.org/issues/21258 to NEWS.md
- 05:28 AM Revision dcd0a35c (git): Update default gems list at d3c472781dec4fe415203fbb898d8b [ci skip]
-
05:27 AM Revision d3c47278 (git): Replaced CGI.parse with URI.decode_www_form
-
05:27 AM Revision ab19b1f6 (git): Use CGI 0.5.0.beta1
-
05:27 AM Revision 5e1c9067 (git): Added cgi for bundler testing. rack depends cgi/cookie.rb
-
05:27 AM Revision 5aade8a8 (git): Added migration wrapper for cgi.rb and cgi/util.rb
-
05:27 AM Revision ce6c1778 (git): Guard CGI examples with Ruby 3.5 and use cgi/escape for related examples
-
05:27 AM Revision 600c6165 (git): Removed CGI library without CGI::Escape features
-
05:27 AM Revision a61f51f6 (git): Use cgi/escape instead of cgi/util
-
05:27 AM Revision 56423d43 (git): Reduce loading class/module on CGIUtilTest and CGIEscapeTest
-
05:27 AM Revision 382be44f (git): Extract CGIEscapeTest from CGIUtilTest
-
05:27 AM Revision 8a1d4514 (git): Support `require 'cgi/escape'` with extracting CGI::Escape from CGI::Util
-
04:51 AM Revision c6676837 (git): Added instruction for initial setup of depend file
-
04:50 AM Bug #19387: Issue with ObjectSpace.each_objects not returning objects after starting a ractor
- I also ran into this, so I opened an pull request document this behavior.
https://github.com/ruby/ruby/pull/13278 -
03:52 AM Bug #21314 (Open): Kernel#autoload requires the wrong file (?)
- While discussing #21154 with some people at the dev meeting, I found a weird behavior of `Kernel#autoload` that's har...
-
03:43 AM Feature #21274 (Closed): Show performance warnings for easily avoidable unnecessary implicit splat allocations
-
03:18 AM Feature #21274: Show performance warnings for easily avoidable unnecessary implicit splat allocations
- This was discussed at the dev meeting, but @matz was negative about adding this warning. He prefers fluent code over ...
-
03:31 AM Feature #21307 (Assigned): A way to strictly validate time input
-
03:30 AM Feature #21307: A way to strictly validate time input
- Discussed at the dev meeting. This proposal was accepted as `struct: true` keyword argument, like
```ruby
Time.ne... -
03:19 AM Feature #21287: Remove SortedSet autoload and set/sorted_set
- Discussed at the dev meeting, and @matz said "go ahead".
Also available in: Atom