one hack I do is ask composer to run tests, so that it also sees the test outputs and autocorrects any issues