Skip to content

Rewrite precise-code-intel-api-server in Go

Administrator requested to merge port-precise-code-intel-api-to-go into master

Created by: efritz

This is a rewrite of the precise-code-intel-api-server in Go. This does not change the current entrypoints as we're not ready to switch to the new code yet. I am planning on manually testing requests against the old and new servers to ensure the behavior is the same during usage. A follow-up PR(s) will remove the old code and switch to the new code in build and deployment environments.

This new code is fairly well tested (api: 86.3% coverage, bundles: 84.3% coverage, and db: 83.6% coverage). The server code will be more fully tested before it replaces the existing TypeScript code.

This new code needs to emit metric, add tracing to requests, and wrap errors properly before being considered ready for production.

Opening PR now for discussion as it's a large chunk of code. This effort is tracked in https://github.com/sourcegraph/sourcegraph/issues/9963.

Merge request reports

Loading