populationgenomics / production-pipelines

Genomics workflows for CPG using Hail Batch
MIT License
2 stars 0 forks source link

TASK: Robust Metamist Integrations #784

Open milo-hyben opened 4 weeks ago

milo-hyben commented 4 weeks ago

This PR is implementing items for task Robust Metamist Integrations on the road map.

Add a re-try mechanism to catch failing to connect to metamist when writing analysis entries. Gracefully catch and handle failures, when writing to metamist fails. Add integration tests to validate these behaviours.

TODO

vivbak commented 3 weeks ago

Two functions in metamist are with comments 'not used anywhere' (process_existing_analysis, find_joint_calling_analysis), Should we remove? It would make test coverage at 91% after this PR.

Yes, but could we do it in a separate PR (merged before this one). If something goes wrong it's easier to track down the cause!