Skip to content

Fix tests that fail on master under Ruby::Box and system RubyGems - #9875

Merged
hsbt merged 2 commits into
masterfrom
claude/quirky-banach-6beaf5
Sep 15, 2026
Merged

hsbt merged 2 commits into
masterfrom
claude/quirky-banach-6beaf5

Conversation

@hsbt

@hsbt hsbt commented Sep 15, 2026

Copy link
Copy Markdown
Member

Two tests merged today fail on master. test_self_dirs_equals_with_unresolved_deps from #9872 asserts on the warning captured by capture_output, but Ruby::Box does not route $stderr reassignment yet (https://bugs.ruby-lang.org/issues/21867), so the RUBY_BOX=1 lane of ruby_core_master sees an empty err. I pend it with pend_for_ruby_box_stdio_capture like the other stdio tests.

The setup_spec.rb example from #9862 expects myrack to be the first CHECKSUMS entry. Under RGV=system bundler runs from an installed gem and also locks its own checksum, which sorts first, so the system RubyGems jobs fail. The assertion now only checks that the myrack entry has no digest.

Generated with Claude Code

hsbt and others added 2 commits September 15, 2026 18:46
It asserts on the warning captured from $stderr, which Ruby::Box does
not capture yet.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
When bundler runs from an installed gem, as under RGV=system, the
lockfile also locks a checksum for bundler itself, which sorts before
myrack.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@hsbt hsbt changed the title Pend the dirs= unresolved deps test under Ruby::Box Fix tests that fail on master under Ruby::Box and system RubyGems Sep 15, 2026
@hsbt
hsbt enabled auto-merge September 15, 2026 10:04
@hsbt
hsbt merged commit 7e21899 into master Sep 15, 2026
113 checks passed
@hsbt
hsbt deleted the claude/quirky-banach-6beaf5 branch September 15, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant