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: make insightView nullable and return nil if any error during resolving #42301

@coury-clark

Description

@coury-clark

Splitting out from https://github.com/sourcegraph/sourcegraph/issues/38951

When resolving a list of InsightView nodes, do not fail the entire set if any sub object fails and instead return a nil
https://sourcegraph.sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/cmd/frontend/graphqlbackend/insights.graphql?L352&utm_campaign=search&utm_source=raycast-sourcegraph

This is the "simple" solution to errors in the resolver chain breaking all insights from loading, but does not yet address the user interaction problem.

/cc @Joelkw @felixfbecker @vovakulikov

Metadata

Metadata

Assignees

Labels

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

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions