Skip to content
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

[24.1] Fix subworkflow scheduling for delayed subworkflow steps connected to data inputs #18731

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Aug 23, 2024

In this case it's the when statement that causes the step to be delayed. Because we didn't run through the WorkflowModule recover_mapping function we were missing the input steps output after the first round of scheduling (i.e the first time we should have recovered the input data step outputs).

Also adds an explicit scheduling failure if a subworkflow step didn't produce an expected output.

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

Fixes the scheduling portion of
galaxyproject#18697

This would be a problem for all workflows that require delayed
scheduling and whose inputs are not outputs of tool steps.
This would currently just fail with an exception in the logs.
I ran into this while manually defining a gxformat2 workflow
and not referencing the right step.
@mvdbeek mvdbeek changed the title Fix subworkflow scheduling for delayed subworkflow steps connected to data inputs [24.1] Fix subworkflow scheduling for delayed subworkflow steps connected to data inputs Aug 23, 2024
@github-actions github-actions bot added this to the 24.1 milestone Aug 23, 2024
@mvdbeek
Copy link
Member Author

mvdbeek commented Aug 23, 2024

Test failures should all be unrelated.

@mvdbeek mvdbeek requested a review from a team August 23, 2024 13:50
@mvdbeek mvdbeek merged commit 0cdf31e into galaxyproject:release_24.1 Aug 23, 2024
47 of 53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants