Skip to content

Set TELEMETRY_HTTP_PROXY on worker for pings - #2095

Open
enriquegh wants to merge 2 commits into
mainfrom
enrique/pings-proxy-worker
Open

enriquegh wants to merge 2 commits into
mainfrom
enrique/pings-proxy-worker

Conversation

@enriquegh

@enriquegh enriquegh commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

The pings docs say to set TELEMETRY_HTTP_PROXY on sourcegraph-frontend. Since 8.0.0, pings come from the worker service, so setting the variable on the frontend has no effect.

sourcegraph/sourcegraph#15169 (a9ca36a) moved the ping and update check routine to a new update-check worker job. The only tags that contain it are v8.0.0 and v8.1.0. On main and v8.0.0:

Changes

  • Using an HTTP proxy for ping requests: set the variable on worker, with a valid YAML example.
  • Troubleshooting Pings: the intro now describes the update-check worker job (it runs every 30 to 40 minutes, on one replica at a time). The 2022 docker exec sourcegraph-frontend-0 … grep updatecheck goroutine check is replaced by a check that the worker job allow and block lists (the WORKER_JOB_* variables) include update-check. The goroutine is now in internal/pings, and its stack doesn't show updatecheck between runs. The log step now points to the worker logs (updatecheck failed), and the search link to the deleted cmd/frontend/internal/app/updatecheck/client.go is gone.

Backport to the 8.0 docs: sourcegraph/docs-legacy-versions#213.

Test plan

  • Baseline-filtered link check (--check-anchors --check-self-links --check-external): no new dead links.
  • npx cspell@10 docs/admin/pings.mdx: 0 issues.

Amp thread: https://ampcode.com/threads/T-01a145ed-36a6-773b-8610-aae1481725d1

Sourcegraph 8.0 moved the ping and update check routine from
sourcegraph-frontend to the worker's update-check job
(sourcegraph/sourcegraph#15169), so TELEMETRY_HTTP_PROXY only takes
effect on worker. Update the proxy section and the frontend-specific
troubleshooting steps.

Amp-Thread-ID: https://ampcode.com/threads/T-01a145ed-36a6-773b-8610-aae1481725d1
Co-authored-by: Amp <amp@ampcode.com>
@vercel

vercel Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sourcegraph-docs Ready Ready Preview Oct 16, 2026 6:50pm UTC

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Direct preview links to pages changed in this PR:

@github-actions

This comment has been minimized.

This branch was successfully deployed

1 active deployment
Preview — 27eca1aa Deployed Oct 16, 2026 by vercel[bot]
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.

1 participant