Skip to content

init keyring in workers

Warren Gifford requested to merge nsc/worker-keyring into main

Created by: Strum355

Addresses problem of the following log-spam of the following in production. The codeintel dependency indexing worker job requires access to listing external services, which seems to be what triggers this message. https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/internal/encryption/keyring/ring.go?L42:6#tab=references

Repository authz config was invalid (errors are visible in the UI as an admin user, you should fix ASAP). Restricting access to repositories by default for now to be safe.:
[Could not list external services: couldn't decrypt encrypted config, key is nil]

Merge request reports

Loading