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

Make multiple fields nullable (nilable) in networking interface #451

Merged

Conversation

zliang-akamai
Copy link
Member

📝 Description

The API schema change made some fields nullable now. linodego change in this PR will work with both the alpha and the production, but some tests will be failed before the API schema change deployed to the production. We may want to hold on for now, but feel free to review though. Fixtures will be added after the production deployment.

✔️ How to Test

make ARGS="-run TestInstance_Config" fixtures

@zliang-akamai zliang-akamai requested a review from a team as a code owner January 17, 2024 22:34
@zliang-akamai zliang-akamai requested review from ykim-akamai and yec-akamai and removed request for a team January 17, 2024 22:34
Copy link
Contributor

@yec-akamai yec-akamai left a comment

Choose a reason for hiding this comment

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

I ran the intergration tests locally but keep getting a failed case:

    instance_config_test.go:311: failed to update linode interfaces: configs do not match
    instance_config_test.go:328: failed to update linode interfaces: configs do not match
--- FAIL: TestInstance_ConfigInterfaces_Update (0.00s)

Do you mind double checking the case?

@zliang-akamai
Copy link
Member Author

zliang-akamai commented Jan 19, 2024

Hi @yec-akamai, thanks for the review! Did you test it with production API? We will have to wait until next week to get these passed when the API change deployed to production. You can try testing it with alpha and these errors should be gone.

@zliang-akamai zliang-akamai force-pushed the zhiwei/vpc-interface-schema-nullable branch from 76dc5bf to e283e29 Compare January 22, 2024 20:49
@zliang-akamai zliang-akamai added the breaking-change for breaking changes in the changelog. label Jan 22, 2024
Copy link
Contributor

@yec-akamai yec-akamai left a comment

Choose a reason for hiding this comment

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

Tests passed successfully! Nice work!

Copy link
Contributor

@ykim-akamai ykim-akamai left a comment

Choose a reason for hiding this comment

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

Nice and tests all passed locally

@zliang-akamai zliang-akamai merged commit 0bd0c94 into linode:main Jan 23, 2024
3 checks passed
@zliang-akamai zliang-akamai deleted the zhiwei/vpc-interface-schema-nullable branch January 23, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change for breaking changes in the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants