sourcegraph/cmd/frontend
Ólafur Páll Geirsson 7bc210bd4e Cody: add support for neovim, cody-cli, eclipse, and visualstudio clients (#63851)
Fixes CODY-2884

Previously, the server could respond with a 406 error when encountering
clients with the following names: cody-cli, eclipse, and visualstudio.
This error seems to only happen for enterprise clients. This PR fixes
the problem by adding special cases for these clients like we already
have for jetbrains and cody web.

<!-- PR description tips:
https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e
-->

## Test plan

See updated test case.
<!-- REQUIRED; info at
https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles
-->

## Changelog

- Fix HTTP 406 error when using the Neovim Cody plugin with Enterprise
instances
<!-- OPTIONAL; info at
https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c
-->
2024-07-16 15:31:58 +02:00
..
auth auth: Make username from email deduplication dotcom only (#62747) 2024-05-17 14:56:42 +02:00
backend rcache: Explicitly pass redis pool to use (#63644) 2024-07-10 01:23:19 +02:00
dotcomproductsubscriptiontest feat/enterprise-portal: ConnectRPC layer for {Get/List}CodyGatewayAccess (#62771) 2024-05-27 13:39:57 -07:00
enterprise chore: centralize logic for disabling Batch Changes on dotcom (#63370) 2024-06-24 08:37:45 -07:00
envvar Move dotcom check out of cmd/frontend (#60810) 2024-03-04 16:05:16 +00:00
external fix/telemetry(auth): return authenticated context from session.SetActorFromUser (#62701) 2024-05-15 16:48:42 -07:00
globals chore: Simplify Branding (#61905) 2024-04-16 09:33:03 +02:00
graphqlbackend docs: Fix inaccuracies in RangeInput GraphQL docs (#63640) 2024-07-10 09:47:10 +00:00
hubspot chore: remove obsolete tracking code for Cody App downloads (#63364) 2024-06-23 21:48:31 -07:00
internal Cody: add support for neovim, cody-cli, eclipse, and visualstudio clients (#63851) 2024-07-16 15:31:58 +02:00
oneclickexport dotcom: Remove on-demand cloning of repositories (#63321) 2024-06-26 14:53:14 -07:00
registry Move dotcom check out of cmd/frontend (#60810) 2024-03-04 16:05:16 +00:00
shared feat(cody): Expose Sg modelconfig data via HTTP REST API (#63604) 2024-07-03 10:07:33 -07:00
webhooks webhooks: Add support for secrets for Bitbucket Cloud (#63198) 2024-06-18 11:54:01 +02:00
BUILD.bazel omit go:embed of big assets from sg start single-program-experimental-blame-sqs (#63477) 2024-06-25 23:08:53 +00:00
image_test.yaml Switch to OCI/Wolfi based image (#52693) 2023-06-02 12:12:52 +02:00
main.go omit go:embed of big assets from sg start single-program-experimental-blame-sqs (#63477) 2024-06-25 23:08:53 +00:00
README.md

frontend

The frontend serves our web application and hosts our GraphQL API.

Typically there are multiple replicas running in production to scale with load.

Application data is stored in our PostgreSQL database.

Session data is stored in the Redis store, and non-persistent data is stored in the Redis cache.