icgc-argo / workflow-management-scheduler

Middleware for icgcargo/workflow-management used to schedule directories for workflows.
0 stars 0 forks source link

Add ability to manually trigger reschedule #22

Open jaserud opened 2 years ago

jaserud commented 2 years ago

Detailed Description

Possible Implementation

Buwujiu commented 1 year ago

dev testing is blocked by a graphql query, working on resolving it.

dahiyaAD commented 1 year ago

Link to PRs - 1) https://github.com/icgc-argo/workflow-management-scheduler/pull/29/files 2) https://github.com/icgc-argo/workflow-api/pull/168/files

lindaxiang commented 1 year ago

Tested in QA with Aditya's help:

  1. Aditya manually inserted one entry into the postgres database with job state setting as QUEUED
  2. Linda called the api endpoint /runs/trigger at: https://wes.rdpc-qa.cancercollaboratory.org/api-docs/ to retrigger the jobs in QUEUED (Now it is returning Runs Triggered Successfully! even though no runs have been re-triggered.)
  3. The job was kicked off and showing up running on wes UI

some comments which fall out of the scope but may be the next step:

Buwujiu commented 1 year ago

@Buwujiu

  1. make tickets for Can we request runIds as params to re-trigger specific jobs.
  2. schedule a release for wg-mgmg-scheduler.