Skip to content

Conversation

@grevanak-akamai
Copy link
Contributor

@grevanak-akamai grevanak-akamai commented Jan 6, 2026

Description 📝

As part of this PR, if the available VPC IPv6 prefix length for a DC is 0, then dual-stack option should not be shown under IP stack in create VPC flow.

Changes 🔄

  • If availableRegionIPv6PrefixLengths > 0, only then show IPv4 + IPv6 (Dual Stack) option in create VPC screen.
  • Make necessary changes to enable Create VPC flow in MSW setup with legacy MSW handlers enabled.
  • Clean up unused VPC IPv6 Large Prefixes tag.

Scope 🚢

Upon production release, changes in this PR will be visible to:

  • All customers
  • Some customers (e.g. in Beta or Limited Availability)
  • No customers / Not applicable

Target release date 🗓️

NA

Preview 📷

Before After
Screenshot 2026-01-06 at 11 28 17 PM Screenshot 2026-01-06 at 11 28 07 PM

How to test 🧪

Prerequisites

  • Add new-dc-testing-alpha tag in prod account.
  • In local, switch to prod environment.

Reproduction steps

  • Go to https://cloud.linode.com/vpcs/create and select "us-iad-2" region.
  • See that "Dual stack" option is visible under IP stack and submission of create form with dual stack option selected fails with related error.

Verification steps

  • In local with prod environment setup, go to /vpcs/create and select "us-iad-2" region
  • See that "Dual stack" option is not visible under IP stack as the DC doesn't supports multiple IPv6 prefixes.
Author Checklists

As an Author, to speed up the review process, I considered 🤔

👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support


  • I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

  • All tests and CI checks are passing
  • TypeScript compilation succeeded without errors
  • Code passes all linting rules

@grevanak-akamai grevanak-akamai requested a review from a team as a code owner January 6, 2026 18:17
@grevanak-akamai grevanak-akamai self-assigned this Jan 6, 2026
@grevanak-akamai grevanak-akamai added VPC Relating to VPC project Ready for Review labels Jan 6, 2026
@grevanak-akamai grevanak-akamai requested review from a team, dwiley-akamai and hana-akamai and removed request for a team January 6, 2026 18:18
Copy link
Contributor

@dwiley-akamai dwiley-akamai left a comment

Choose a reason for hiding this comment

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

The ticket says, "If the available VPC IPv6 prefix lengths for a DC is empty, then dual-stack should not be shown," but this PR makes it not shown if there are zero or one prefix lengths. What's correct here? With the current logic it seems like Dual Stack won't be available for any region at this moment.

@grevanak-akamai
Copy link
Contributor Author

The ticket says, "If the available VPC IPv6 prefix lengths for a DC is empty, then dual-stack should not be shown," but this PR makes it not shown if there are zero or one prefix lengths. What's correct here? With the current logic it seems like Dual Stack won't be available for any region at this moment.

Initially I thought we have to hide this even if only /52 prefix is available as per this condition. But I see that prefix will be defaulted to /52 even if prefixes are not shown when its length is 1. So updated the condition to show dual-stack option if there are any prefixes available.

@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🔺 1 failing test on test run #3 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
1 Failing869 Passing11 Skipped42m 39s

Details

Failing Tests
SpecTest
clone-linode.spec.tsCloud Manager Cypress Tests→clone linode » can clone a Linode from Linode details page

Troubleshooting

Use this command to re-run the failing tests:

pnpm cy:run -s "cypress/e2e/core/linodes/clone-linode.spec.ts"

@grevanak-akamai grevanak-akamai requested a review from a team January 8, 2026 16:36
@github-project-automation github-project-automation bot moved this from Review to Approved in Cloud Manager Jan 8, 2026
@hana-akamai hana-akamai added Approved Multiple approvals and ready to merge! and removed Ready for Review labels Jan 8, 2026
@grevanak-akamai grevanak-akamai merged commit 921d956 into linode:develop Jan 9, 2026
34 of 35 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Merged in Cloud Manager Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved Multiple approvals and ready to merge! VPC Relating to VPC project

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

4 participants