Project

General

Profile

Revision:

Revisions

# Date Author Comment
928fea3b 09/10/2025 09:41 AM peterzhu2118 (Peter Zhu)

Fix crash when $LOADED_FEATURES is modified during require

[Bug #21567]

When we require an object that is not a string, it will attempt to convert
it to a string by calling to_str on it. If we modify the $LOADED_FEATURES
array while it calls to_str, Ruby can crash because it can end up inserting...

624538ba 09/10/2025 07:45 AM nobu (Nobuyoshi Nakada)

dtoa.c: Check integer underflow

Reported at https://hackerone.com/reports/3288162

This underflow does not occur in Ruby because:

  • This function is static and not accessible other than from ruby
    internal.

  • Ruby uses mode 0 when calling this function directly....

f047174c 09/10/2025 06:34 AM nobu (Nobuyoshi Nakada)

dtoa.c: Check memory allocation failures

d0c966ad 09/10/2025 06:34 AM nobu (Nobuyoshi Nakada)

dtoa.c: Extract macro to update 5powers Bigint cache atomically

0887d824 09/10/2025 06:34 AM nobu (Nobuyoshi Nakada)

dtoa.c: Add shortcut if arguments are zero

6a4222f4 09/10/2025 05:38 AM git[bot]

Update default gems list at 6c9a0173332121f15fa0c654b1a728 [ci skip]

6c9a0173 09/10/2025 05:37 AM hsbt (Hiroshi SHIBATA)

[ruby/fcntl] Bump up to v1.3.0

https://github.com/ruby/fcntl/commit/13d8aa4785

37884c4a 09/10/2025 04:42 AM tenderlovemaking (Aaron Patterson)

[ruby/fcntl] Add macOS specific flags around file preallocation

I wanted to use file preallocation with fcntl, but the flags weren't
available. This commit just adds the missing flags.

https://github.com/ruby/fcntl/commit/7d4ab83a84

8f040a57 09/09/2025 09:17 PM k0kubun (Takashi Kokubun)

ZJIT: Resurrect --seed to stabilize CI (#14489)

a734c04b 09/09/2025 08:48 PM k0kubun (Takashi Kokubun)

Revert "ZJIT: Resurrect --seed to stabilize CI"

This reverts commit 9d0b621b051c0f3cc356c9bedf081456f1d7dfd6.

It didn't work for make check. I'll fix it in a PR.

9d0b621b 09/09/2025 08:40 PM k0kubun (Takashi Kokubun)

ZJIT: Resurrect --seed to stabilize CI

ref: https://github.com/ruby/ruby/pull/14459

d14b4a70 09/09/2025 08:25 PM Stan Lo

ZJIT: Remove unneeded omission for optional param test (#14488)

138451f8 09/09/2025 08:22 PM k0kubun (Takashi Kokubun)

Notify ZJIT CI failures

72c7d9f4 09/09/2025 06:07 PM peterzhu2118 (Peter Zhu)

Update JIT bindings

82d62d4b 09/09/2025 06:07 PM peterzhu2118 (Peter Zhu)

Remove unused fields from iseq_inline_constant_cache_entry

9e3a1622 09/09/2025 05:33 PM burdettelamar (Burdette Lamar)

[DOC] Tweaks for String#lstrip!

d524e795 09/09/2025 04:27 PM k0kubun (Takashi Kokubun)

ZJIT: Implement getblockparamproxy (#14483)

Co-authored-by: Alan Wu

f7fe4361 09/09/2025 03:58 PM altxtech (André Soares)

ZJIT: Optimize ObjToString with type guards (#14469)

  • failing test for ObjToString optimization with GuardType

  • profile ObjToString receiver and rewrite with guard

  • adjust integration tests for objtostring type guard optimization

  • Implement new GuardTypeNot HIR; objtostring sends to_s directly on profiled nonstrings...

fe362beb 09/09/2025 03:55 PM dodecadaniel (Daniel Colson)

ZJIT: Avoid mutating string in zjit stats (#14485)

[ZJIT] Avoid mutating string in zjit stats

GitHub runs with a Symbol patch that causes a frozen string error when
running --zjit-stats

Class Symbol
  alias_method :to_s, :name
end

I remember hearing that Shopify runs a similar patch, and that we might...

ce94add7 09/09/2025 09:29 AM peterzhu2118 (Peter Zhu)

Fix global variable counter for alias

If we alias two variable multiple times, for example like this:

alias $foo $bar
alias $foo $bar

Then we will increment the counter for entry2->var->counter each time,
which is not correct because we are not adding more references to...

5c98b899 09/09/2025 04:53 AM dependabot[bot]

Bump actions/github-script from 7.0.1 to 8.0.0

Bumps actions/github-script from 7.0.1 to 8.0.0.

89bce815 09/09/2025 04:01 AM dependabot[bot]

Bump actions/checkout from 4 to 5

Bumps actions/checkout from 4 to 5.


updated-dependencies:...

27d9c67b 09/09/2025 03:22 AM dependabot[bot]

Bump actions/checkout in /.github/actions/setup/directories

Bumps actions/checkout from 4.2.2 to 5.0.0.

8d791875 09/08/2025 11:18 PM peterzhu2118 (Peter Zhu)

Fix undefined behaviour in rb_alias_variable

entry1 is allocated using xmalloc (through ALLOC), which returns undefined
memory. We never set the ractor_local field, so the value is undefined.

ecebf168 09/08/2025 08:30 PM k0kubun (Takashi Kokubun)

YJIT: Add more information to an assert message (#14481)

YJIT: Add more information to an assert message in jit_guard_known_class (#14480)


Co-authored-by: Alan Wu

600dc9cf 09/08/2025 08:29 PM k0kubun (Takashi Kokubun)

YJIT: Make the workflow names consistent with file names

a3eb4601 09/08/2025 08:11 PM k0kubun (Takashi Kokubun)

ZJIT, YJIT: Make the workflow names consistent with file names (#14462)

ZJIT, YJIT: Make the workflow names consistent

with file names

4263b7eb 09/08/2025 07:11 PM rwstauner (Randy Stauner)

ZJIT: Add RubyVM::ZJIT.reset_stats! method (GH-14479)

This allows for more precise tracking of stats programmatically
which is particularly useful for our nightly benchmarking suite.

  • Define rust function
  • Expose to C
  • Wrap with Ruby API
  • Add a test
80079ba4 09/08/2025 06:56 PM aidenfoxivey-shop (Aiden Fox Ivey)

ZJIT: Fix 30k if stmt test (#14446)

  • ZJIT: Allow label generation above 19 bits

  • Refactor emit_conditional_jump to use generate_branch

  • Make branching functionality generic across Label and CodePtr

  • ZJIT: Add > 19 bit jump test and helper function
    ...

1b95afde 09/08/2025 06:52 PM k0kubun (Takashi Kokubun)

YJIT: Add more information to an assert message in jit_guard_known_class (#14480)

  • YJIT: Add more information to an assert message

in jit_guard_known_class

  • Say "should be a heap object" instead

Co-authored-by: Alan Wu ...

866e474a 09/08/2025 04:50 PM k0kubun (Takashi Kokubun)

ZJIT: Fix backtraces on opt_new (#14461)

5ee083c7 09/08/2025 04:33 PM byroot (Jean Boussier)

Bump ABI version

Followup changes in https://github.com/ruby/ruby/pull/14470 /
03c86b053197f3cd6bece1925e634c1d74d196d0

41b11a35 09/08/2025 03:53 PM rwstauner (Randy Stauner)

ZJIT: Add --zjit-stats=quiet option to collect stats without printing (#14467)

Similar to YJIT's --yjit-stats=quiet, this option allows ZJIT to collect
statistics and make them available via the Ruby API without printing them
at exit. This is useful for programmatic access to stats without the...

08091ade 09/08/2025 02:22 PM byroot (Jean Boussier)

Add spec for missing or faulty to_proc methods

Followup: https://github.com/ruby/ruby/pull/14463

ac24f70f 09/08/2025 12:06 PM nobu (Nobuyoshi Nakada)

Align the conditions for did_you_mean

Probably due to the testing order, sometimes it looks like that
Gem::UnknownCommandError happens to be used without registered in
DidYouMean.

7c5ddb79 09/08/2025 12:04 PM nobu (Nobuyoshi Nakada)

Remove debug code

  • Revert "Debug: More inspections"
    e5a6e952467eef5444eaf63b77d8c91aa367d4de.

  • Revert "Debug for sporadical failures on RubyCI"
    7cafc61e7df044644f47937694c46835c316e86b.

03c86b05 09/08/2025 11:24 AM byroot (Jean Boussier)

Move IS_TYPED_DATA in RBasic.flags

Ref: https://github.com/ruby/ruby/pull/14134#issuecomment-3207733725

We can't safely use low-bit pointer tagging anymore because RTypedData.type
lines up with RData.dfree and there is no aligment guarantee on function...

e5a6e952 09/08/2025 10:23 AM nobu (Nobuyoshi Nakada)

Debug: More inspections

7cafc61e 09/08/2025 09:09 AM nobu (Nobuyoshi Nakada)

Debug for sporadical failures on RubyCI

1e7ee6a4 09/07/2025 03:41 PM David Rodríguez

[DOC] Improve format specification docs

One example to describe how * works actually prints a warning:

$ ruby -we "sprintf('%d', 20, 14)"
=> -e:1: warning: too many arguments for format string

I think it's better to not use examples that print warnings, so I...

6cd98c24 09/07/2025 03:23 PM YO4 (Yoshinao Muramatsu)

Allow IO#each_codepoint to work with unetc even when encoding conversion active

Using IO#each_codepoint together with IO#ungetc causes an unwanted exception when encoding conversion is active.

C:>ruby -e "open('NUL', 'rt') { |f| f.ungetc('aa'); f.each_codepoint { |c| p c }}"...

85bd3fb8 09/07/2025 01:41 AM nobu (Nobuyoshi Nakada)

sync_default_gems.rb: Support log.showSignature case

953e1ef9 09/06/2025 03:52 PM jeremyevans (Jeremy Evans)

Make invalid & operator type error message consistent with /*

If #to_proc is defined, this uses the following error message format,
matching the error message format used for * when to_a returns non-Array
and for ** when to_hash returns non-Hash:

can't convert ClassName to Proc (ClassName#to_proc gives OtherClassName)...
5c875519 09/06/2025 03:01 PM nobu (Nobuyoshi Nakada)

Refine use of Pathname::SEPARATOR_PAT

  • Remove unnecessary string interpolations.
  • /#{SEPARATOR_PAT}/o is always same as SEPARATOR_PAT Regexp.
1a8536cc 09/06/2025 01:42 PM nobu (Nobuyoshi Nakada)

Transform the manpages using the given substitution

de1feea7 09/06/2025 12:57 PM nobu (Nobuyoshi Nakada)

Increase the rehearsal count

c0d16806 09/05/2025 10:17 PM burdettelamar (Burdette Lamar)

[DOC] Fix link

6fe76261 09/05/2025 10:17 PM burdettelamar (Burdette Lamar)

[DOC] Fix link in Regexp

72ddfc13 09/05/2025 10:08 PM k0kubun (Takashi Kokubun)

ZJIT: Fix tests for ZJIT (#14460)

8aa885c4 09/05/2025 09:18 PM k0kubun (Takashi Kokubun)

test_gem_command_manager.rb: Fix the environment variable

The previous one failed:
https://github.com/ruby/ruby/actions/runs/17504307509/job/49724437021

$GITHUB_ACTION_REPOSITORY points to the owner of the action,
so it might not be ruby/ruby.

(51-100/110596) Per page: 50, 100, 200, 500

Also available in: Atom