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(backend): api server panics on workflow with parameter without value. Fixes #5423 #5424

Merged
merged 1 commit into from
Apr 4, 2021

Conversation

Bobgy
Copy link
Contributor

@Bobgy Bobgy commented Apr 3, 2021

Description of your changes:
Fixes #5423

Checklist:

@Bobgy
Copy link
Contributor Author

Bobgy commented Apr 3, 2021

/assign @NikeNano @capri-xiyue
for review

@Bobgy
Copy link
Contributor Author

Bobgy commented Apr 3, 2021

/retest

Comment on lines +198 to +202
{Name: "PARAM1", Value: workflowapi.AnyStringPtr("VALUE1")},
{Name: "PARAM2", Value: workflowapi.AnyStringPtr("VALUE2")},
{Name: "PARAM3", Value: workflowapi.AnyStringPtr("VALUE3")},
{Name: "PARAM4", Value: workflowapi.AnyStringPtr("")},
{Name: "PARAM5", Value: workflowapi.AnyStringPtr("VALUE5")},
Copy link
Member

Choose a reason for hiding this comment

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

nit: does it add anything to have to have all these cases or could re remove PARAM1 and PARAM2

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's better to have cases that have focused goals. When they fail, it's easier to find out why.

@Bobgy
Copy link
Contributor Author

Bobgy commented Apr 4, 2021

/retest

@Ark-kun
Copy link
Contributor

Ark-kun commented Apr 4, 2021

/lgtm

@Bobgy
Copy link
Contributor Author

Bobgy commented Apr 4, 2021

/approve

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Bobgy

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

The pull request process is described 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

@google-oss-robot google-oss-robot merged commit d95764b into kubeflow:master Apr 4, 2021
@Bobgy Bobgy deleted the missing-parameter branch April 4, 2021 17:07
Bobgy added a commit to kubeflow/testing that referenced this pull request Apr 6, 2021
Bobgy added a commit to kubeflow/testing that referenced this pull request Apr 6, 2021
* test: upgrade kfp to 1.5.0-rc.2

* test: apply fix of kubeflow/pipelines#5424
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.

[bug] api server panics on workflow parameter without value
5 participants