Skip to content

Conversation

hcooreman-salesforce
Copy link
Collaborator

@hcooreman-salesforce hcooreman-salesforce commented Oct 21, 2025

@W-19900152@

What does this PR do?

This PR is to support ancestor checking when setting a recommended version for a given 2GP. Any recommended versions should be a descendant of prior recommended version. A SOQL query (in packaging repo) is used to find all package versions and performs depth-first search to verify an ancestor exists. Partners can bypass this using the --skip-ancestor-check flag.

What issues does this PR fix or reference?

N/A

@hcooreman-salesforce hcooreman-salesforce requested a review from a team as a code owner October 21, 2025 19:29
Copy link
Contributor

@jshackell-sfdc jshackell-sfdc left a comment

Choose a reason for hiding this comment

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

lgtm!

@shetzel shetzel merged commit 40e90c9 into main Oct 22, 2025
16 checks passed
@shetzel shetzel deleted the hc/check-recommended-version-id-ancestry branch October 22, 2025 02: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.

4 participants