Managed to reproduce CI failure at https://buildkite.com/rails/rails-nightly/builds/1934#0195ab0e-f238-4e40-8cae-941ddf5cdc20/1166-1176
Steps to reproduce
Install Ruby 3.5.0dev that includes ruby/ruby@6670926
git clone https://github.com/rails/rails/
cd rails/activesupport
bundle install
bin/test test/multibyte_chars_test.rb -n test_should_compute_grapheme_length
Expected behavior
It should pass.
Actual behavior
It fails as follows.
% bin/test test/multibyte_chars_test.rb -n test_should_compute_grapheme_length
Running 90 tests in parallel using 10 processes
Run options: -n test_should_compute_grapheme_length --seed 52859
# Running:
F
Failure:
MultibyteCharsExtrasTest#test_should_compute_grapheme_length [test/multibyte_chars_test.rb:512]:
"त्र".
Expected: 2
Actual: 1
bin/test test/multibyte_chars_test.rb:595
Finished in 0.209643s, 4.7700 runs/s, 38.1601 assertions/s.
1 runs, 8 assertions, 1 failures, 0 errors, 0 skips
%
System configuration
Rails version: main branch
Ruby version: ruby 3.5.0dev (2025-03-21T06:17:15Z master d868922ea8) +PRISM [arm64-darwin24]
Managed to reproduce CI failure at https://buildkite.com/rails/rails-nightly/builds/1934#0195ab0e-f238-4e40-8cae-941ddf5cdc20/1166-1176
Steps to reproduce
Install Ruby 3.5.0dev that includes ruby/ruby@6670926
Expected behavior
It should pass.
Actual behavior
It fails as follows.
System configuration
Rails version: main branch
Ruby version: ruby 3.5.0dev (2025-03-21T06:17:15Z master d868922ea8) +PRISM [arm64-darwin24]