Skip to content

Override validation timeout of GraphQL schema for CI job

What does this MR do and why?

In our graphql-verify rake task, we run to validate graphql queries defined in the codebase against the schema to ensure they are valid. There's a timeout of 0.2 seconds defined in 22b899b9 which has started to timeout during the CI job.

Since this timeout is needed as a safeguard when we pre-validate live queries on production, we need to only bump its value for the rake task.

How to set up and validate locally

Run $ bundle exec rake gitlab:graphql:validate to see the output.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #396784

Merge request reports