ci/gitlab_gql: disable schema fetch

When running ci_run_n_monitor, the following error is seen,
gql.transport.exceptions.TransportQueryError: Error while fetching schema: {'message': 'Internal server error'}
If you don't need the schema, you can try with: "fetch_schema_from_transport=False"

Set fetch_schema_from_transport=False to avoid this failure.

Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39845>
This commit is contained in:
Vignesh Raman 2026-02-12 13:33:05 +05:30 committed by Marge Bot
parent 5d4f977573
commit 202437dd8e

View file

@ -74,7 +74,7 @@ class GitlabGQL:
self._transport = RequestsHTTPTransport(url=self.url, headers=headers)
# Create a GraphQL client using the defined transport
self.client = Client(transport=self._transport, fetch_schema_from_transport=True)
self.client = Client(transport=self._transport, fetch_schema_from_transport=False)
def query(
self,