From 66c80d6a3d93882c4aa7892a5235cf5043ea07df Mon Sep 17 00:00:00 2001 From: Casey Brooks Date: Thu, 2 Apr 2026 10:02:09 +0000 Subject: [PATCH 1/8] fix: update threads image tag --- stacks/platform/main.tf | 2 +- stacks/platform/variables.tf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stacks/platform/main.tf b/stacks/platform/main.tf index 0389adaa..d2bdc191 100644 --- a/stacks/platform/main.tf +++ b/stacks/platform/main.tf @@ -3,7 +3,7 @@ locals { resolved_agent_state_image_tag = trimspace(var.agent_state_image_tag) != "" ? var.agent_state_image_tag : format("v%s", var.agent_state_chart_version) resolved_agents_orchestrator_image_tag = trimspace(var.agents_orchestrator_image_tag) != "" ? var.agents_orchestrator_image_tag : var.agents_orchestrator_chart_version resolved_k8s_runner_image_tag = trimspace(var.k8s_runner_image_tag) != "" ? var.k8s_runner_image_tag : var.k8s_runner_chart_version - resolved_threads_image_tag = trimspace(var.threads_image_tag) != "" ? var.threads_image_tag : format("v%s", var.threads_chart_version) + resolved_threads_image_tag = trimspace(var.threads_image_tag) != "" ? var.threads_image_tag : var.threads_chart_version resolved_tracing_image_tag = trimspace(var.tracing_image_tag) != "" ? var.tracing_image_tag : format("v%s", var.tracing_chart_version) resolved_chat_image_tag = trimspace(var.chat_image_tag) != "" ? var.chat_image_tag : var.chat_chart_version resolved_chat_app_image_tag = trimspace(var.chat_app_image_tag) != "" ? var.chat_app_image_tag : var.chat_app_chart_version diff --git a/stacks/platform/variables.tf b/stacks/platform/variables.tf index 02e1777e..af778deb 100644 --- a/stacks/platform/variables.tf +++ b/stacks/platform/variables.tf @@ -44,7 +44,7 @@ variable "k8s_runner_chart_version" { variable "threads_chart_version" { type = string description = "Version of the threads Helm chart published to GHCR" - default = "0.1.1" + default = "0.2.0" } variable "tracing_chart_version" { @@ -189,7 +189,7 @@ variable "k8s_runner_image_tag" { variable "threads_image_tag" { type = string description = "Optional override for the threads image tag" - default = "v0.1.2" + default = "" } variable "tracing_image_tag" { From 1058886ac6c0f0b6319cb0846380ce57c7d0fac9 Mon Sep 17 00:00:00 2001 From: Casey Brooks Date: Thu, 2 Apr 2026 10:42:11 +0000 Subject: [PATCH 2/8] fix: bump threads chart version --- stacks/platform/variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/platform/variables.tf b/stacks/platform/variables.tf index af778deb..de219bc0 100644 --- a/stacks/platform/variables.tf +++ b/stacks/platform/variables.tf @@ -44,7 +44,7 @@ variable "k8s_runner_chart_version" { variable "threads_chart_version" { type = string description = "Version of the threads Helm chart published to GHCR" - default = "0.2.0" + default = "0.3.0" } variable "tracing_chart_version" { From 57277653edc856a87ed3f985bf5ab66274b47beb Mon Sep 17 00:00:00 2001 From: Casey Brooks Date: Thu, 2 Apr 2026 11:15:02 +0000 Subject: [PATCH 3/8] fix: bump threads chart version --- stacks/platform/variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/platform/variables.tf b/stacks/platform/variables.tf index de219bc0..301c1db4 100644 --- a/stacks/platform/variables.tf +++ b/stacks/platform/variables.tf @@ -44,7 +44,7 @@ variable "k8s_runner_chart_version" { variable "threads_chart_version" { type = string description = "Version of the threads Helm chart published to GHCR" - default = "0.3.0" + default = "0.3.1" } variable "tracing_chart_version" { From 83a5b902b847b46a4c40e257f9c283d3149c9149 Mon Sep 17 00:00:00 2001 From: Casey Brooks Date: Thu, 2 Apr 2026 11:28:55 +0000 Subject: [PATCH 4/8] fix: align threads values with chart --- stacks/platform/main.tf | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/stacks/platform/main.tf b/stacks/platform/main.tf index d2bdc191..279ab20d 100644 --- a/stacks/platform/main.tf +++ b/stacks/platform/main.tf @@ -863,14 +863,37 @@ locals { replicaCount = 1 fullnameOverride = "threads" service = { - port = 50051 - } - database = { - url = format("postgresql://threads:%s@threads-db:5432/threads?sslmode=disable", var.threads_db_password) - } - notifications = { - address = "notifications:50051" + ports = [ + { + name = "grpc" + port = 50051 + targetPort = "grpc" + protocol = "TCP" + } + ] } + env = [ + { + name = "GRPC_ADDRESS" + value = ":50051" + }, + { + name = "DATABASE_URL" + value = format("postgresql://threads:%s@threads-db:5432/threads?sslmode=disable", var.threads_db_password) + }, + { + name = "NOTIFICATIONS_ADDRESS" + value = "notifications:50051" + }, + { + name = "IDENTITY_ADDRESS" + value = "identity:50051" + }, + { + name = "AUTHORIZATION_ADDRESS" + value = "authorization:50051" + }, + ] image = { repository = "ghcr.io/agynio/threads" tag = local.resolved_threads_image_tag From eff448fec0b06425d0950c8e445d5b8d6e739329 Mon Sep 17 00:00:00 2001 From: Casey Brooks Date: Thu, 2 Apr 2026 12:40:15 +0000 Subject: [PATCH 5/8] fix: trim threads env defaults --- stacks/platform/main.tf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/stacks/platform/main.tf b/stacks/platform/main.tf index 279ab20d..ea4df496 100644 --- a/stacks/platform/main.tf +++ b/stacks/platform/main.tf @@ -873,10 +873,6 @@ locals { ] } env = [ - { - name = "GRPC_ADDRESS" - value = ":50051" - }, { name = "DATABASE_URL" value = format("postgresql://threads:%s@threads-db:5432/threads?sslmode=disable", var.threads_db_password) From 53ce283eed1461296b90cbf710e612e935ad1bd1 Mon Sep 17 00:00:00 2001 From: Casey Brooks Date: Thu, 2 Apr 2026 13:29:26 +0000 Subject: [PATCH 6/8] fix: drop threads service envs --- stacks/platform/main.tf | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/stacks/platform/main.tf b/stacks/platform/main.tf index ea4df496..73974ebe 100644 --- a/stacks/platform/main.tf +++ b/stacks/platform/main.tf @@ -877,18 +877,6 @@ locals { name = "DATABASE_URL" value = format("postgresql://threads:%s@threads-db:5432/threads?sslmode=disable", var.threads_db_password) }, - { - name = "NOTIFICATIONS_ADDRESS" - value = "notifications:50051" - }, - { - name = "IDENTITY_ADDRESS" - value = "identity:50051" - }, - { - name = "AUTHORIZATION_ADDRESS" - value = "authorization:50051" - }, ] image = { repository = "ghcr.io/agynio/threads" From 2d9544690483d719ca23690bec0cd12c28c695b5 Mon Sep 17 00:00:00 2001 From: Casey Brooks Date: Thu, 2 Apr 2026 13:40:45 +0000 Subject: [PATCH 7/8] chore: bump threads chart --- stacks/platform/variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/platform/variables.tf b/stacks/platform/variables.tf index 301c1db4..3cf5dd72 100644 --- a/stacks/platform/variables.tf +++ b/stacks/platform/variables.tf @@ -44,7 +44,7 @@ variable "k8s_runner_chart_version" { variable "threads_chart_version" { type = string description = "Version of the threads Helm chart published to GHCR" - default = "0.3.1" + default = "0.3.2" } variable "tracing_chart_version" { From 1b53ad3c6e0808d7e75a5a9a3b08ff8b9198d157 Mon Sep 17 00:00:00 2001 From: Casey Brooks Date: Thu, 2 Apr 2026 13:54:58 +0000 Subject: [PATCH 8/8] fix: keep threads env defaults --- stacks/platform/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/platform/main.tf b/stacks/platform/main.tf index 73974ebe..845b149e 100644 --- a/stacks/platform/main.tf +++ b/stacks/platform/main.tf @@ -872,7 +872,7 @@ locals { } ] } - env = [ + extraEnvVars = [ { name = "DATABASE_URL" value = format("postgresql://threads:%s@threads-db:5432/threads?sslmode=disable", var.threads_db_password)