You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.
I suspect that, when we scale down an AC workload in rancher, it terminates the docker container and the rust component of the AC might be terminated first, resulting in an null result in the python AC code, which causes the above code to report an init error.
Suggestion:
Don't submit result in error scenarios
Instead rely on other mechanisms (such as logging errors in rancher) to report AC issues.
I suspect that this line is creating init error results when we scale down workloads in rancher:
aiarena-client/arenaclient/client.py
Line 444 in 3becbf6
I suspect that, when we scale down an AC workload in rancher, it terminates the docker container and the rust component of the AC might be terminated first, resulting in an null result in the python AC code, which causes the above code to report an init error.
Suggestion:
Instead rely on other mechanisms (such as logging errors in rancher) to report AC issues.
https://stackoverflow.com/questions/18499497/how-to-process-sigterm-signal-gracefully
The text was updated successfully, but these errors were encountered: