Implement workflow completion monitoring with extensible hooks#21532
Merged
jmchilton merged 28 commits intogalaxyproject:devfrom Jan 27, 2026
Merged
Implement workflow completion monitoring with extensible hooks#21532jmchilton merged 28 commits intogalaxyproject:devfrom
jmchilton merged 28 commits intogalaxyproject:devfrom
Conversation
8850c97 to
e093ae9
Compare
jmchilton
reviewed
Jan 5, 2026
Member
Author
😆 working too good |
d72e7db to
b4ad649
Compare
Member
Author
|
Here's how that look like currently: export_notification.mov |
376abc9 to
4eb5d62
Compare
Member
jmchilton
reviewed
Jan 19, 2026
jmchilton
reviewed
Jan 19, 2026
… be scheduled or completed
Changes made: 1. ExportOnCompleteWizard.vue: - Replaced ExportOnCompleteConfig with WriteStoreToPayload from @/api/schema - Renamed format to model_store_format throughout - Added ModelStoreFormat type for proper typing of the ref 2. OnCompleteActions.vue: - Imported WriteStoreToPayload from the wizard - Removed local ExportConfig interface - Updated all references from format to model_store_format 3. WorkflowRunFormSimple.vue: - Imported WriteStoreToPayload from the wizard - Replaced inline type definition with WriteStoreToPayload
98ca035 to
1244d1b
Compare
Member
Author
|
Alright, I think I addressed all of your comments (hope i didn't forget anything ...), and I updated the screenshots with the new state. |
The notification now simply reports that the workflow completed with a job summary, letting users interpret success themselves.
Replace manual hook registration with automatic discovery using Galaxy's plugin_config.plugins_dict() framework. Hooks are now discovered via their plugin_type class attribute.
b1e413f to
96eb733
Compare
0998996 to
c3917c3
Compare
c3917c3 to
564cc8f
Compare
4 tasks
guerler
added a commit
to guerler/galaxy
that referenced
this pull request
Feb 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

User facing changes
This PR adds the ability to configure actions that automatically execute when a workflow invocation completes. Users can now:
The workflow run form includes a new "On Completion" section where users can select and configure these actions before launching a workflow.
Workflow Completion Monitor
The system uses a Celery-based polling mechanism to detect workflow completion:
The monitor is limited to run only on the invocation handler to avoid contention in multi-process deployments.
Extensible Hook System
Hooks are registered in WorkflowCompletionHookRegistry (lib/galaxy/workflow/completion_hooks/init.py). Each hook extends WorkflowCompletionHook and implements:
Built-in hooks:
/api/exports Endpoint
New API endpoint for listing recent user exports:
GCheckbox Component Refactoring
A new reusable GCheckbox component (client/src/components/BaseComponents/GCheckbox.vue) replaces BFormCheckbox usage in the workflow run form:
How to test the changes?
(Select all options that apply)
License