Closed
Description
I am working on adding test converation for Ruby 3.4 to OTel Ruby and am running into some issues with our test setup and was wondering if you could take a look
/opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/graphql-2.0.18/lib/graphql/schema/interface.rb:74:in 'GraphQL::Schema::Interface::DefinitionMethods#included': Attach interfaces using `implements(Vehicle)`, not `include(Vehicle)` (RuntimeError)
from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/graphql-2.0.18/lib/graphql/schema/member/has_interfaces.rb:20:in 'Module#include'
from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/graphql-2.0.18/lib/graphql/schema/member/has_interfaces.rb:20:in 'block in GraphQL::Schema::Member::HasInterfaces#implements'
from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/graphql-2.0.18/lib/graphql/schema/member/has_interfaces.rb:9:in 'Array#each'
from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/graphql-2.0.18/lib/graphql/schema/member/has_interfaces.rb:9:in 'GraphQL::Schema::Member::HasInterfaces#implements'
from /home/runner/work/opentelemetry-ruby-contrib/opentelemetry-ruby-contrib/instrumentation/graphql/test/test_helper.rb:49:in '<class:Car>'
from /home/runner/work/opentelemetry-ruby-contrib/opentelemetry-ruby-contrib/instrumentation/graphql/test/test_helper.rb:48:in '<top (required)>'
from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require'
from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
from /home/runner/work/opentelemetry-ruby-contrib/opentelemetry-ruby-contrib/instrumentation/graphql/test/instrumentation/graphql/instrumentation_test.rb:7:in '<top (required)>'
from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require'
from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:21:in 'block in <main>'
from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:6:in 'Array#select'
from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:6:in '<main>'
Should we be setting our test types up differently here?
Metadata
Metadata
Assignees
Labels
No labels