Repository navigation
Conversation
Symbol#to_s returning a frozen String (jruby#10117) and frozen Regexp instances (jruby#10128) are merged, so the specs tagged "fixed by" those pull requests pass now. TestMarshalFreeze#test_extend_string, test_string_ivar, test_string_subclass, test_string_subclass_cycle and test_string_subclass_extend, and TestMarshalFreezeProc#test_extend_string pass too, after jruby#10167 (singleton_class only refused for deduplicated Strings). Checked with tool/audit_mri_excludes in int and jit modes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Found with mspec tag --del fails over :fast, then each changed spec file was run with mspec ci in the default mode, -X-C, -Xjit.threshold=0 and (language and core) -Xparser.prism -Xparser.prism.wasm, twice for default and jit. A tag stays if its example failed in any of those runs, or if the tag is for another platform or for CI (FreeBSD, OpenBSD, GHA, timeouts) or depends on the environment (sockets, signals, require of C extensions, Kernel#system, Etc.getlogin, Fiddle). Only macOS was checked locally. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first CI run showed two of the removed tags are still needed:
the {m,n}+ possessive Regexp spec fails when specs run repeatedly
(jruby#8938), and IO#seek with ungotten characters fails on Windows and
with the WASM Prism parser on Linux.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Dec 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@headius asked for this in #10117 (comment): remove excludes and tags that pass now that #10117, #10128 and #10167 are merged.
Changes
Three commits:
fixed by #10117/fixed by #10128(Symbol#to_sfrozen;Regexp.new/compile/#initializefrozen; 2Marshal.loadRegexp specs)TestMarshalFreezetest_extend_string,test_string_ivar,test_string_subclass,test_string_subclass_cycle,test_string_subclass_extend, andTestMarshalFreezeProc#test_extend_stringfailstags whose examples pass on macOS (try_convertTypeErrors,String#to_f,sprintf%c,itparameter,Encodingaliases,Thread#thread_variable_set, and others). Easier to review separately.{m,n}+possessive Regexp spec fails when specs run repeatedly (Regex caching prevents repeated warnings #8938), andIO#seekwith ungotten characters fails on Windows and with WASM Prism. So 102 tags are removed in total.Testing
mspec tag --del failsover:fast, then every changed spec file was run withmspec ciin the default mode,-X-C,-Xjit.threshold=0, and (for language/core)-Xparser.prism -Xparser.prism.wasm, with default and JIT run twice. Any tag whose example failed in one of those runs stays. That keptArray#pack 'U'nil,define_methodbreak/next,Literal Ranges(JIT transition may recreate once-only literal values #8030), and four Prism WASM ones.require,Kernel#system,Etc.getlogin, Fiddle). I only ran this on macOS. The first CI run found the two tags in commit 3. Compared withruby-4.1CI at a3434dd (run 47223574024), no other example fails. The spec jobs that are still red (spec:ruby:fast,spec:ruby:fast:jit, FreeBSD, OpenBSD, Windows, WASM Prism) fail the same way onruby-4.1itself:Method#parameterswith&nil, the WASM-onlyfordestructuring spec, and thespec:ruby:fast:jitjobs stop after theGC.configspecs.bin/jruby tool/audit_mri_excludes -m int|jit -r 2for TestEval, TestMarshal (and Freeze/FreezeProc), TestPack, TestRegexp, TestString, TestString2, TestSymbol and TestStruct. Only the 6 excludes above passed in both modes. I keptTestEval#test_eval_location_binding, which passes on macOS but is excluded for Linux GHA JIT, andTestRegexp#test_once_multithread, which passes in JIT only.Not in this PR
TestEval#test_fstring_instance_evalstill fails onruby-4.1. The fix (Evaluate instance_eval on a Float or deduplicated String without a singleton class #10184) isn't merged forward yet. Remove #8638 excludes that pass on master #10222 removes this exclude onmaster, where the 10.0 merge brought it back.test_hash_subclass_extendonjruby-10.0.🤖 Generated with Claude Code