Upgrading Discourse before upgrading plugins causes problems

In terms of plugins causing problems, I’m thinking it’s not so much about the upgrade sequence as it is the plugins being installed/enabled at the time of the upgrade.
That is, if the steps were:

  • disable all plugins
  • rebuild
  • upgrade Discourse
  • upgrade plugins
  • enable plugins
  • rebuild

that even if a plugin was broken, Discourse would at least have upgraded successfully.