I got this error running a DevOps system that installs Drupal websites:
In BootstrapHook.php line 36:
Bootstrap failed. Run your command with -vvv for more information
Seems like a composer updates requires to explicit install plugins.
composer config allow-plugins.composer/installers true
composer config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
composer config allow-plugins.cweagans/composer-patches true
composer config allow-plugins.davidbarratt/custom-installer true
composer config allow-plugins.drupal/core-composer-scaffold true
composer config allow-plugins.oomphinc/composer-installers-extender true
So, when run in interactive mode this can break things. More here: