Skip to content
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

fix(frontend): Update TFX context naming pattern for TFX 1.2.0+. #6387

Closed
wants to merge 3 commits into from

Conversation

zijianjoy
Copy link
Collaborator

@zijianjoy zijianjoy commented Aug 19, 2021

Description of your changes:

Reference: #6138 (comment)

It is required for TFX version to be > 1.2.0 starting with this change.

Checklist:

@zijianjoy zijianjoy requested a review from Bobgy August 19, 2021 03:21
@google-cla google-cla bot added the cla: yes label Aug 19, 2021
@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please ask for approval from zijianjoy after the PR has been reviewed.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@zijianjoy
Copy link
Collaborator Author

cc @jiyongjung0

@google-oss-robot
Copy link

@zijianjoy: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Rerun command
kubeflow-pipeline-frontend-test 13e0ad0 link /test kubeflow-pipeline-frontend-test

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@@ -272,6 +272,7 @@ export class OutputArtifactLoader {

// Since artifact types don't change per run, this can be optimized further so
// that we don't fetch them on every page load.
console.log('enter TFX for execution ' + execution.getId() + ' namespace ' + namespace);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: clean up

const tfxRunContextName = `${pipelineName}.${runID}`;
return await getContext({ name: tfxRunContextName, type: 'run' });
// Context: https://github.com/kubeflow/pipelines/issues/6138
// Require TFX version to be > 1.2.0.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: >=1.2.0

@@ -267,6 +267,7 @@ class RunDetails extends Page<RunDetailsInternalProps, RunDetailsState> {
workflow,
selectedNodeId,
);
console.log('selectedNodeId ' + selectedNodeId);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: clean up

@zijianjoy zijianjoy closed this Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants