Skip to content

Cucumber / RSpec / TruffleRuby error in CI: ArgumentError: circular causes #3870

Closed
@luke-hill

Description

@luke-hill

cf: https://github.com/cucumber/cucumber-ruby/actions/runs/15073041019/job/42373911130?pr=1782

I'm not 100% sure of the error because there's not much of a stacktrace. But quite simple tests which pass in all other rubies fail in Truffleruby for some reason.

In TruffleRuby head (2 months ago)

truffleruby 25.0.0-dev-d3120a20, like ruby 3.3.7, GraalVM CE Native [x86_64-linux]

These tests passed

In TruffleRuby today

truffleruby 25.0.0-dev-a65bde3d, like ruby 3.3.7, GraalVM CE Native [x86_64-linux]

These tests fail.

Tests in question are 3 that use the follow snippet style: allow(registry.current_world).to receive(:target) { target }

Any advice / next steps greatly appreciated

Luke - Cucumber Ruby Lead

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions