Skip to content

Commit e58e02a

Browse files
chore: release 0.13.17 (#602)
* add extraEnv for agent products * bump image version * mount /run path
1 parent aac2049 commit e58e02a

File tree

6 files changed

+31
-17
lines changed

6 files changed

+31
-17
lines changed

charts/langsmith/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ maintainers:
55
email: ankush@langchain.dev
66
description: Helm chart to deploy the langsmith application and all services it depends on.
77
type: application
8-
version: 0.13.16
9-
appVersion: "0.13.16"
8+
version: 0.13.17
9+
appVersion: "0.13.18"

charts/langsmith/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
278278
| config.agentBuilder.agent.resources.memoryLimitMb | int | `8192` | |
279279
| config.agentBuilder.agent.resources.memoryMb | int | `4096` | |
280280
| config.agentBuilder.agent.resources.minScale | int | `1` | |
281+
| config.agentBuilder.agent.extraEnv | object | `{}` | Extra env vars for the Agent Builder agent; overrides predefined vars if keys overlap. |
281282
| config.agentBuilder.enabled | bool | `false` | |
282283
| config.agentBuilder.encryptionKey | string | `""` | |
283284
| config.agentBuilder.oauth.githubOAuthProvider | string | `""` | |
@@ -328,6 +329,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
328329
| config.insights.agent.resources.memoryLimitMb | int | `8192` | |
329330
| config.insights.agent.resources.memoryMb | int | `4096` | |
330331
| config.insights.agent.resources.minScale | int | `1` | |
332+
| config.insights.agent.extraEnv | object | `{}` | Extra env vars for the Insights agent; overrides predefined vars if keys overlap. |
331333
| config.insights.enabled | bool | `false` | |
332334
| config.insights.encryptionKey | string | `""` | |
333335
| config.langsmithLicenseKey | string | `""` | |

charts/langsmith/ci/readonly-config-values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,13 +235,17 @@ frontend:
235235
emptyDir: {}
236236
- name: var-run
237237
emptyDir: {}
238+
- name: run
239+
emptyDir: {}
238240
- name: var-lib-nginx
239241
emptyDir: {}
240242
volumeMounts:
241243
- name: tmp
242244
mountPath: /tmp
243245
- name: var-run
244246
mountPath: /var/run
247+
- name: run
248+
mountPath: /run
245249
- name: var-lib-nginx
246250
mountPath: /var/lib/nginx
247251

charts/langsmith/templates/agent-bootstrap/bootstrap-job.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ spec:
101101
"memory_mb": {{ .Values.config.agentBuilder.agent.resources.memoryMb }},
102102
"memory_limit_mb": {{ .Values.config.agentBuilder.agent.resources.memoryLimitMb }},
103103
"min_scale": {{ .Values.config.agentBuilder.agent.resources.minScale }},
104-
"max_scale": {{ .Values.config.agentBuilder.agent.resources.maxScale }}
104+
"max_scale": {{ .Values.config.agentBuilder.agent.resources.maxScale }},
105+
"extra_env": {{ (.Values.config.agentBuilder.agent.extraEnv | default (dict)) | toJson }}
105106
}{{- if .Values.config.insights.enabled }},{{- end }}
106107
{{- end }}
107108
{{- if .Values.config.insights.enabled }}
@@ -115,7 +116,8 @@ spec:
115116
"memory_mb": {{ .Values.config.insights.agent.resources.memoryMb }},
116117
"memory_limit_mb": {{ .Values.config.insights.agent.resources.memoryLimitMb }},
117118
"min_scale": {{ .Values.config.insights.agent.resources.minScale }},
118-
"max_scale": {{ .Values.config.insights.agent.resources.maxScale }}
119+
"max_scale": {{ .Values.config.insights.agent.resources.maxScale }},
120+
"extra_env": {{ (.Values.config.insights.agent.extraEnv | default (dict)) | toJson }}
119121
}
120122
{{- end }}
121123
}

charts/langsmith/templates/frontend/deployment.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,24 @@
4949
{{- include "langsmith.detectDuplicates" $envVars -}}
5050
{{- $volumes := concat .Values.commonVolumes .Values.frontend.deployment.volumes -}}
5151
{{- $volumeMounts := concat .Values.commonVolumeMounts .Values.frontend.deployment.volumeMounts -}}
52-
{{- /* Validate nginx mounts when readOnlyRootFilesystem is enabled */ -}}
52+
{{- /* Validate nginx mounts when readOnlyRootFilesystem is enabled (nginx 1.29+ uses /run/nginx.pid) */ -}}
5353
{{- if .Values.frontend.deployment.securityContext.readOnlyRootFilesystem }}
5454
{{- $hasNginxMount := false }}
5555
{{- $hasVarRunMount := false }}
56+
{{- $hasRunMount := false }}
5657
{{- range $volumeMounts }}
5758
{{- if eq .mountPath "/var/lib/nginx" }}
5859
{{- $hasNginxMount = true }}
5960
{{- end }}
6061
{{- if eq .mountPath "/var/run" }}
6162
{{- $hasVarRunMount = true }}
6263
{{- end }}
64+
{{- if eq .mountPath "/run" }}
65+
{{- $hasRunMount = true }}
66+
{{- end }}
6367
{{- end }}
64-
{{- if not (and $hasNginxMount $hasVarRunMount) }}
65-
{{- fail "ERROR: When frontend.deployment.securityContext.readOnlyRootFilesystem is true, you must mount both /var/lib/nginx and /var/run as writable volumes. Add emptyDir volumes for 'var-lib-nginx' mounted at /var/lib/nginx and 'var-run' mounted at /var/run. See read_only config example." }}
68+
{{- if not (and $hasNginxMount $hasVarRunMount $hasRunMount) }}
69+
{{- fail "ERROR: When frontend.deployment.securityContext.readOnlyRootFilesystem is true, you must mount /var/lib/nginx, /var/run, and /run as writable volumes (nginx 1.29+ writes pid to /run/nginx.pid). Add emptyDir volumes for 'var-lib-nginx', 'var-run', and 'run'. See read_only config example." }}
6670
{{- end }}
6771
{{- end }}
6872
{{- if .Values.frontend.rollout.enabled }}

charts/langsmith/values.yaml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,35 +33,35 @@ images:
3333
aceBackendImage:
3434
repository: "docker.io/langchain/langsmith-ace-backend"
3535
pullPolicy: IfNotPresent
36-
tag: "0.13.16"
36+
tag: "0.13.18"
3737
backendImage:
3838
repository: "docker.io/langchain/langsmith-backend"
3939
pullPolicy: IfNotPresent
40-
tag: "0.13.16"
40+
tag: "0.13.18"
4141
insightsAgentImage:
4242
repository: "docker.io/langchain/langsmith-clio"
4343
pullPolicy: IfNotPresent
44-
tag: "0.13.16"
44+
tag: "0.13.18"
4545
frontendImage:
4646
repository: "docker.io/langchain/langsmith-frontend"
4747
pullPolicy: IfNotPresent
48-
tag: "0.13.16"
48+
tag: "0.13.18"
4949
hostBackendImage:
5050
repository: "docker.io/langchain/hosted-langserve-backend"
5151
pullPolicy: IfNotPresent
52-
tag: "0.13.16"
52+
tag: "0.13.18"
5353
operatorImage:
5454
repository: "docker.io/langchain/langgraph-operator"
5555
pullPolicy: IfNotPresent
5656
tag: "0.1.37"
5757
platformBackendImage:
5858
repository: "docker.io/langchain/langsmith-go-backend"
5959
pullPolicy: IfNotPresent
60-
tag: "0.13.16"
60+
tag: "0.13.18"
6161
playgroundImage:
6262
repository: "docker.io/langchain/langsmith-playground"
6363
pullPolicy: IfNotPresent
64-
tag: "0.13.16"
64+
tag: "0.13.18"
6565
# For production environments, we strongly recommend connecting to a managed PostgreSQL instance instead of using the one provided by the chart.
6666
# Docs: https://docs.langchain.com/langsmith/self-host-external-postgres
6767
postgresImage:
@@ -81,15 +81,15 @@ images:
8181
agentBuilderToolServerImage:
8282
repository: "docker.io/langchain/agent-builder-tool-server"
8383
pullPolicy: IfNotPresent
84-
tag: "0.13.16"
84+
tag: "0.13.18"
8585
agentBuilderTriggerServerImage:
8686
repository: "docker.io/langchain/agent-builder-trigger-server"
8787
pullPolicy: IfNotPresent
88-
tag: "0.13.16"
88+
tag: "0.13.18"
8989
agentBuilderImage:
9090
repository: "docker.io/langchain/agent-builder-deep-agent"
9191
pullPolicy: IfNotPresent
92-
tag: "0.13.16"
92+
tag: "0.13.18"
9393

9494
ingress:
9595
enabled: false
@@ -146,6 +146,7 @@ config:
146146
memoryLimitMb: 8192
147147
minScale: 1
148148
maxScale: 5
149+
extraEnv: {}
149150

150151
# Agent Builder configuration - UI for creating and managing agents
151152
# Requires config.deployment.enabled to be true
@@ -180,6 +181,7 @@ config:
180181
memoryLimitMb: 8192
181182
minScale: 1
182183
maxScale: 5
184+
extraEnv: {}
183185

184186
# -- Salt used to generate the API key. Should be a random string.
185187
apiKeySalt: ""

0 commit comments

Comments
 (0)