Skip to content

Conversation

@praveenkuttappan
Copy link
Member

@praveenkuttappan praveenkuttappan commented Dec 3, 2025

Skip apiview namespace approval check for mgmt plane for preview releases.

Fixes issue Azure/azure-sdk-tools#13080

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR modifies the APIView status check logic to skip namespace approval requirements for management plane packages during preview/prerelease releases. This allows mgmt plane preview packages to be released without waiting for APIView approval.

  • Updated the path sourcing to use Join-Path for better cross-platform compatibility
  • Added SemVer.ps1 import to enable semantic version parsing
  • Implemented early return logic to skip APIView status checks for prerelease mgmt plane packages

if ($null -eq $version) {
return $false
}
# Do not check APIView status for prerelease mgmt plane packages
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure of the context for WHY you're making this change, but I believe this would skip the "validate the package name" step that is an important part of the process.

@KrzysztofCwalina, @christothes, @m-nash, @ArthurMa1978: Would appreciate thoughts.

Copy link
Member Author

Choose a reason for hiding this comment

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

@jsquire This will skip only for management plane and Arthur has signed off that change. Management plane follows different process for namespace approval and APIView was not supposed to gate check the package name approval for management plane and validate the apiview status only for GA releases. Change in https://github.com/Azure/azure-sdk-for-net/pull/43599/files introduced a bug that mandated namespace approval for .NET management plane also.

Copy link
Member

Choose a reason for hiding this comment

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

What is their approval process?

Copy link
Member Author

Choose a reason for hiding this comment

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

Service team creates an issue like Azure/azure-sdk#9441 and gets it approved. @ronniegeraghty coordinates this approval process. So APIView is not involved for mgmt plane package namespace approval.

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

And as I sent on the email, it is about consistency. Not saying the name is not going to get validated

@jsquire
Copy link
Member

jsquire commented Dec 4, 2025

Since there's open discussion and I'm going to be out, I'm going to @m-nash to take point on this and help drive to an outcome. We'll need @maririos to come to an agreement with @KrzysztofCwalina on the process and protections. If KC is in agreement, @m-nash can clear my blocker and let this move forward.

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.

5 participants