diff --git a/braintrust/templates/loop-runtime-configmap.yaml b/braintrust/templates/loop-runtime-configmap.yaml index 1d1cab7..3fb36a6 100644 --- a/braintrust/templates/loop-runtime-configmap.yaml +++ b/braintrust/templates/loop-runtime-configmap.yaml @@ -39,7 +39,6 @@ data: BRAINSTORE_CACHE_DIR: /mnt/tmp/brainstore BRAINSTORE_OBJECT_STORE_CACHE_FILE_SIZE: 5Gi BRAINSTORE_OBJECT_STORE_CACHE_MEMORY_LIMIT: 256Mi - LOOP_RUNTIME_MAX_CLAIMED_CONVERSATIONS: "2" LOOP_RUNTIME_SANDBOX_CAPACITY_TARGET_UTILIZATION_PERCENT: {{ maxf 1 (float64 ($autoscaling.targetConversationUtilization | default "50")) | quote }} BRAINSTORE_CONTROL_PLANE_TELEMETRY: {{ list .Values.global.controlPlaneTelemetry "metrics" "traces" | compact | join "," | quote }} NO_COLOR: "1" diff --git a/braintrust/tests/loop-runtime-configmap_test.yaml b/braintrust/tests/loop-runtime-configmap_test.yaml index 3b0154c..8dd59b4 100644 --- a/braintrust/tests/loop-runtime-configmap_test.yaml +++ b/braintrust/tests/loop-runtime-configmap_test.yaml @@ -72,9 +72,8 @@ tests: - equal: path: data.BRAINSTORE_OBJECT_STORE_CACHE_MEMORY_LIMIT value: 256Mi - - equal: + - isNull: path: data.LOOP_RUNTIME_MAX_CLAIMED_CONVERSATIONS - value: "2" - equal: path: data.LOOP_RUNTIME_SANDBOX_CAPACITY_TARGET_UTILIZATION_PERCENT value: "50" diff --git a/braintrust/tests/loop-runtime-deployment_test.yaml b/braintrust/tests/loop-runtime-deployment_test.yaml index 9375c5a..c65394c 100644 --- a/braintrust/tests/loop-runtime-deployment_test.yaml +++ b/braintrust/tests/loop-runtime-deployment_test.yaml @@ -19,10 +19,17 @@ tests: loopRuntime.extraEnvVars: - name: BRAINTRUST_APP_URL value: https://loop-control-plane.example.com + - name: LOOP_RUNTIME_MAX_CLAIMED_CONVERSATIONS + value: "40" asserts: - equal: path: spec.replicas value: 1 + - contains: + path: spec.template.spec.containers[0].env + content: + name: LOOP_RUNTIME_MAX_CLAIMED_CONVERSATIONS + value: "40" - equal: path: spec.strategy value: