icgc-argo / rdpc-gateway

GraphQL API to interact with ARGO Workflow Services
GNU Affero General Public License v3.0
0 stars 6 forks source link

Error on gql query for analysis.workflow.run.runId #81

Closed jaserud closed 1 year ago

jaserud commented 3 years ago

Queries for to get run from analysis is returning errors in rdpc-qa.

Steps to produce:

  1. Go to gql in rdpc-qa env
  2. Run this query
    {
    analyses (filter:{analysisType:"variant_calling", analysisState:PUBLISHED}, sorts: {fieldName: publishedAt, order: desc}) {
    content {
        workflow {  
          runId
          run {
            runId
          }
        }
    }    
    }
    }
  3. See the error
    "errors": [
    {
      "message": "Expected \"data._entities\" to contain 10 elements",
      "extensions": {
        "code": "INTERNAL_SERVER_ERROR",
        "exception": { ... }
      }
    }
    ]
Buwujiu commented 1 year ago

The query is working in QA, error is not reproducible anymore, closing.