Skip to content

Empty error message from OCH GraphQL client #334

@pkosiec

Description

@pkosiec

Description

Sometimes on our long-running cluster, we get an empty error message from the GraphQL client we use:


# 1: graphql:

We need to investigate whether there is a bug in our code (OCH client) or in our dependency (retry-go, machinebox/graphql client, etc.).

  • This may not be related just to local OCH client. Investigate all GraphQL clients (Public OCH, Local OCH, Engine) for potential causes.

Expected behavior

We get the error message for the root cause of GraphQL request failure.

Actual behavior

Example run: https://github.com/capactio/capact/runs/2762064610?check_suite_focus=true

# 1: graphql:

Jun 7 08:37:29.539: while deleting TypeInstance with ID a0ecd4c3-c55a-497a-8c68-05b5e6242cb8: while executing mutation to delete TypeInstance: All attempts fail:

# 1: graphql:Failure [305.075 seconds] Action /capact.io/capact/test/e2e/action_test.go:37 Action execution /capact.io/capact/test/e2e/action_test.go:57 should pick proper Implementation and inject TypeInstance based on cluster policy [It] /capact.io/capact/test/e2e/action_test.go:58 Timed out after 300.000s. Expected : FAILED to be an element of <[]interface *** | len:1, cap:1>: [["SUCCEEDED"]] /capact.io/capact/test/e2e/action_test.go:343 ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/ciRelates to CIarea/engineRelates to Enginearea/hubRelates to HubbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions