state file logging
Some checks failed
Lint Checks / Run linter (pull_request) Failing after 35s
Smoke Test / Run basic test suite (pull_request) Successful in 4m39s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m48s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m21s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m31s

This commit is contained in:
Thomas E Lackey 2024-08-14 16:06:00 -05:00
parent be69f4d670
commit 49c97def6f

View File

@ -274,8 +274,11 @@ def command(ctx, kube_config, laconic_config, image_registry, deployment_parent_
dump_known_requests(state_file, requests)
return
if state_file:
main_logger.log(f"Loading known requests from {state_file}...")
previous_requests = load_known_requests(state_file)
else:
previous_requests = {}
# Collapse related requests.
requests.sort(key=lambda r: r.createTime)