Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

insights: frontend startup should not block on codeinsights-db #18388

@emidoots

Description

@emidoots

https://github.com/sourcegraph/sourcegraph/pull/18359

There are a lot of good reasons that the frontend should not wait/block to start up on initializing the codeinsights DB. Instead, the GraphQL API should merely be unavailable until it has initialized.

One great reason for this would be any DB migration we run taking a potentially long time. Another great reason is that if something happens which prevents codeinsights-db from starting up, a user's only recourse currently is to completely disable the code insights backend and we have to later convince them to turn it on (vs. them seeing errors in the web UI.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendAny issue that needs work in the backend to closecode-insightsIssues related to the Code Insights productproduct-stability

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions