LIMS-1917: Track status of strategy pipelines #993
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JIRA ticket: LIMS-1917
Summary:
There is no mechanism for SynchWeb to be able to display the status of MX strategy/screening jobs. SynchWeb currently looks for records in the Screening table and if a record exists it will show the results of the pipeline and show that the job has completed. If a pipeline doesn't complete (even for a legitimate reason), there will be no record in SynchWeb that the pipeline has run. It would be good if SynchWeb could show the status of the pipeline (running, completed or failed) in the same way that it does for the autoprocessing and downstream pipelines.
The autoprocessing and downstream pipelines store their processing status in the AutoProcProgram table. The Screening table of ISPyB already contains autoProcProgramId as a foreign key which would allow a Screening record to be easily linked to an AutoProcProgram record.
The changes needed to the analysis pipelines will be deployed in January when @pblowey is back from parental leave, but the Synchweb changes can be done ready.
Changes:
ScreeningStrategyWedge.commentsfor the alignment axes, rather thanScreening.comments(both are currently populated, but the latter will not be in future)autoProcProgramIdas well as those without one. Merge the 2 arrays.To test:
$strat_alignconfig variable, so it becomes