sourcegraph/doc/admin/observability
Erik Seliger 83d0f6876c
dotcom: Remove on-demand cloning of repositories (#63321)
Historically, sourcegraph.com has been the only instance. It was
connected to GitHub.com and GitLab.com only.
Configuration should be as simple as possible, and we wanted everyone to
try it on any repo. So public repos were added on-demand when browsed
from these code hosts.

Since, dotcom is no longer the only instance, and this is a special case
that only exists for sourcegraph.com.
This causes a bunch of additional complexity and various extra code
paths that we don't test well enough today.

We want to make dotcom simpler to understand, so we've made the decision
to disable that feature, and instead we will maintain a list of
repositories that we have on the instance.
We already disallowed several repos half a year ago, by restricting size
of repos with few stars heavily.
This is basically just a continuation of that.

In the diff, you'll mostly find deletions. This PR does not do much
other than removing the code paths that were only enabled in dotcom mode
in the repo syncer, and then removes code that became unused as a result
of that.

## Test plan

Ran a dotcom mode instance locally, it did not behave differently than a
regular instance wrt. repo cloning.
We will need to verify during the rollout that we're not suddenly
hitting code paths that don't scale to the dotcom size.

## Changelog

Dotcom no longer clones repos on demand.
2024-06-26 14:53:14 -07:00
..
.gitattributes Add missing .gitattributes files for various generated files (#30092) 2022-01-25 16:36:21 +05:30
alerting_custom_consumption.md monitoring: dashboards reference, refresh observability docs (#16939) 2020-12-23 10:36:41 +08:00
alerting.md monitoring: rebrand PossibleSolutions as NextSteps (#36500) 2022-06-02 10:51:06 -07:00
alerts.md fix(Source): Fix documentation URLs for code hosts help pages (#63274) 2024-06-17 14:32:46 -04:00
BUILD.bazel bzl: fix schema.go not being up todate and still passing (#57308) 2023-10-03 16:40:23 +02:00
dashboards.md dotcom: Remove on-demand cloning of repositories (#63321) 2024-06-26 14:53:14 -07:00
health_checks.md Update health checks docs to include instance version in response (#56435) 2023-09-07 13:34:42 -07:00
index.md Improve readability on small screens and reduce layout shift (#55600) 2023-08-07 08:54:41 -07:00
logs.md doc: update log levels (#56855) 2024-01-30 13:45:16 -08:00
metrics.md Docs: Replace hyphens in text with em-dashes (#42367) 2023-01-31 13:18:49 +01:00
opentelemetry.md Docs update for new Kustomize setup(#47772) 2023-02-23 13:52:41 -08:00
outbound-request-log.md doc: fix bad links (#47866) 2023-02-20 08:12:24 +00:00
tracing.md docs: add more hints to observability docs; add database intellij docs (#62183) 2024-04-30 10:19:13 +02:00
troubleshooting.md Product Education: Rewrite for Overview, Docker Compose, and Docker Single Container to align to new IA and deployment focus (#34715) 2022-05-06 12:54:45 -04:00