Merge "Add a flag for the new getPendingJobReasonsHistory API." into main