Skip to content

[24.2] Allow tool state changes in refactor actions#19730

Merged
mvdbeek merged 1 commit intogalaxyproject:release_24.2from
mvdbeek:fix_tool_state_correction_refactor_action
Mar 5, 2025
Merged

[24.2] Allow tool state changes in refactor actions#19730
mvdbeek merged 1 commit intogalaxyproject:release_24.2from
mvdbeek:fix_tool_state_correction_refactor_action

Conversation

@mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Mar 1, 2025

I think this has always been the intention given the correct tool_state_upgrade messages. Fixes
https://github.com/galaxyproject/planemo/actions/runs/13438714063/job/37547389150 which happened with a tool update that results in an altered tool state.

Note that we're also now more lenient during workflow upload or if a local tool has been altered in a way that invalidates previously saved tool state. Previously a (now) invalid tool state would have resulted in an internal server error and we wouldn't have create a workflow. Now we save the invalid tool state and notify the user when editing or running the workflow:

Editor:
Screenshot 2025-03-01 at 10 48 10

Run form:
Screenshot 2025-03-01 at 13 21 26

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.

@github-actions github-actions bot added this to the 25.0 milestone Mar 1, 2025
@mvdbeek mvdbeek force-pushed the fix_tool_state_correction_refactor_action branch from e863a8b to fdc1599 Compare March 1, 2025 12:50
This has always been the intention given the correct tool_state_upgrade
messages. Fixes
https://github.com/galaxyproject/planemo/actions/runs/13438714063/job/37547389150
which happened with a tool update that results in an altered tool state.
@mvdbeek mvdbeek force-pushed the fix_tool_state_correction_refactor_action branch from fdc1599 to 516f99f Compare March 1, 2025 12:53
@mvdbeek mvdbeek requested a review from a team March 4, 2025 09:16
@mvdbeek mvdbeek merged commit a0fc6a2 into galaxyproject:release_24.2 Mar 5, 2025
52 of 54 checks passed
@nsoranzo nsoranzo deleted the fix_tool_state_correction_refactor_action branch April 22, 2025 16:56
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