Merge "Record task status if running via CLI"