-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot create yadage workflows #535
Comments
The command below for the
The issue is that when Yadage is used, {'version': '0.3.0', 'inputs': {'files': ['code/helloworld.py', 'data/names.txt'], 'directories': ['workflow/yadage'], 'parameters': {'sleeptime': 0, 'inputfile': 'data/names.txt', 'helloworld': 'code/helloworld.py'}}, 'workflow': {'type': 'yadage', 'file': 'workflow/yadage/workflow.yaml', 'specification': None}, 'outputs': {'files': ['helloworld/greetings.txt']}} The reason why Yadage fails is that |
Some notes: CWL, Snakemake, and Yadage are multi-file workflow engines. The With It is also important to remember that the Keeping things above in mind, let's think about what would be a good clean step-by-step way of starting workflow:
note: I would also include our idea of switching from Looks nice. One exception here is Gitlab integration which will still require steps 1-3 to be present in the So, what to do next? I propose moving validation to What do you think? P.S Looking into r-server and r-w-c code clearly shows we have boundary issues between them. Half the logic for workflow creation is in r-server, and another half is in r-w-c. We had multiple issues open talking about this problem: #508, #478. Spending some time addressing those issues in the near future would be useful. cc: @tiborsimko |
@VMois Nice analysis, I fully agree with making only a quick fix here (which will fix the current status of the master branch) and proceeding with the idea of getting rid of reana_spec as part of the other linked issue (which will take quite long to implement). One downside to the proposed quick fix, if we do the validation only at the time of starting the workflow, is that the clients might upload O(100 GB) worth of big files before discovering that their Yadage workflow specification have some problem. We could implement it as a quick fix, but perhaps improve immediately this, either by run yadage validation on the (Python) thick client side, or for the later thin-client future we could upload just parts necessary for the workflow to be validated and created (i.e. parse |
That is a good point. For now, when you restart workflow, you can specify a new reana_specification file in |
- because client doesn't include Yadage specification in "create" endpoint, validation fails; - workflow validation is moved to "start_workflow" so in case Yadage specification has multiple files, they can be loaded and properly validated. closes reanahub#535
- because client doesn't include Yadage specification in "create" endpoint, validation fails; - workflow validation is moved to "start_workflow" so in case Yadage specification has multiple files, they can be loaded and properly validated. closes reanahub#535
- because client doesn't include Yadage specification in "create" endpoint, validation fails; - workflow validation is moved to "start_workflow" so in case Yadage specification has multiple files, they can be loaded and properly validated. closes reanahub#535
- because client doesn't include Yadage specification in "create" endpoint, validation fails; - workflow validation is moved to "start_workflow" so in case Yadage specification has multiple files, they can be loaded and properly validated. closes reanahub#535
- because client doesn't include Yadage specification in "create" endpoint, validation fails; - workflow validation is moved to "start_workflow" so in case Yadage specification has multiple files, they can be loaded and properly validated. closes reanahub#535
- because client doesn't include Yadage specification in "create" endpoint, validation fails; - workflow validation is moved to "start_workflow" so in case Yadage specification has multiple files, they can be loaded and properly validated. closes reanahub#535
- because client doesn't include Yadage specification in "create" endpoint, validation fails; - workflow validation is moved to "start_workflow" so in case Yadage specification has multiple files, they can be loaded and properly validated. closes reanahub#535
- because client doesn't include Yadage specification in "create" endpoint, validation fails; - workflow validation is moved to "start_workflow" so in case Yadage specification has multiple files, they can be loaded and properly validated. closes reanahub#535
Seeing the following problem:
Found out that it is due to #530, the bisecting showed:
@VMois Can you please have a look?
The text was updated successfully, but these errors were encountered: