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

insights: added graphQL arguments to filter an insights query #23256

Merged
merged 4 commits into from
Jul 27, 2021

Conversation

coury-clark
Copy link
Contributor

Closes #23236

Adds a very basic regex filtering to the current insights GraphQL query that operates on include / exclude. The performance isn't amazing because this doesn't reduce the cross-join happening, but it isn't significantly worse (marginally worse on my laptop).

I have some tests on another branch that for some reason are behaving weirdly. I wanted to get this out to unblock the frontend folks and will add those back in tomorrow.

@coury-clark coury-clark requested review from emidoots and efritz July 26, 2021 23:32
@coury-clark coury-clark self-assigned this Jul 26, 2021
@coury-clark coury-clark added the code-insights Issues related to the Code Insights product label Jul 26, 2021
@sourcegraph-bot
Copy link
Contributor

sourcegraph-bot commented Jul 26, 2021

Notifying subscribers in CODENOTIFY files for diff 1a19d3c...77a3bde.

Notify File(s)
@felixfbecker cmd/frontend/graphqlbackend/insights.go
enterprise/internal/insights/resolvers/insight_series_resolver.go
enterprise/internal/insights/resolvers/insight_series_resolver_test.go
enterprise/internal/insights/store/store.go
@slimsag cmd/frontend/graphqlbackend/insights.go
enterprise/internal/insights/resolvers/insight_series_resolver.go
enterprise/internal/insights/resolvers/insight_series_resolver_test.go
enterprise/internal/insights/store/store.go

@coury-clark coury-clark merged commit 6e24dfb into main Jul 27, 2021
@coury-clark coury-clark deleted the insights/regex-filter branch July 27, 2021 00:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
code-insights Issues related to the Code Insights product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

insights: allow filtering of an insight by regex string
4 participants