Skip to content

Conversation

@scbedd
Copy link
Member

@scbedd scbedd commented Jan 15, 2025

The issue this PR is resolving is highlighted in this pr step

Note that we're saying

for this stage, only look at the indirect included packages

However, due to the order of operations, we resolve the set of direct changed packages first, then we walk each of them checking to see if there are additional packages that they should also include if they are changed. In the example PR above, we directly changed azure-core-opencensus, but because it was also an additionalValidationPackage for azure-core, it was getting marked as an indirect package. This PR fixes our logic so that if a package is directly changed, we always count is as such, instead of accidentally overriding and claiming it is an includedForValidation package.

… are NOT counted as 'includedForValidation: true' if they also exist in the original 'these packages changed' set
@scbedd scbedd requested a review from a team as a code owner January 15, 2025 00:20
@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

@scbedd scbedd self-assigned this Jan 15, 2025
@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

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

---------

Co-authored-by: Scott Beddall <[email protected]>
Co-authored-by: Scott Beddall <[email protected]>
Co-authored-by: Ben Broderick Phillips <[email protected]>
@scbedd scbedd merged commit c7d1b42 into Azure:main Jan 15, 2025
12 checks passed
swathipil pushed a commit to swathipil/azure-sdk-tools that referenced this pull request Feb 4, 2025
…ValidationPackages set are handled properly (Azure#9635)

* ensure that packages that come back from AdditionalValidationPackages are NOT counted as 'includedForValidation: true' if they also exist in the original 'these packages changed' set

Co-authored-by: Ben Broderick Phillips <[email protected]>

---------

Co-authored-by: Ben Broderick Phillips <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants