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

openapi: require name for contexts #253

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

isinyaaa
Copy link
Contributor

@isinyaaa isinyaaa commented Aug 8, 2024

Resolves: #232

Description

Makes name a required property for contexts. This change causes the autogen OAPI models to be validated properly, but changes the type of context names to be a string, instead of a *string.

How Has This Been Tested?

Updated tests, also created a new regression test case to cover previously crashing case.

Merge criteria:

  • The commits and have meaningful messages; the author will squash them after approval or will ask to merge with squash.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@isinyaaa
Copy link
Contributor Author

isinyaaa commented Aug 8, 2024

cc: @tarilabs

Copy link
Member

@tarilabs tarilabs left a comment

Choose a reason for hiding this comment

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

Thank you @isinyaaa !

Kindly consider the below, the rest looks good to me so far

api/openapi/model-registry.yaml Outdated Show resolved Hide resolved
api/openapi/model-registry.yaml Outdated Show resolved Hide resolved
internal/converter/mlmd_openapi_converter_util.go Outdated Show resolved Hide resolved
test/robot/Regression.robot Show resolved Hide resolved
Signed-off-by: Isabella do Amaral <[email protected]>
Copy link
Member

@tarilabs tarilabs left a comment

Choose a reason for hiding this comment

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

thanks for accounting #253 (review)

/lgtm
/approve

Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tarilabs

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-prow google-oss-prow bot merged commit 8c70b65 into kubeflow:main Aug 12, 2024
16 checks passed
@isinyaaa isinyaaa deleted the push-npowxsryvknp branch August 12, 2024 15:39
@isinyaaa isinyaaa mentioned this pull request Aug 14, 2024
3 tasks
dhirajsb pushed a commit to dhirajsb/model-registry-kfp that referenced this pull request Aug 30, 2024
…11 (kubeflow#253)

Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.7 to 1.7.11.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](containerd/containerd@v1.7.7...v1.7.11)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

Context names can't be empty
2 participants