-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add a "Debug" (email report) tab to Workflow Invocations #20624
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
base: dev
Are you sure you want to change the base?
Add a "Debug" (email report) tab to Workflow Invocations #20624
Conversation
Can you open a separate PR for this please ? |
About this ^ I now see #5791 So we are okay with anon (and hence, I'll assume also different) users making these reports. I'll revert that change then, and allow anyone to make these reports, regardless of who ran the job/workflow. UPDATE: I've gone ahead and done that; removed a few commits, bug reporting for dataset/job errors remains unchanged. Although, added a conditional which in the case of invocation reports enforces log in at the very least. |
b018699
to
38e3623
Compare
@jmchilton , I reckon I should still keep the component name as |
client/src/components/WorkflowInvocationState/WorkflowInvocationState.vue
Outdated
Show resolved
Hide resolved
69cd564
to
6fe07ab
Compare
This does not implement the backend API POST route for actually submitting an email yet. That part is also left draft in the client. This commit: - Adds the new tab for reporting any issues with invocations. - Finds and shows steps with failed jobs, and workflow invocation message(s) if they exist. - Adds a reusable `EmailReportForm` component which shows the user's email and has a text field. It requires a `submit` method as prop which it waits for to show any response messages.
The current error reporting infrastructure in the backend is geared towards job/dataset errors. So, I do feel it is a little awkward that the invocation error report is implemented under `lib/galaxy/tools*`. Maybe we can improve on this and generalize reporting for many things.
The child component here already handles showing error messages.
Co-authored-by: Marius van den Beek <[email protected]>
Co-authored-by: mvdbeek <[email protected]> Co-authored-by: John Chilton <[email protected]>
b8d6005
to
70960de
Compare
#20735 this is my dream for next steps. |
…nstead Co-authored-by: John Chilton <[email protected]>
Fixes #20569
NOTE: The tab has been renamed to
Debug
instead ofFeedback
add_error_tab_in_invocation_view.mp4
EmailReportForm
component which shows the user's email and has a text field. It requires asubmit
method as prop which it waits for to show any response messages.Makes sure this reusable email component only allows the current user to email reports related to their own jobs/invocations.Decided against this because in the past we have even allowed anon reports. Although, added a conditional which in the case of invocation reports enforces log in at the very least.POST /api/invocations/{invocation_id}/error
How to test the changes?
(Select all options that apply)
License