warelab / sciapps

SciApps: a cloud-based platform for reproducible bioinformatics workflows
https://www.sciapps.org
Apache License 2.0
2 stars 1 forks source link

Inconsistency between webhook and Agave job status (master branch on brebiou) #86

Closed liyawang closed 7 years ago

liyawang commented 7 years ago

Webhook sends FAILED or FINISHED notification, then database gets updated as 'FINISHED' or 'FAILED'. At the same time (shortly after), a job json is retrieved from Agave. Following inconsistencies are observed.

  1. Finished job (EMMAX) is showing as 'pending' on live diagram
  2. Finished job (a different one, MLM) is showing as 'running' on reloaded diagram from the saved workflow

One way to resolve this is to check consistency and make decision to query job json again if not consistent. Three times?

liyawang commented 7 years ago

Resolved, wait for 1 minute instead of 3 minutes

liyawang commented 7 years ago

Done