Skip to content

chore: Remove the src debug server command - #1407

Merged
marcleblanc2 merged 1 commit into
mainfrom
marc/remove-debug-server
Nov 11, 2026
Merged

marcleblanc2 merged 1 commit into
mainfrom
marc/remove-debug-server

Conversation

@marcleblanc2

@marcleblanc2 marcleblanc2 commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

src debug server collects debug data from the single-container sourcegraph/server deployment, which was removed in Sourcegraph 7.0. This removes the command, the same way #1376 removed src teams.

src debug compose and src debug kube are unchanged. An instance still on the single container is on 6.x or older, and can use the src-cli release that matches it.

Related: sourcegraph/docs#2148.

Test plan

  • go test ./... and ./dev/go-lint.sh pass.
  • Built the binary: src debug -h lists only kube and compose, and src doc no longer writes debug/server.md.

It collected debug data from the single-container sourcegraph/server
deployment, which was removed in Sourcegraph 7.0.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1c8bb-6fd3-7465-bba1-09f3d978776b
Co-authored-by: Amp <amp@ampcode.com>
@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

@marcleblanc2
marcleblanc2 merged commit 2b065fa into main Nov 11, 2026
11 checks passed
@marcleblanc2
marcleblanc2 deleted the marc/remove-debug-server branch November 11, 2026 04:48
marcleblanc2 added a commit to sourcegraph/docs that referenced this pull request Nov 13, 2026
The single-container Docker deployment (`sourcegraph/server`) was
removed in Sourcegraph 7.0. This removes the pages and sections that
only applied to it.

## Changes

Three pages are deleted, each with a redirect:

| Removed page | Redirects to |
| --- | --- |
| `/self-hosted/deploy/docker-compose/migrate` |
`/self-hosted/deploy/docker-compose` |
| `/self-hosted/ssl-https-self-signed-cert-nginx` |
`/self-hosted/http-https-configuration` |
| `/self-hosted/sourcegraph-nginx-mermaid` |
`/self-hosted/http-https-configuration` |

- **HTTP and HTTPS configuration** now covers only Kubernetes
`ingress-nginx` and Docker Compose with Caddy; the server image's
built-in NGINX is gone.
- **Other pages** lose their `sourcegraph/server` sections and
sentences.
- **Nine dead `contact/sales` links** (404) now point at
`https://sourcegraph.com/contact`. One was on a line this PR rewrites
and failed the broken-links check.

- The migration guide is deleted, not kept. It is still in the 6.12
docs.
- `self-hosted/observability/alerts.mdx` is generated. I removed one
bullet by hand; sourcegraph/sourcegraph#18743 removes it at the source,
so the next docs sync does not bring it back.
- The `src debug server` reference pages stay until
sourcegraph/src-cli#1407 is released.

---------

Co-authored-by: Amp <amp@ampcode.com>
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