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

GraphQL: improve query cost violation message#63921

Merged
evict merged 6 commits into
mainfrom
vincent/improve-graphql-error
Jul 22, 2024
Merged

GraphQL: improve query cost violation message#63921
evict merged 6 commits into
mainfrom
vincent/improve-graphql-error

Conversation

@evict

@evict evict commented Jul 18, 2024

Copy link
Copy Markdown
Contributor

It's a bit unclear for users what the error message is for. This PR improves the error message by extending the GraphQL error message with additional context.

Linear issue: https://linear.app/sourcegraph/issue/SEC-1792/add-error-message-specifying-which-cost-setting-was-exceeded-in.

Test plan

CI tests

Changelog

@evict evict requested review from camdencheek and eseliger July 18, 2024 16:59
@evict evict self-assigned this Jul 18, 2024
@cla-bot cla-bot Bot added the cla-signed label Jul 18, 2024
Comment thread cmd/frontend/internal/httpapi/graphql.go Outdated
@evict evict force-pushed the vincent/improve-graphql-error branch 2 times, most recently from c71d792 to 01fe7f9 Compare July 18, 2024 17:05
@evict evict requested a review from a team July 19, 2024 14:46
Comment thread cmd/frontend/internal/httpapi/graphql.go Outdated
Comment thread cmd/frontend/internal/httpapi/graphql.go Outdated
@evict evict force-pushed the vincent/improve-graphql-error branch from 01fe7f9 to 6489cf2 Compare July 22, 2024 11:05
@evict evict requested a review from eseliger July 22, 2024 11:06
Comment thread cmd/frontend/internal/httpapi/graphql.go Outdated
Comment thread cmd/frontend/internal/httpapi/graphql.go Outdated
Comment thread cmd/frontend/internal/httpapi/graphql.go Outdated
Comment thread cmd/frontend/internal/httpapi/graphql.go Outdated
@evict evict force-pushed the vincent/improve-graphql-error branch from 792e871 to bcf5460 Compare July 22, 2024 13:49
evict added 6 commits July 22, 2024 14:49
It's a bit unclear for users what the error message is for. This PR
improves the error message by extending the GraphQL error message with
additional context.
@evict evict merged commit 5fdaa58 into main Jul 22, 2024
@evict evict deleted the vincent/improve-graphql-error branch July 22, 2024 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants