Skip to content

Add rerun option for workflows #20032

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

Draft
wants to merge 7 commits into
base: dev
Choose a base branch
from

Conversation

ahmedhamidawan
Copy link
Member

@ahmedhamidawan ahmedhamidawan commented Apr 17, 2025

Fixes #11340

rerun_workflows.mp4

TODO:

  • Add tests ❗
  • Ensure we can still route to usegalaxy.org/?workflow_id (since I removed that in eb9386a)
  • Highlight cases where original inputs can not be set (e.g.: datasets now deleted); maybe we put a dismissible error message on those inputs
  • more things...

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.

@ahmedhamidawan ahmedhamidawan changed the title Add rerun option for invocations Add rerun option for workflows Apr 17, 2025
We compare the `requestState` and the current values to tell whether the values are different from the original run at a given point. This check can be disabled.

Example case is if a dataset that was formerly used in an invocation, is now deleted, and therefore on landing on the rerun, is not set as the input.
@ahmedhamidawan
Copy link
Member Author

Additional Enhancement:

Inform user when the original rerun values are changed:

We compare the requestState and the current values to tell whether the values are different from the original run at a given point. This check can be disabled.

rerun_workflows_flag_changed_state.mp4

Additional example case is if a dataset that was formerly used in an invocation, is now deleted, and therefore on landing on the rerun, is not set as the input.

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.

Rerun option for workflows
1 participant