Ignore failures when new package isn't indexed yet.#11365
Merged
weshaggard merged 1 commit intomainfrom Jul 29, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
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
Collaborator
|
The following pipelines have been queued for testing: |
This was referenced Jul 28, 2025
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #10756
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5141388&view=logs&j=9f30ca4a-cbc5-590b-53b7-43f2804f0970&t=4fc0eabc-c9c4-5517-57a1-808bcd9cf283&s=cb72e075-ba37-5856-1fe8-5c8159c853b7

Even though we try to ignore this the last exit code was still non-zero so the step failed.