Skip to content

Add vnext emulator stages back to public CI pipeline#48737

Open
mbhaskar wants to merge 1 commit intoAzure:mainfrom
mbhaskar:vnext-emulator-ci
Open

Add vnext emulator stages back to public CI pipeline#48737
mbhaskar wants to merge 1 commit intoAzure:mainfrom
mbhaskar:vnext-emulator-ci

Conversation

@mbhaskar
Copy link
Copy Markdown
Member

@mbhaskar mbhaskar commented Apr 8, 2026

Description

Since VNext emulator is now used by customers, and some recent changes caused issues on vnext emulator, it is important to have vNext emulator on CI

This PR removes the internal-only guard ({{ if eq(variables['System.TeamProject'], 'internal') }}) from the VNext emulator test stages in cosmos-sdk-client.yml so they run on both public and internal CI pipelines.

The Skip.VnextEmulator variable condition is preserved for opt-out.

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.
    CI on this PR has vNext emulator jobs

Remove the internal-only guard ({{ if eq(variables['System.TeamProject'], 'internal') }})
from the VNext emulator test stages in cosmos-sdk-client.yml so they run
on both public and internal CI pipelines.

The Skip.VnextEmulator variable condition is preserved for opt-out.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 8, 2026 22:57
Copy link
Copy Markdown
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 updates the Cosmos SDK client CI stage template to run the VNext Cosmos DB emulator test stages in both public and internal Azure DevOps projects by removing the internal-only template guard, while keeping the Skip.VnextEmulator opt-out condition.

Changes:

  • Removed the System.TeamProject == internal template guard around the VNext emulator stages so they run in public CI.
  • Kept the existing Skip.VnextEmulator runtime condition to allow skipping these stages when needed.

Comment on lines +160 to +164
- ${{ each mode in parameters.VnextEmulatorModes }}:
- stage:
displayName: Test VNext Emulator with ${{ mode }}
dependsOn: [ ]
condition: and(succeeded(), ne(variables['Skip.VnextEmulator'], 'true'))
Copy link

Copilot AI Apr 8, 2026

Choose a reason for hiding this comment

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

PR description still contains the template placeholder text (e.g., "Please add an informative description...") and doesn’t document the motivation/linked issue(s) or how to verify. Please replace it with a concrete summary, relevant issue links, and validation steps (e.g., which pipeline run(s) confirm VNext emulator stages now execute in public CI).

Copilot uses AI. Check for mistakes.
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.

2 participants