Merge "Ensure thermal restriction is included in getJobPendingReasons API." into main