Skip to content

Ignore failures when new package isn't indexed yet.#11365

Merged
weshaggard merged 1 commit intomainfrom
weshaggard-patch-1
Jul 29, 2025
Merged

Ignore failures when new package isn't indexed yet.#11365
weshaggard merged 1 commit intomainfrom
weshaggard-patch-1

Conversation

@weshaggard
Copy link
Member

Copilot AI review requested due to automatic review settings July 28, 2025 16:57
@weshaggard weshaggard requested a review from a team as a code owner July 28, 2025 16:57
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 fixes a build failure issue where npm publish jobs were failing even when package indexing failures were intended to be ignored. The fix ensures that the PowerShell exit code is properly reset to 0 when ignoring package indexing failures.

  • Reset the global exit code to 0 when ignoring npm package indexing failures

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

azure-sdk added a commit to Azure/azure-sdk-for-js that referenced this pull request Jul 29, 2025
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#11365 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
@weshaggard weshaggard merged commit 2f0d548 into main Jul 29, 2025
9 checks passed
@weshaggard weshaggard deleted the weshaggard-patch-1 branch July 29, 2025 15:21
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.

The JS release step to verify package tags was unstable sometimes

3 participants