Skip to content

Computing units ignore the state clean-up delay set on the deployment #9701

Description

@kunwp1

Feature Summary

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.

Variable Config key Default
WEB_SERVER_WORKFLOW_STATE_CLEANUP_IN_SECONDS web-server.workflow-state-cleanup-in-seconds 30

Affected Area

Deployment / Infrastructure

Activity

  1. added theissue type on Nov 26, 2026
  2. added a commit that references this issue on Nov 30, 2026
    b55f048
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions