Skip to content

code insights: add dev option to disable code insights backend entirely

Warren Gifford requested to merge sg/disable-insights-option into main

Created by: slimsag

It seems that for some reason our PostgresDSN code picks up PGDATABASE when in reality it should only be picking up CODEINSIGHTS_PGDATABASE for Garo as seen in this Slack thread.

Probably the underlying pgx driver does this, and we just didn't notice it with codeintel before because it uses the same DB whereas codeinsights does not.

I will fix that, but this option immediately unblocks Garo and others who might run into this - and it's a useful escape hatch anyway.

Signed-off-by: Stephen Gutekanst [email protected]

Merge request reports

Loading