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
[BUG] startupProbe failureThreshold missing from templates (Backend and Workflows/Workers)
Description
The Retool Helm Chart (v6.10.3) contains two issues regarding startupProbe implementation that prevent users from configuring a sufficient safety window for long-running startups:
Omitted failureThreshold (Backend): The deployment_backend.yaml template does not include the failureThreshold key. Consequently, Kubernetes defaults to a value of 3, ignoring any user-defined threshold in values.yaml.
Observed Output:
The rendered YAML contains initialDelaySeconds, timeoutSeconds, etc., but is missing the failureThreshold key.
Template Evidence:
In retool/templates/deployment_backend.yaml, the startupProbe block (approx. line 312) lacks a mapping for .Values.startupProbe.failureThreshold.
User-defined startup failure thresholds are ignored. Pods are terminated after 3 failures (Kubernetes default), which is often insufficient for Retool environments performing schema migrations. Users are currently forced to increase the livenessProbe.failureThreshold as a workaround, which reduces the responsiveness of health monitoring during normal operation.
[BUG] startupProbe failureThreshold missing from templates (Backend and Workflows/Workers)
Description
The Retool Helm Chart (v6.10.3) contains two issues regarding
startupProbeimplementation that prevent users from configuring a sufficient safety window for long-running startups:deployment_backend.yamltemplate does not include thefailureThresholdkey. Consequently, Kubernetes defaults to a value of 3, ignoring any user-defined threshold invalues.yaml.startupProbeblock is missing entirely from the templates for Workflows, Workers, and Jobs.Reproduction Steps
1. Verification of missing failureThreshold in Backend
Define a custom
startupProbewith a highfailureThresholdinvalues.yaml:Generate the template and inspect the output:
Observed Output:
The rendered YAML contains
initialDelaySeconds,timeoutSeconds, etc., but is missing thefailureThresholdkey.Template Evidence:
In
retool/templates/deployment_backend.yaml, thestartupProbeblock (approx. line 312) lacks a mapping for.Values.startupProbe.failureThreshold.2. Verification of missing probes in Workflows
Inspect the Workflows deployment template:
Impact
User-defined startup failure thresholds are ignored. Pods are terminated after 3 failures (Kubernetes default), which is often insufficient for Retool environments performing schema migrations. Users are currently forced to increase the
livenessProbe.failureThresholdas a workaround, which reduces the responsiveness of health monitoring during normal operation.Proposed Fix
1. Update Backend Deployment (
templates/deployment_backend.yaml)Include the missing key in the
startupProbedefinition:2. Standardize Other Deployments
Add the complete
startupProbeblock to the following templates to ensure consistency:templates/deployment_workflows.yamltemplates/deployment_workers.yamltemplates/deployment_jobs.yamltemplates/deployment_code_executor.yaml