Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PXD-580 ⁃ Flakiness in GraphQL responses #45

Open
david4096 opened this issue May 31, 2018 · 1 comment
Open

PXD-580 ⁃ Flakiness in GraphQL responses #45

david4096 opened this issue May 31, 2018 · 1 comment
Assignees

Comments

@david4096
Copy link

david4096 commented May 31, 2018

Try repeatedly making this request to the GraphQL interface:

    {
     submitted_aligned_reads(project_id: "topmed-public") {
        id
           data_format
      data_category
        file_name
        file_size
        md5sum
        submitter_id
        updated_datetime
        created_datetime
       _links {
          id
          type
        }
      }
    }

The second or third time you might observe an error where the links are not populated and a graphene message propagates to the client.

      {
        "_links": [
          null,
          null
        ],
        "created_datetime": "2018-05-26T13:37:15.281868+00:00",
        "data_category": "Sequencing Reads",
        "data_format": "CRAM",
        "file_name": "NWD905240.recab.cram",
        "file_size": 20699570093,
        "id": "ff1739f7-8da7-41e1-9dd7-2bb1c1278059",
        "md5sum": "7af0014daca79bcc4bbed32fc128c066",
        "submitter_id": "NWD905240-cram",
        "updated_datetime": "2018-05-26T13:43:10.978473+00:00"
      }
    ]
  },
  "errors": [
    "The type read_group does not match with the associated graphene type read_group.",
    "The type aligned_reads_index does not match with the associated graphene type aligned_reads_index.",

uc-cdis/sheepdog#142

@philloooo philloooo changed the title Flakiness in GraphQL responses PXD-580 ⁃ Flakiness in GraphQL responses May 31, 2018
@zflamig
Copy link
Contributor

zflamig commented Jun 1, 2018

This feels like a race, but we are using the syncexecutor graphql-python/graphene#314

Need to think/poke at code some more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants