sourcegraph/cmd/syntactic-code-intel-worker
Anton Sviridov db87eb601b
Use correct DSN for schema validation in syntactic worker (#64383)
Connecting to the wrong DSN leads to a cryptic error:

```
      Message:     {"SeverityText":"FATAL","Timestamp":1723196934012096886,"InstrumentationScope":"init db (syntactic-codeintel-worker)","Caller":"shared/shared.go:87","Function":"github.com/sourcegraph/sourcegraph/cmd/syntactic-code-intel-worker/shared.initCodeintelDB","Body":"Failed to connect to codeintel database","Resource":{"service.name":"syntactic-code-intel-worker","service.version":"286647_2024-08-08_5.6-34a7914fb884","service.instance.id":"syntactic-code-intel-worker-7bb9ccc75c-mkzpk"},"Attributes":{"error":"database schema out of date"}}
```

## Test plan
- existing tests should continue to pass


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

## Changelog

<!-- OPTIONAL; info at
https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c
-->
2024-08-09 11:21:33 +01:00
..
shared Use correct DSN for schema validation in syntactic worker (#64383) 2024-08-09 11:21:33 +01:00
BUILD.bazel Revert "Revert "refactor: upgrade to rules_oci 2.0 (2nd attempt)"" (#64354) 2024-08-08 09:00:08 +00:00
CODENOTIFY Batch indexing: syntactic codeintel worker scaffolding (#59747) 2024-01-24 13:04:20 +00:00
image_test.yaml highlighter: Rename scip-treesitter-cli -> scip-syntax (#60077) 2024-02-05 13:15:09 +01:00
main.go Batch indexing: syntactic codeintel worker scaffolding (#59747) 2024-01-24 13:04:20 +00:00
README.md Batch indexing: syntactic codeintel worker scaffolding (#59747) 2024-01-24 13:04:20 +00:00

Syntactic code intel worker

🚧 WORK IN PROGRESS 🚧

Stateless service that handles generating SCIP data for codebases using Tree-sitter for powering syntax-based code navigation.

Design docs (Sourcegraph internal)