Every so often I get into a situation where the database doesn’t reflect the build status. For instance, the output of drone build queue currently includes:
But when I do drone build stop PublicI/app-generator 41 I get:
client error 400: Cannot cancel a non-running build
So drone at some level knows it’s not running, but that’s not reflected in the database. In the past, I’ve followed the advice on this forum and manually run an update query on the SQL database to fix the running status. But this keeps happening and I don’t want to do that every time.
It seems like drone should update the build status when it gets stop requests like that.