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 }}
Repository navigation
Computing units ignore the state clean-up delay set on the deployment #9701
In a Kubernetes deployment, a computing unit drops a run's state and results 30 seconds after nobody views the run and it is not running (web-server.workflow-state-cleanup-in-seconds). application.conf reads this delay from WEB_SERVER_WORKFLOW_STATE_CLEANUP_IN_SECONDS, but a unit only sees the environment variables the computing-unit managing service forwards, and this one is not forwarded. Setting it in texeraEnvVars therefore has no effect on units: results disappear 30 seconds after the user closes the tab, however the deployment is configured.
Before: texeraEnvVars WEB_SERVER_WORKFLOW_STATE_CLEANUP_IN_SECONDS=3600 -> managing service -> unit pod (not set) -> 30 s
After: texeraEnvVars WEB_SERVER_WORKFLOW_STATE_CLEANUP_IN_SECONDS=3600 -> managing service -> unit pod (3600) -> 3600 s
Proposed Solution or Design
Forward WEB_SERVER_WORKFLOW_STATE_CLEANUP_IN_SECONDS from the managing service the same way MAX_WORKFLOW_WEBSOCKET_REQUEST_PAYLOAD_SIZE_KB already is (optionalComputingUnitEnvNames): only when set, trimmed, and otherwise left to application.conf's default of 30 seconds.
Activity
feat(computing-unit-managing-service): forward state clean-up delay (a…