Skip to content

Conversation

@momesgin
Copy link
Member

Summary

Fixes #16052

Occurred changes and/or fixed issues

Technical notes summary

Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video

Checklist

  • The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
  • The PR has a Milestone
  • The PR template has been filled out
  • The PR has been self reviewed
  • The PR has a reviewer assigned
  • The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
  • The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes
  • The PR has been reviewed in terms of Accessibility
  • The PR has considered, and if applicable tested with, the three Global Roles Admin, Standard User and User Base

@momesgin momesgin added this to the v2.14.0 milestone Nov 26, 2025
@momesgin momesgin self-assigned this Nov 26, 2025
wrapper.setProps({ network: 'host-shared-vpc' });
await wrapper.vm.$nextTick();
expect(wrapper.emitted('update:subnetwork')?.[0]?.[0]).toBe('projects/host-project-309915/regions/us-west1/subnetworks/host-shared-vpc-us-west1-subnet-public');
expect(wrapper.emitted('update:subnetwork')?.[0]?.[0]).toBe('projects/host-project-309915/global/networks/host-shared-vpc');
Copy link
Member

Choose a reason for hiding this comment

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

I think this is indicative of something wrong with the networking code. I would still expect the emitted event here to refer to a subnetwork selfLink, since one was defined previously and mock data hasn't changed, but that's a network selfLink. Looking at gcp mock data, sn.subnetwork is defined when the user has selected a shared VPC. I think #16052 is not needed in light of that.

@momesgin momesgin closed this Nov 27, 2025
@momesgin momesgin deleted the 16052-subnetwork-options branch November 27, 2025 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[GKE] Subnetwork option's name should prioritize selfLink value

2 participants