Open lethee opened 4 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
not stale
This same issue is impacting many of our end users unfortunately.
/lifecycle frozen
I've bisected this issue, it doesn't occur in gcr.io/ml-pipeline/frontend:2.0.0-beta.0 but it does occur in gcr.io/ml-pipeline/frontend:2.0.0-beta.1. I think the issue is somewhere in the https://github.com/kubeflow/pipelines/blob/2.0.0-beta.1/frontend/src/pages/RunDetailsV2.tsx code, will continue to dig.
Also latest gcr.io/ml-pipeline/frontend:2.2.0 does not fix this issue as of posting this.
Would appreciate help from @jlyaoyuli on changes in https://github.com/kubeflow/pipelines/commit/ca2004ca6c35759bc2a1b8d47e7e77431166b2f7. My current intuition is that the hasFinishedV2() call is getting triggered on the onFocus event but is validating incorrectly causing a refresh. Assuming that the functionality from https://github.com/kubeflow/pipelines/blob/master/frontend/src/pages/RunDetails.tsx#L715 was moved to RunDetailsV2.tsx.
OK I narrowed the issue down to commit for RunDetailsRouter.tsx, specifically commenting out the following lines fixes it:
if (runIsFetching || templateStrIsFetching) {
return <div>Currently loading recurring run information</div>;
}
This return call triggers a componentWillUnmount() then in RunDetails.tsx defaults runFinished
to false which causes a refresh in https://github.com/kubeflow/pipelines/blob/2.0.0/frontend/src/pages/RunDetails.tsx#L926-L929.
At this point I do not have a better fix, I feel like there isn't enough interest in fixing a backwards compatibility issue with V1.
Environment
Steps to reproduce
or
I think the the only inner iframe would be refreshed.
Expected result
This is the only logs on inspect.
Materials and Reference
Impacted by this bug? Give it a 👍.
If you need more config or variables, i will reply from my environment.