[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 6 commits: Adjust releaseCapability_ precondition to allow cap->running_task == NULL