From 3206cbf220731eea2eadd47d62ca5cbad61635c2 Mon Sep 17 00:00:00 2001 From: Erik Seliger Date: Sat, 5 Sep 2026 10:57:35 +0000 Subject: [PATCH 1/2] chore/deploy: use debugserver for precise worker health The precise code intel worker already exposes readiness on its debugserver. Point the Compose healthcheck there so the redundant application health listener can be removed. Amp-Thread-ID: https://ampcode.com/threads/T-01a0711c-d0c8-73ba-a343-5d5f8b76841b Co-authored-by: Amp --- docker-compose/docker-compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose/docker-compose.yaml b/docker-compose/docker-compose.yaml index c6bd70be..47ff4d02 100644 --- a/docker-compose/docker-compose.yaml +++ b/docker-compose/docker-compose.yaml @@ -315,7 +315,7 @@ services: # Description: Handles conversion of uploaded precise code intelligence bundles. # - # Ports exposed to other Sourcegraph services: 3188/TCP + # Ports exposed to other Sourcegraph services: 6060/TCP # Ports exposed to the public internet: none # precise-code-intel-worker: @@ -329,7 +329,7 @@ services: - 'PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT=http://blobstore:9000' - 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' healthcheck: - test: "wget -q 'http://127.0.0.1:3188/healthz' -O /dev/null || exit 1" + test: "wget -q 'http://127.0.0.1:6060/ready' -O /dev/null || exit 1" interval: 5s timeout: 5s retries: 3 From 4895fb2cee713fdda12deaa2a6eaa352a01a4a3d Mon Sep 17 00:00:00 2001 From: Erik Seliger Date: Sat, 5 Sep 2026 11:10:02 +0000 Subject: [PATCH 2/2] chore/deploy: use debugserver for syntactic worker health The syntactic code intel worker already exposes readiness on its debugserver. Point the Compose healthcheck there so the redundant application health listener can be removed. Amp-Thread-ID: https://ampcode.com/threads/T-01a0711c-d0c8-73ba-a343-5d5f8b76841b Co-authored-by: Amp --- docker-compose/docker-compose.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docker-compose/docker-compose.yaml b/docker-compose/docker-compose.yaml index 47ff4d02..6890f3ee 100644 --- a/docker-compose/docker-compose.yaml +++ b/docker-compose/docker-compose.yaml @@ -366,7 +366,7 @@ services: # Description: High level syntax analysis # # Disk: none - # Ports exposed to other Sourcegraph services: 3188/TCP + # Ports exposed to other Sourcegraph services: 6060/TCP # Ports exposed to the public internet: none # syntactic-code-intel-worker: @@ -379,9 +379,8 @@ services: - 'PRECISE_CODE_INTEL_UPLOAD_BACKEND=blobstore' - 'PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT=http://blobstore:9000' - 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' - - 'SYNTACTIC_CODE_INTEL_WORKER_ADDR=:3288' healthcheck: - test: "wget -q 'http://127.0.0.1:3288/healthz' -O /dev/null || exit 1" + test: "wget -q 'http://127.0.0.1:6060/ready' -O /dev/null || exit 1" interval: 5s timeout: 15s retries: 3