icgc-argo / workflow-api

Search API for workflow runs
GNU Affero General Public License v3.0
1 stars 0 forks source link

Add studyId to runs Query Filter #162

Closed Buwujiu closed 4 months ago

Buwujiu commented 1 year ago

Detailed Description

As we run more workflows, we’re gonna need to have a better way to query say Mutect RDPC run stats for POG-CA. The current runs query does not support filter by studyId.

Sample query:

query($analysisPage: Page, $RunsFilter: RunsFilter) {
  runs(
    filter: $RunsFilter
    page: $analysisPage
    sorts: { fieldName: startTime, order: asc }
  ) {
    info {
      hasNextFrom
      totalHits
      contentCount
    }

    content {
      runId
      inputAnalyses{
        analysisId
        studyId
      }
      producedAnalyses{
        analysisId
        studyId
      }
      tasks {
        process
      }
    }
  }
}

query variables:

{"RunsFilter":{
        "repository":"https://github.com/icgc-argo/dna-seq-processing-wfs" } }

Exit Criteria

Users shall be able to query runs by studyId.

Buwujiu commented 1 year ago

Park on this issue as we don't currently have a solution ready, Azher will need to focus on ITCR work which is higher priority.

UmmulkiramR commented 1 year ago

Study id added in the RunFilter

Buwujiu commented 1 year ago

@lindaxiang @edsu7 to test in QA

UmmulkiramR commented 11 months ago

deployed on prod