Nope, still successful.
Just to verify that the plugin code is loaded I used “puts DiscourseKofi::Engine.to_s” and it printed the name. But when I referenced the class which would create a database connection “puts DiscourseKofi::Admin::AccountsController.to_s” it finally failed.
So it looks like it does not fully load the plugin code locally as it does in the Github Action.
The full failing command:
LOAD_PLUGINS=1 SKIP_DB_AND_REDIS=1 DISCOURSE_DEV_DB=nonexistent bin/rails runner "puts DiscourseKofi::Admin::AccountsController.to_s"
without LOAD_PLUGINS=1 or using RAILS_DB=nonexistent did not result in a failure