sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.12k stars 1.29k forks source link

insights are not loading post 3.42.1 upgrade #39819

Open michaellzc opened 2 years ago

michaellzc commented 2 years ago

Context

After the 3.42.1 upgrade, we're seeing weird behaviour with a lot of insights. I haven't checked all managed instances, but so far it's happening to demo and https://github.com/sourcegraph/accounts/issues/537. https://sourcegraph.slack.com/archives/CU93UDUBV/p1659440629878789?thread_ts=1659370129.121319&cid=CU93UDUBV

sourcegraph-bot-2 commented 2 years ago

Heads up @joelkw @felixfbecker @vovakulikov @unclejustin - the "team/code-insights" label was applied to this issue.

michaellzc commented 2 years ago

cc @sourcegraph/cloud

michaellzc commented 2 years ago

the insights job is under assumption worker is a singleton service

additionally, worker has no infra to coordinate and persist job across multiple worker instances

workaround: only run one worker replica