Merge "Add a new API to fetch reasons why a job may be pending." into main