Skip to content

Accept completed as terminal invocation state#1615

Merged
mvdbeek merged 5 commits intogalaxyproject:masterfrom
mvdbeek:accept_completed
Feb 18, 2026
Merged

Accept completed as terminal invocation state#1615
mvdbeek merged 5 commits intogalaxyproject:masterfrom
mvdbeek:accept_completed

Conversation

@mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Feb 17, 2026

And drop tests against 22.05

Galaxy can return a 'completed' invocation state meaning the workflow
is fully scheduled and all jobs have finished. Update all places that
check for 'scheduled' to also accept 'completed':

- invocation_state_terminal() in api.py
- Success check in activity.py invocation_to_run_response
- was_successful property in GalaxyWorkflowRunResponse
- Error detection in polling.py workflow_in_error_message
- Step state counting in progress.py for display

https://claude.ai/code/session_01LqVSyh3oWZ4JXngfULiyoA
Replace inline ("scheduled", "completed") tuple with a named constant,
and derive INVOCATION_TERMINAL_STATES from success + error state tuples.

https://claude.ai/code/session_01LqVSyh3oWZ4JXngfULiyoA
- tox.ini: Replace 2205 env with 231 and add 250 env
- CI: Update matrix to test against gx-231 and gx-250 instead of
  gx-2205 and gx-231
- Tests: Update skip conditions from release_22.05 to release_23.1
- activity.py: Update version reference in comment

Also includes formatting fixes from make format.

https://claude.ai/code/session_01LqVSyh3oWZ4JXngfULiyoA
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
@mvdbeek mvdbeek merged commit 427a05b into galaxyproject:master Feb 18, 2026
34 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants