Decoupling Dataset Object from ErrorPlugin Downstream Effects ? #19533
Replies: 3 comments 4 replies
-
To summarize the discussion from the dev meeting: yes, it would be good to report on jobs instead of datasets. The API is already centered around the job id but requires a mandatory dataset_id. That's not necessary, and some failed jobs may not even include discovered datasets. Changing the templates to make the dataset id optional is a definitely a good change. I don't think we need a component for submitting submission errors, instead these should all be gracefully handled, as they are actual Galaxy bugs, and not something an admin or support personnel can understand or help with (unless they happen to be intimately familiar with the tool submission API, I would say that's not common). We do see these in our bug reporting platform (though of course you can also just look at the logs), and we fix them as we encounter them, here are some recent examples: #18858, #19483, #19480 etc. #18023 fixed the particular issue you've cited, but you mentioned you can still reproduce this, if you can it would be good to open a new issue for that. The final thing to do is that we should attempt to link up the sentry id to give users a possibility to come back to us with an id. We used to do this using the sentry WSGI middleware, but I don't think this still works. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the sample links @mvdbeek. I do agree that Sentry is good for US team's internal use on In regard to this particular bug which launched this discussion, it is on production tested at about 3:30 PM US-ET on
|
Beta Was this translation helpful? Give feedback.
-
That is correct, @mvdbeek - the GIF is from an older run (March 2024) and I was able to replicate the bug from yesterday (February 2025).
Very interesting - I am glad to hear that this specific bug is just an extension assignment issue. I will look at straightforward messaging solution to close out the ticket. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
On the backend, in order to allow for greater bug report capturing, is there any objection to decoupling the Dataset Object so that a Dataset Object is not required on the Bug Report?
For example, we can have one Bug Report (instead of multiple Bug Reports) for when a Tool fails but doesn't yet contain a Dataset? Another way to ask is "Is it even possible to decouple/separate the ErrorPlugin class from the Dataset Object by only changing the 5-8 methods for this purpose (and without changing the database and without downstream effects)?" Currently, Bug Report for Dataset is tightly coupled with the Dataset Object and the Tool Object. However, we have errors when there is no Dataset Object as in this issue here but still generates an error. Furthermore, we might have future objects lacking a Dataset Object which we want error reporting.
In my opinion, all error logging should be modular and decoupled from other objects. If you get an error on a Tool, you get the Tool information - if there happens to be a Dataset involved, that comes through also but isn't required. That way, you can put the error logging on any type Object we have currently or will have.
For a visual reference, PR #19508 (which addresses #17560) looks something like this. If decoupling of Dataset Object from ErrorPlugin{} class occurred that would mean backend methods below # 1-6 (below) would be modfieid so that Dataset Object was not a requirement.
Beta Was this translation helpful? Give feedback.
All reactions