Skip to content

docs/executors: Document EXECUTOR_DEPLOY_TYPE - #2190

Draft
marcleblanc2 wants to merge 1 commit into
mainfrom
marc/executor-deploy-type
Draft

marcleblanc2 wants to merge 1 commit into
mainfrom
marc/executor-deploy-type

Conversation

@marcleblanc2

@marcleblanc2 marcleblanc2 commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Problem

We can't tell which customers deploy which kind of executor. Pings report only each executor's runtime mode (docker, firecracker, kubernetes), so the Helm and Kustomize Docker-in-Docker deployments, Docker Compose, and manual Docker installs all report docker, and Helm vs Kustomize, Terraform vs manual installs, or Sourcegraph-managed vs customer-managed executors can't be told apart.

Solution

Document EXECUTOR_DEPLOY_TYPE (sourcegraph#19875):

  • executors-config.mdx: a row for the variable that says which deployments set it, and that pings report any other value as unknown.
  • deploy-executors-binary.mdx: both environment examples set EXECUTOR_DEPLOY_TYPE=binary, since a Linux binary install has no deployment artifact to set it.
  • deploy-executors-binary-offline.mdx: set it to binary-offline.
  • admin/pings.mdx: lists the new ping data.

sourcegraph#19875 makes the same changes to the product docs in sourcegraph/sourcegraph. Merge this after the release that ships sourcegraph#19875; older executors ignore the variable, so the docs are harmless before then.

Test plan

  • Only table rows, list items, and example lines changed; the links point to existing pages and the #general-configuration heading.
  • CI: the broken-links, redirects, spelling, hostnames, and duplicated-content checks pass, and the Vercel preview built.
  • The documented behavior was tested on m5 (EKS) with sourcegraph#19875's images: values in the list are reported as sent, and values outside it (Helm-DinD, my-custom-thing) or unset are reported as unknown.

Linked PRs

Each executor deployment method sets EXECUTOR_DEPLOY_TYPE, the executor sends it to its Sourcegraph instance, and pings report it. Merge in this order:

  1. sourcegraph/analytics#1181: BigQuery update_checks schema field; merge and apply to the live table before #19875 merges
  2. sourcegraph/sourcegraph#19875: executor reads EXECUTOR_DEPLOY_TYPE, instance stores it and reports it in pings; product docs
  3. sourcegraph/deploy-sourcegraph-helm#1032: helm-k8s, helm-dind
  4. sourcegraph/deploy-sourcegraph-k8s#522: kustomize-k8s, kustomize-dind
  5. sourcegraph/deploy-sourcegraph-docker#1513: docker-compose
  6. sourcegraph/terraform-aws-executors#238: terraform-aws
  7. sourcegraph/terraform-google-executors#248: terraform-gcp
  8. sourcegraph/controller#2883: sourcegraph-cloud, for Sourcegraph Cloud-managed executors
  9. sourcegraph/docs#2190: legacy docs site; binary, binary-offline in the Linux binary install examples; merge after the release that ships #19875

3 to 8 can merge in any order once #19875 has merged; older executors ignore the variable.

Amp threads

Changelog

Document EXECUTOR_DEPLOY_TYPE.

Add it to the executor configuration reference and pings list, and set it in the Linux binary install examples.

Amp-Thread-ID: https://ampcode.com/threads/T-01a213e9-c2b8-74e8-960c-9756dee340e8
Co-authored-by: Amp <amp@ampcode.com>
@vercel

vercel Bot commented Nov 25, 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 Nov 25, 2026 7:23pm UTC

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor
Page Before After Diff
/admin/pings prod preview +1
/self-hosted/executors/deploy-executors-binary-offline prod preview −1 +1
/self-hosted/executors/deploy-executors-binary prod preview +2
/self-hosted/executors/executors-config prod preview +1

This branch was successfully deployed

1 active deployment
Preview — 7ca3e7f5 Deployed Nov 25, 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