Skip to content

searcher: use debug server readiness endpoint - #478

Merged
eseliger merged 2 commits into
mainfrom
eseliger/searcher-ready-probe
Sep 4, 2026
Merged

searcher: use debug server readiness endpoint#478
eseliger merged 2 commits into
mainfrom
eseliger/searcher-ready-probe

Conversation

@eseliger

@eseliger eseliger commented Sep 4, 2026

Copy link
Copy Markdown
Member
  • check searcher readiness through the debug server's /ready endpoint
  • use the canonical grpc and http-debug named ports for 3181 and 6060
  • update the searcher Service target ports to match
  • preserve existing readiness thresholds and timing

Mirrors deploy-sourcegraph-helm#938.

Compatibility

Custom consumers that reference the searcher Service ports by their old names (http or debug) must update to grpc or http-debug. Numeric ports remain unchanged.

@eseliger
eseliger marked this pull request as ready for review September 4, 2026 03:32
@eseliger
eseliger requested review from a team and bobheadxi September 4, 2026 03:32
@eseliger
eseliger enabled auto-merge (squash) September 4, 2026 14:57
@eseliger
eseliger disabled auto-merge September 4, 2026 14:57
eseliger added a commit to sourcegraph/deploy-sourcegraph-docker that referenced this pull request Sep 4, 2026
Update the searcher container healthcheck to use its readiness-gated
debugserver endpoint at `http://127.0.0.1:6060/ready` instead of
`http://127.0.0.1:3181/healthz`.

Sister changes:

-
[deploy-sourcegraph-helm#938](sourcegraph/deploy-sourcegraph-helm#938)
-
[deploy-sourcegraph-k8s#478](sourcegraph/deploy-sourcegraph-k8s#478)

### Checklist

* [x] All images have a valid tag and SHA256 sum

### Test plan

- Ran `.buildkite/validate-docker-compose.sh` with Docker Compose
1.29.2; configuration validation passed.
- Ran `yarn -s run prettier --write=false`; formatting passed.
- The coordinated Helm change was validated with a real searcher
container in a disposable kind cluster: Kubernetes marked it Ready and
an in-cluster request to `/ready` returned HTTP 200.
@eseliger
eseliger enabled auto-merge (squash) September 4, 2026 14:58
@eseliger
eseliger merged commit f0a7fd4 into main Sep 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants