RETRY
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 36s
Smoke Test / Run basic test suite (pull_request) Successful in 4m7s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m45s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m0s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m56s

This commit is contained in:
Thomas E Lackey 2024-08-14 21:43:40 -05:00
parent 807c398691
commit c080e50b06

View File

@ -479,13 +479,16 @@ def command( # noqa: C901
f"Found satisfied request for {r.id} at {deployments_by_request[r.id].id}" f"Found satisfied request for {r.id} at {deployments_by_request[r.id].id}"
) )
else: else:
if r.id not in previous_requests: if (
main_logger.log(f"Request {r.id} needs to processed.") r.id in previous_requests
requests_to_execute.append(r) and previous_requests[r.id].get("status", "") != "RETRY"
else: ):
main_logger.log( main_logger.log(
f"Skipping unsatisfied request {r.id} because we have seen it before." f"Skipping unsatisfied request {r.id} because we have seen it before."
) )
else:
main_logger.log(f"Request {r.id} needs to processed.")
requests_to_execute.append(r)
main_logger.log( main_logger.log(
"Found %d unsatisfied request(s) to process." % len(requests_to_execute) "Found %d unsatisfied request(s) to process." % len(requests_to_execute)