Activity
From 08/08/2025 to 08/14/2025
Today
-
06:19 AM Feature #21543 (Open): Point ArgumentError to the call site
- Consider this buggy code:
```ruby
def foo(x, y)
end
foo(1)
```
The resulting error is:
```
$ ruby tes... -
04:54 AM Revision c30d9005 (git): Revert "[DOC] Try the latest RDoc"
- This reverts commit 8f6f9e88c70bbae08b2830d2bec63c89d6367b27.
Confirmed to work as expected, wait until the rdoc is r... -
04:06 AM Revision 21be7417 (git): [DOC] Fix quoting
- 03:52 AM Revision 83a28604 (git): [ruby/resolv] Require rbconfig in resolv.rb
- Uses ::RbConfig::CONFIG['host_os']
Found with ruby --disable-gems -e '...'
https://github.com/ruby/resolv/commit/5a... -
03:39 AM Revision 9b576cd6 (git): Extract `ruby_api_version_name`
-
02:31 AM Bug #21541: make install is failing due to using rdoc repo
- @Eregon,
I'll look at adding a CLI check to CI. - 12:59 AM Revision c8233db2 (git): Ignore net-imap failures on Windows (#14216)
- 12:32 AM Revision cb281653 (git): ZJIT: Enable or remove comments from YJIT (#14214)
08/13/2025
- 10:13 PM Revision c9346a16 (git): [ruby/resolv] win32/resolv: add headers to GetNetworkParams check.
- On 32-bit Cygwin at least, it was failing to find that function,
presumably due to it being stdcall.
Signed-off-by: ... -
08:57 PM Bug #21541: make install is failing due to using rdoc repo
- One idea: probably I should add failures from ruby/ruby-dev-builder as notification to the CRuby Slack in the CI aler...
-
08:53 PM Bug #21541: make install is failing due to using rdoc repo
- @MSP-Greg Could you make a PR adding a CI job to ruby/ruby that `make install` + run that [cli_test.rb](https://githu...
-
01:25 PM Bug #21541 (Open): make install is failing due to using rdoc repo
- Currently, ruby-dev-builder & ruby-loco are failing due to https://github.com/ruby/ruby/commit/8f6f9e88c70bbae, which...
- 08:04 PM Revision 549a326f (git): ZJIT: Implement `StringIntern` codegen (#14207)
- * ZJIT: Add test and implement display for StringIntern HIR
Co-authored-by: Emily Samp <emily.samp@shopify.com>
* Z... - 08:03 PM Revision 2b16f27a (git): ZJIT: Fix `ObjToString` rewrite (#14196)
- ZJIT: Fix ObjToString rewrite
Currently, the rewrite for `ObjToString` always replaces it with a
`SendWithoutBlock(t... -
06:42 PM Revision ff622978 (git): [DOC] Tweaks for GC total time methods
- 06:01 PM Revision 943d9f82 (git): ZJIT: Don't eliminate NewHash with operands
- Hashing and checking operands for equality is re-entrant. We could later
optimize this to check for hash/eq methods o... -
05:54 PM Revision 2083fa89 (git): Implement `gen_fields_tbl` cache
- There is a high likelyhood that `rb_obj_fields` is called
consecutively for the same object.
If we keep a cache of t... -
05:53 PM Revision 10aa4134 (git): imemo_fields: store owner object in RBasic.klass
- It is much more convenient than storing the klass, especially
when dealing with `object_id` as it allows to update th... - 05:52 PM Revision ad12db4b (git): ZJIT: Only validate HIR in debug mode
-
03:40 PM Feature #21542 (Open): logger gem: Context API
- Proposal done as a [github issue](https://github.com/ruby/logger/issues/131) with [WIP implementation](https://github...
-
03:24 PM Revision 31ff07ed (git): Add link to Ruby options doc in help text
- Adds link to https://docs.ruby-lang.org/en/master/ruby/options_md.html in
Ruby help text (-h and --help). -
02:53 PM Revision 7595ac9a (git): [DOC] Tweaks for GC.count
-
02:45 AM Revision 40d07f26 (git): [DOC] Move Therad#join under Thread in NEWS-3.0.0.md
- 12:39 AM Revision df7d9812 (git): ZJIT: Prepare non-leaf calls for SetGlobal (#14197)
- When trace_var is used, setting a global variable can cause exceptions
to be raised. We need to prepare for that.
08/12/2025
- 10:19 PM Revision 1afc07e8 (git): Allow encodings to be autoloaded through transcoding functions
- Make sure VM lock is not held when calling `load_transcoder_entry`, as
that causes deadlock inside ractors. `String#e... -
09:06 PM Revision 31e8a9fc (git): [DOC] Tweaks for GC.latest_gc_info
-
09:04 PM Revision 8b530e12 (git): [DOC] Tweaks for GC.enable
-
09:04 PM Revision b934f989 (git): [DOC] Tweaks for GC.disable
- 08:40 PM Revision 231407c2 (git): ZJIT: Avoid compiling failed ISEQs repeatedly (#14195)
-
07:57 PM Revision 360be94d (git): RTypedData: keep direct reference to IMEMO/fields
- Similar to f3206cc79bec2fd852e81ec56de59f0a67ab32b7 but for TypedData.
It's quite common for TypedData objects to ha... -
07:56 PM Revision 85c52079 (git): set.c: Store `set_table->bins` at the end of `set_table->entries`
- This saves one pointer in `struct set_table`, which would allow
`Set` objects to still fit in 80B TypedData slots eve... -
07:49 PM Feature #17316: On memoization
- ixti (Alexey Zapparov) wrote in #note-14:
> Firstly, rbocop is totally optional. Secondly, even rubocop is suggestin... -
04:30 PM Feature #17316: On memoization
- > > ```
> > def foo
> > if instance_variable_defined?(:@foo)
> > @foo
> > else
> > @foo = Foo.find_b... -
06:08 PM Revision 507b1e4b (git): [ruby/openssl] pkey: skip tests using invalid keys in the FIPS mode
- In OpenSSL's master branch, importing/loading a key in the FIPS mode
automatically performs a pair-wise consistency c... -
05:38 PM Revision 4cf05ea7 (git): Replace stdatomic ops with explicit mem order
- My previous pass missed these atomic operations using operators.
-
05:38 PM Revision cb360b0b (git): Implement rbimpl_atomic_value_load
- This only adds the rbimpl_ version to include/ruby/atomic.h so that it
is not a new public interface.
We were alread... -
05:38 PM Revision 77d29ef7 (git): Convert ATOMIC_LOAD_RELAXED to use new rbimpl_*
-
05:38 PM Revision 1d9f7609 (git): Update rbimpl_atomic_* to all take a memory order
-
05:38 PM Revision 2f95eb4e (git): Rename rbimpl_atomic.*_set to _store
- "store" is the terminology the C11 standard uses, which allows us to use
this as a fallback.
This only changes the p... -
05:32 PM Revision a9230e76 (git): Make Enumerator::Product write-barrier protected
-
05:32 PM Revision 3e1e2bda (git): Make Enumerator::Chain write-barrier protected
-
05:00 PM Revision 998be6b3 (git): ZJIT: Add flag to disable the HIR optimizer (#14181)
- Also add a check in the bisect script that can assign blame to the HIR
optimizer. - 04:54 PM Revision e26ab5db (git): ZJIT: Avoid splitting add_into/sub_into for x86_64 (#14177)
- * ZJIT: Avoid splitting add_into/sub_into
* Require add_into/sub_into to take a Reg -
02:43 PM Revision c5c894c6 (git): [DOC] Markup example code as ruby
-
02:43 PM Revision cefd4a23 (git): [DOC] Use backticks instead of `<tt>` except for nested markups
-
02:43 PM Revision 74b45dc3 (git): [DOC] Use backticks instead of `+` in markdown mode
-
02:43 PM Revision e07510d1 (git): [DOC] Markup constants as code
-
02:43 PM Revision 58dbfe52 (git): [DOC] Fix a typo
-
02:35 PM Revision 8f6f9e88 (git): [DOC] Try the latest RDoc
-
02:33 PM Revision 37e991b0 (git): [DOC] Use the specified revision RDoc
-
02:12 PM Revision 814eaf33 (git): Use rb_gc_mark_and_move for autoload_data
-
02:12 PM Revision 0019e7c7 (git): Use rb_gc_mark_and_move for autoload_const
- 01:24 PM Revision 9fa87a66 (git): CI: ubuntu.yml: Skip user ground id test on ppc64le and s390x
- This is a temporary workaround.
- 01:24 PM Revision 05b654b4 (git): CI: ubuntu.yml: Set HOME env on ppc64le and s390x
- This is a temporary workaround.
- 01:24 PM Revision 099df0b4 (git): CI: ubuntu.yml: Add GitHub Actions s390x case
- Add the s390x case using GitHub Actions ppc64le/s390x service.
https://github.com/IBM/actionspz
We can run the ppc64... -
09:54 AM Revision e2aeb7d9 (git): Use `$(SRC_FILE)` and `$(OS_DEST_FILE)`
- NMake combines VPATH and stem with a backslash. The resulting source
name is embedded verbatim, backslash included, ... -
09:19 AM Revision 401932c1 (git): NMake needs caret to escape a hash sign
-
08:24 AM Bug #21540: prism allows `foo && return bar` when parse.y doesn't
- Right, I understand. `foo && (return bar)` would be allowed, thanks for clarifying (works as expected in prism and pa...
-
08:00 AM Bug #21540: prism allows `foo && return bar` when parse.y doesn't
- It is because of the precedence, and has been since 1.x at least.
-
06:53 AM Bug #21540 (Open): prism allows `foo && return bar` when parse.y doesn't
- Code such as `foo && return bar` has been disallowed in ruby since at least Ruby 2.0. Prism allows it though:
```
... -
07:04 AM Revision 6b2d9ed2 (git): Handle preperly comments in middle of lines in gems/bundled_gems
-
05:11 AM Bug #21111: RbConfig::CONFIG['CXX'] quietly set to "false" when Ruby cannot build C++ programs
- > RbConfig::CONFIG['CXX'] to c++
I like that, a reasonable default. I think that's half the battle. Going the rest... -
02:14 AM Revision 428937a5 (git): [DOC] Fix docs for GC.config
- After commit 61fff8a, GC.config now returns the same hash for getting and
setting. -
02:02 AM Revision 306df129 (git): [DOC] New .md file to replace doc/globals.rdoc
- 01:16 AM Revision f2c7968a (git): [ruby/stringio] Fix test name
- (https://github.com/ruby/stringio/pull/139)
https://github.com/ruby/stringio/commit/0edc8e22da -
12:12 AM Revision 8b1afbc6 (git): CI: Surface Rust warnings on PRs that touch any Rust code
- Rust PRs will have a failed CI step if they trigger any warnings.
This helps us stay on top of warnings from new Rust...
08/11/2025
-
10:53 PM Revision 0070c26a (git): ZJIT: CI: Use Rust version built into GitHub Actions image
- Saves the work of installing Rust for most jobs. Keep a job on each
platform that tests 1.85.0, the minimum supported... - 10:37 PM Revision 4da569b5 (git): [DOC] YJIT: Add YJIT to autolink_excluded_words
- 10:37 PM Revision 39effad4 (git): [DOC] ZJIT: Add ZJIT to autolink_excluded_words
- This tells RDoc to not automatically link to the `ZJIT` module so we
don't need to keep escaping the word ZJIT in the... - 10:36 PM Revision 9fb34f4f (git): ZJIT: Add --zjit-exec-mem-size (#14175)
- * ZJIT: Add --zjit-exec-mem-size
* Add a comment about the limit - 10:07 PM Revision e29d3334 (git): ZJIT: Implement `concatstrings` insn (#14154)
- Co-authored-by: Alexander Momchilov <alexander.momchilov@shopify.com>
-
09:43 PM Feature #17316: On memoization
- marksiemers (Mark Siemers) wrote in #note-12:
> A big motivation for this comes from a recent change to rubocop-rail... -
07:37 PM Feature #17316: On memoization
- I agree with Sebastian that an operator is the best way to keep this code elegant. My proposal is to:
**Introduce a ... - 09:35 PM Revision 4f34eddb (git): YJIT, ZJIT: Fix JITs compiling prelude (#14171)
-
08:27 PM Bug #21151: IO and StringIO raise FrozenError even for read-only methods
- Edit: previously I referred to non-writable state, but in actuality any state of `StringIO` or `IO` should be safe to...
-
08:21 PM Bug #21151: IO and StringIO raise FrozenError even for read-only methods
- > for an IO to be read it has to be writable
In order to read data out of an IO, sure. But the methods I mentioned... - 08:21 PM Revision 31955052 (git): ZJIT: Add compile/profile/GC/invalidation time stats (#14158)
- Co-authored-by: Stan Lo <stan001212@gmail.com>
- 08:18 PM Revision 69686685 (git): ZJIT: Add RubyVM::ZJIT.enabled? (#14159)
- Co-authored-by: Max Bernstein <tekknolagi@gmail.com>
-
07:49 PM Revision 6e3790b1 (git): YJIT: Fix `mismatched_lifetime_syntaxes`, new in Rust 1.89.0
-
07:49 PM Revision 5b956fbf (git): ZJIT: Fix `mismatched_lifetime_syntaxes`, new in Rust 1.89.0
-
07:21 PM Revision c6614d4c (git): YJIT: Fix `mismatched_lifetime_syntaxes`, new in Rust 1.89.0
-
05:07 PM Feature #21539 (Open): Facilitate walking native and interpreter (and jit?) stacks from outside of the ruby process
- While ruby does have a great API for getting stack traces within the ruby processes, as used by profilers like vernie...
-
04:20 PM Bug #21534: ppc64le bootstraptest/test_ractor.rb ractor_port_receive aborted (core dumped)
- I am also seeing the following test failures in the `make test-all` below on GitHub Actions ppc64le 24.04. It seems t...
-
02:20 PM Revision 61fff8a9 (git): Fix return value of setting in GC.config
- gc_config_set returned rb_gc_impl_config_get, but gc_config_get also added
the implementation key to the return value... -
01:26 PM Bug #21538 (Open): initialize_dup not called when duping class/module
- Not sure whether this is expected behaviour or not, but just leaving it here to start the debate on whether callbacks...
-
01:25 PM Revision 4775d1ff (git): Add NODE IN locations
- Add locations to struct `RNode_IN`.
memo:
```bash
> ruby -e 'case 1; in 2 then 3; end' --parser=prism --dump=parset... -
01:25 PM Revision e0b72ad2 (git): [DOC] Update JIT options
-
01:24 PM Revision ad146320 (git): [DOC] Tweaks for GC.config
-
01:24 PM Revision 62b5fe89 (git): [DOC] Tweaks for GC.config
- 01:22 PM Revision c914389a (git): Update string_casecmp.yml
- 01:22 PM Revision 09d6cfc5 (git): Update test_string.rb
- 01:22 PM Revision 5e324ac1 (git): Optimize `str_casecmp` length check using pointer end
-
11:29 AM Revision df11c073 (git): [DOC] Fix `vssetup.cmd` arguments
-
11:29 AM Revision b0a4e239 (git): CI: mingw: Use the official actions for msys2
- Because ruby/setup-ruby is affected to test result.
-
11:29 AM Revision 4adb6f69 (git): CI: mingw: Set up msys2 environment variables
-
11:29 AM Revision a443cd01 (git): CI: mingw: Set `cmd` as the default shell
- It is used in more steps than `sh`.
-
11:29 AM Revision cc4eba00 (git): Win: Use `@` instead of `echo off` in `vssetup.cmd`
- `echo off` affects the batch files called from this file as well.
-
11:29 AM Revision c1f9f0a7 (git): CI: windows: Windows-2019 or earlier no longer used
-
11:29 AM Revision 90f81994 (git): CI: mingw: Tweak misc system & package info
08/10/2025
-
08:57 PM Feature #20205: Enable `frozen_string_literal` by default
- byroot (Jean Boussier) wrote in #note-73:
> it probably doesn't make a huge difference, but your regexp is a bit too... -
05:31 PM Bug #21537 (Open): rb_ractor_sched_barrier_start() hangs on Windows
- The following script hangs at `GC.start` indefinitely. Pressing Ctrl+C on the terminal interrupts the `sleep` and it ...
-
07:46 AM Bug #21535: `NoMethodError` becomes `NameError`when using `...` delegation and method call indirection
- I ran a bisect and as suspected this regression was caused by the forward call optimization in https://github.com/rub...
08/09/2025
-
11:32 AM Revision 2a6345e9 (git): time.c: fix time_mark_and_move when WIDEVALUE_IS_WIDER
- In such case the pointer need to be casted.
-
11:16 AM Revision 77b3495e (git): [ruby/stringio] Adjust indent [ci skip]
- https://github.com/ruby/stringio/commit/ac6292c17f
-
11:12 AM Revision b4d5ebcd (git): [ruby/stringio] Fix SEGV at eof? on null StringIO
- https://github.com/ruby/stringio/commit/29b9133332
-
11:12 AM Revision 31f2d899 (git): [ruby/stringio] Fix SEGV at read/pread on null StringIO
- https://github.com/ruby/stringio/commit/113dd5a55e
- 09:30 AM Revision 23c01139 (git): [ruby/stringio] fix: prevent segfault in StringIO#seek with SEEK_END
- on null device
(https://github.com/ruby/stringio/pull/137)
Fixes segmentation fault when calling `seek` with `SEEK_E... -
03:49 AM Bug #21536 (Closed): ERROR: Error installing tk:
- The tk extension hasn't shipped with Ruby since Ruby 2.4. The correct place to report this would be https://github.co...
-
12:57 AM Bug #21536 (Closed): ERROR: Error installing tk:
- ``` shell
kkar4 :: ~ » pacman -Ss tcl | grep install
extra/tcl 8.6.16-1 [installed]
extra/tk 8.6.16-1 [installed]
... -
02:10 AM Revision 60ca525f (git): [DOC] Array#map! fix to indicate return is self
-
02:10 AM Revision 4209ebb1 (git): [DOC] Array#fill fix to indicate return is self
- doc currently indicates the return value as `new_array` but then in the first sentence explains "always returns +self...
- 02:02 AM Revision 22fe80f2 (git): Fix Typo in Regular Expressions docs (_regexp.rdoc)
- Small fix for a typo in the regular expression docs. The line of code above this change does not produce the output s...
-
01:39 AM Feature #21533: Introduce `Time#am?` and `Time#pm?`
- Using 12pm for noon is indeed bad practice. Using 12am for midnight is even worse practice, because without context i...
-
12:13 AM Revision d80c03d2 (git): Fix id2ref table build when GC in progress
- Previously, if GC was in progress when we're initially building the
id2ref table, it could see the empty table and th...
08/08/2025
-
08:37 PM Bug #21398 (Closed): Ractor.select hangs when multiple threads submit heavy jobs concurrently
- Applied in changeset commit:git|07878ebe787843f510be460738ff02dd883bf9ad.
----------
Fix lock ordering issue for rb_... - 08:37 PM Revision 07878ebe (git): Fix lock ordering issue for rb_ractor_sched_wait() and rb_ractor_sched_wakeup()
- In rb_ractor_sched_wait() (ex: Ractor.receive), we acquire
RACTOR_LOCK(cr) and then thread_sched_lock(cur_th). Howeve... -
08:04 PM Revision e639e5fd (git): Make rb_gc_impl_writebarrier_remember Ractor-safe
- rb_gc_impl_writebarrier_remember is not Ractor safe because it writes to
bitmaps and also pushes onto the mark stack ... -
06:54 PM Revision 0ba488d7 (git): ZJIT: Avoid compiling and direct sends to forwardable ISEQs
- These `...` ISEQs have a special calling convention in the interpreter
and our stubs and JIT calling convention don't... - 06:24 PM Revision eb931a09 (git): ZJIT: Fix "memory operand with non-register base" (#14153)
-
05:56 PM Revision 8eb26ebf (git): ZJIT: Add a graphviz dumper for HIR (#14117)
- This is moderately useful just in stdout (copy and paste into a renderer) but potentially more useful alongside a too...
-
05:06 PM Revision 057d7c1c (git): object_id_to_ref: complete incremental GC before iterating
- Otherwise dealing with garbage objects is tricky.
-
04:02 PM Revision e4b386e0 (git): CI: Remove Strawberry Perl pkg-config
-
04:01 PM Revision 7b5cd5ce (git): Revert "Convert `PKG_CONFIG_PATH` to msys/cygwin path"
- This reverts commit 8e9ea4c202fb104d7c17ad1f3cc59d697120501a.
The environment variable is converted internally. - 03:15 PM Revision c6a27a02 (git): ZJII: Address review feedback
- 03:15 PM Revision 180469a3 (git): ZJIT: Actually kill timed-out process in bisect
- 03:15 PM Revision 0782bd28 (git): ZJIT: Use OptionParser in bisect script
- 03:15 PM Revision fd6d6a45 (git): ZJIT: Use shellwords in bisect script
- 03:15 PM Revision 0b30cf3b (git): ZJIT: Print out command to repro in bisect script
-
01:17 PM Feature #21533: Introduce `Time#am?` and `Time#pm?`
- The current implementation is consistent with strftime:
```rb
noon = Time.new(2025, 1, 1, 12, 0, 0)
midnight = T... -
03:59 AM Feature #21533: Introduce `Time#am?` and `Time#pm?`
- I'm not strongly opposed, but I have a slight doubt about `noon.pm?` returning `true`.
According to NIST, designat... -
03:30 AM Feature #21533: Introduce `Time#am?` and `Time#pm?`
- matheusrich (Matheus Richard) wrote in #note-2:
> @nobu (Nobuyoshi Nakada) totally fair questioning. In fact, my ini... -
11:17 AM Revision a15cf61b (git): Revert "Check if the found pkg-config is usable actually"
- This reverts commit 79d8a3159f60d32396c8281fe438e86ab97e3daa.
The second argument of `find_executable0` in mkmf is `... -
10:39 AM Revision f76ce9fd (git): [ruby/optparse] Use `~/.config` only if `$XDG_CONFIG_HOME` is unset or empty
- https://github.com/ruby/optparse/commit/2f9c7500a3
-
07:55 AM Bug #21535: `NoMethodError` becomes `NameError`when using `...` delegation and method call indirection
- Maybe https://bugs.ruby-lang.org/issues/21196 is of relevance
-
07:42 AM Bug #21535 (Open): `NoMethodError` becomes `NameError`when using `...` delegation and method call indirection
- Consider this code:
```rb
class Test
def foo(...)
nil.foo(...)
end
def foo_indirect
foo
e... - 02:57 AM Revision 3ad26d05 (git): Bump actions/cache in /.github/actions/setup/directories
- Bumps [actions/cache](https://github.com/actions/cache) from 4.2.3 to 4.2.4.
- [Release notes](https://github.com/act...