Skip to content

Commit ed0435b

Browse files
Wire runtime idle threshold through runtime-api chart (#637)
* fix: minimize runtime idle chart diff Co-authored-by: openhands <openhands@all-hands.dev> * fix: bump runtime-api chart to 0.3.5 main already released 0.3.4 (Release 1.34.0 / #663), so the idle-threshold template changes need a fresh version bump to pass validate-chart-versions CI. Co-authored-by: openhands <openhands@all-hands.dev> * fix: update openhands chart to use runtime-api 0.3.5, bump to 0.7.34 The Makefile lint target rewrites registry deps to file:// local paths then runs helm package -u. Since runtime-api is now 0.3.5, the openhands chart must reference 0.3.5 so the local file:// resolution succeeds. Chart bumps: openhands 0.7.33 → 0.7.34, runtime-api dep 0.3.4 → 0.3.5. Co-authored-by: openhands <openhands@all-hands.dev> --------- Co-authored-by: openhands <openhands@all-hands.dev>
1 parent 6801f20 commit ed0435b

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

charts/openhands/Chart.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies:
2222
version: 1.9.0
2323
- name: runtime-api
2424
repository: oci://ghcr.io/openhands/helm-charts
25-
version: 0.3.4
25+
version: 0.3.5
2626
- name: automation
2727
repository: oci://ghcr.io/openhands/helm-charts
2828
version: 0.1.10

charts/openhands/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
description: OpenHands is an AI-driven autonomous software engineer
33
name: openhands
44
appVersion: cloud-1.34.0
5-
version: 0.7.33
5+
version: 0.7.34
66
maintainers:
77
- name: rbren
88
- name: xingyao
@@ -38,7 +38,7 @@ dependencies:
3838
condition: replicated.enabled
3939
- name: runtime-api
4040
repository: oci://ghcr.io/openhands/helm-charts
41-
version: 0.3.4
41+
version: 0.3.5
4242
condition: runtime-api.enabled
4343
- name: automation
4444
repository: oci://ghcr.io/openhands/helm-charts

charts/runtime-api/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: runtime-api
33
description: A Helm chart for the FastAPI application
4-
version: 0.3.4 # Change this to trigger a new helm chart version being published
4+
version: 0.3.5 # Change this to trigger a new helm chart version being published
55
appVersion: "1.0.0"
66
dependencies:
77
- name: postgresql

charts/runtime-api/templates/_env.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
- name: {{ $key }}
44
value: {{ $value | quote }}
55
{{- end }}
6+
- name: RUNTIME_IDLE_SECONDS
7+
value: {{ .Values.cleanup.idle_seconds | default 1200 | quote }}
68
- name: RUNTIME_DEAD_SECONDS
79
value: {{ printf "%.0f" .Values.cleanup.dead_seconds | quote }}
810
{{- if .Values.runtimeInSameCluster }}

charts/runtime-api/templates/cleanup-cronjob.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ spec:
3939
value: {{ .Values.database.poolSize.cronjobs | default 2 | quote }}
4040
- name: DB_MAX_OVERFLOW
4141
value: {{ .Values.database.maxOverflow.cronjobs | default 5 | quote }}
42-
- name: RUNTIME_IDLE_SECONDS
43-
value: {{ .Values.cleanup.idle_seconds | default 1800 | quote }}
4442
{{- if .Values.ingressBase.enabled }}
4543
volumeMounts:
4644
- name: ingress-base-config

0 commit comments

Comments
 (0)