Discourse Mentionables main does not work on tests-passed

Discourse Mentionables either has a bug, or is incompatible with the Discourse commit linked below.

Time: 2022-09-28T00:09:49+00:00
Message: Unable to activate signet-0.15.0, because faraday-2.5.2 conflicts with faraday (>= 0.17.3, < 2.0)

Discourse

Branch: tests-passed
SHA: 4c085873e5c4174e876304d8300462fb96a7fd6e

Plugin

Branch: main
SHA: 1859e2657233c650a05170fdcfc8c7e8966b9453

Details

Backtrace:
/usr/local/lib/ruby/site_ruby/2.7.0/rubygems/specification.rb:2288:in raise_if_conflicts' /usr/local/lib/ruby/site_ruby/2.7.0/rubygems/specification.rb:1419:in activate’
/var/www/discourse/lib/plugin_gem.rb:27:in load' /var/www/discourse/lib/plugin/instance.rb:767:in gem’
/var/www/discourse/plugins/discourse-mentionables/plugin.rb:15:in activate!' /var/www/discourse/lib/plugin/instance.rb:670:in instance_eval’
/var/www/discourse/lib/plugin/instance.rb:670:in activate!' /var/www/discourse/lib/plugin_guard/extensions/discourse.rb:20:in block in activate_plugins!’
/var/www/discourse/lib/plugin_guard/extensions/discourse.rb:7:in each' /var/www/discourse/lib/plugin_guard/extensions/discourse.rb:7:in activate_plugins!’
/var/www/discourse/config/application.rb:228:in block in <class:Application>' /var/www/discourse/lib/plugin.rb:19:in initialization_guard’
/var/www/discourse/config/application.rb:227:in <class:Application>' /var/www/discourse/config/application.rb:81:in module:Discourse
/var/www/discourse/config/application.rb:80:in <top (required)>' /var/www/discourse/Rakefile:7:in require’
/var/www/discourse/Rakefile:7:in <top (required)>' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/rake_module.rb:29:in load’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/rake_module.rb:29:in load_rakefile' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:710:in raw_load_rakefile’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:104:in block in load_rakefile' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:186:in standard_exception_handling’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:103:in load_rakefile' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:82:in block in run’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:186:in standard_exception_handling' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:80:in run’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/exe/rake:27:in <top (required)>' /var/www/discourse/vendor/bundle/ruby/2.7.0/bin/rake:25:in load’
/var/www/discourse/vendor/bundle/ruby/2.7.0/bin/rake:25:in <top (required)>' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.3.18/lib/bundler/cli/exec.rb:58:in load’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.3.18/lib/bundler/cli/exec.rb:58:in kernel_load' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.3.18/lib/bundler/cli/exec.rb:23:in run’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.3.18/lib/bundler/cli.rb:483:in exec' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.3.18/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.3.18/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.3.18/lib/bundler/vendor/thor/lib/thor.rb:392:in dispatch’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.3.18/lib/bundler/cli.rb:31:in dispatch' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.3.18/lib/bundler/vendor/thor/lib/thor/base.rb:485:in start’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.3.18/lib/bundler/cli.rb:25:in start' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.3.18/exe/bundle:48:in block in <top (required)>’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.3.18/lib/bundler/friendly_errors.rb:120:in with_friendly_errors' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.3.18/exe/bundle:36:in <top (required)>’
/usr/local/bin/bundle:25:in load' /usr/local/bin/bundle:25:in

So the search for a compatible version set ends where googleauth 1.1.2 is the minimum version that supports faraday 2.5 , and there is no google_drive gem that supports googleauth 1

See unmerged PR at Support googleauth 1.0 by dleavitt · Pull Request #419 · gimite/google-drive-ruby · GitHub

Yep, @angus and I are aware. I was talking about that PR and lack of maintainer action to Angus yday. This will likely require significant refactor to drop the google_drive gem and go with the officially supported API gem directly.

Discourse Mentionables has recovered from this issue.