Description
Description
Last week @mr-c reported CWL Viewer was not working, showing an error message when trying to import a new workflow. We fixed it after cleaning the temporary directory and restarting some services in AWS.
Today I was reviewing the user guide (for common-workflow-language/user_guide#219) and in the chapter 22 there are links to some CWL Viewer workflows. Both were broken.
I opened view.commonwl.org, clicked "Explore" and then clicked on the first workflow I found. This was broken as well.
Expected Behavior
Either a more useful error message (e.g. no disk space, DB instance is busy, etc), or no error.
Actual Behavior
Intermittent errors in the CWL Viewer UI.
Possible Fix
- Review if we are not doing something inefficient in CWL Viewer regarding DB transactions (I noticed in the logs numerous transactions for each step or input, I think)
- Check if we can add a finally call that removes any unnecessary files from the temporary directories
- Add some indicator of what's wrong with the server (something like a Prometheus endpoint?)
Steps to Reproduce
- Open view.commonwl.org and click on Explore
- Choose a workflow
- You may have to wait a while, or import some Workflows… it's not clear what is causing this issue exactly
Context
Possibly related to the PostgreSQL migration? Not sure if it happened before, if we got new users, or some new workflow that triggered it. I'll work with the hypothesis, at first, that it is somehow related to either PostgreSQL or to the dependencies upgraded.
Your Environment
- Version used: 1.4.5
- Environment name and version (e.g. Chrome 39, Java 17): Firefox Ubuntu LTS