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
Uncaught undefined results in Something went wrong pages in pipeline runs #527
Comments
I've spent some time digging into this, a summary from my side what I understood
My first feeling on how resposne from tab1 ends up in tab2 might be that the redux setup is configured to use localstorage. Localstorage is shared across tabs. Does this issue also occur when only using a single tab? |
Yes, like that. Regarding point 3:
If localstorage is used without a key prefix for a run, yes it could have definitely been the case that results got mixed. |
Does this issue also occur in a single tab setup? |
I haven't encountered it there, but I cannot state with certainty that it never happens because I'm having this problem intermittently, not all the time. |
Can confirm now, it just happened in a situation where no other ZenML tab was open; same issue. |
Interestingly:
In other words, it also happens while no other process could have interfered. |
Okay, this is really strange, I'll need to spend some more time investigating this 🙏 |
For what it's worth, I mostly see it with AWS SageMaker runs which are long-lived. Not sure if it only happens there, though. |
I got an error, and the described error screen, for runs that are in the
Is this the case for you as well, that it only appears on running pipelines? |
Yes, correct! And even more interestingly, when errors occur, they no longer occur after the pipeline has finished. |
Sorry for the delay here... I had some sort of the same experience. With the latest release, we changed how the polling is done while the status is |
No problem, glad it's being worked on. Can confirm it is still occurring (just saw it with an AWS-based pipeline run) and yes we're running |
@Cahllagerfeld if possible do you have any update? The problem is still occurring and tbh quite annoying. Thanks! 😊 |
Hey @christianversloot, I'm super sorry, I will put it on my list for next week and keep you posted here! |
Thank you! :) |
Checks
General
Since ZenML 0.50.0 it frequently happens that pipeline runs show this error:
It seems to be caused by referring to
undefined
somewhere:That somewhere seems to be here in the build:
Slightly above in the stack I'm seeing
null === t || void 0 === t || t.forEach((function(n) {
This suggests it's happening here (and if not, here).
Here,
n
must be defined asinitialNodes.find((node) => node.id === edge.source);
compared with the passed graph edge. I'm not entirely sure why that's the case, but it seems like sometimes the console writes a set of nodes and edges......which at that point is not present in the response of
GET /api/v1/runs/<id>/graph
.The ones with
step_02c60d8e-d551-47dd-921a-4af1d91bcc6f
in the screenshot were present in that response, just not the one failing.Strangely, this was exactly the step ID of a run I had open in another tab at that point in time or probably was just loading concurrently:
I'm just not sure how the response from tab 1 can end up in tab 2. Probably it can't, but maybe it's in state somewhere within tab 1, and then loaded as well? Not sure though.
Hope you can find and fix this, thanks a lot :)
The text was updated successfully, but these errors were encountered: