Skip to content

@W-21771476: feat: add HasVpi to package version list and report queries [DO NOT MERGE until 6/4 262.8 deploy]#875

Open
tporcaro-sf wants to merge 1 commit into
mainfrom
t/managed-packaging/w-21771476/display-hasvpi-field-in-package-version-commands
Open

@W-21771476: feat: add HasVpi to package version list and report queries [DO NOT MERGE until 6/4 262.8 deploy]#875
tporcaro-sf wants to merge 1 commit into
mainfrom
t/managed-packaging/w-21771476/display-hasvpi-field-in-package-version-commands

Conversation

@tporcaro-sf
Copy link
Copy Markdown
Collaborator

@tporcaro-sf tporcaro-sf commented Jun 2, 2026

@W-21771476@

Summary

  • Add HasVpi boolean field to package version list and report queries
  • Version-gated at API v67+ (app version 262)
  • Field added to Package2VersionFields, verboseFields (list), and default67Fields (report)
  • Unit tests + NUT tests for version gate behavior

Dependencies

  • Requires W-21771475 (262.8 patch) to be fully deployed (scheduled 6/4)
  • Plugin-packaging PR depends on this merging first

Test plan

  • Unit tests: constructQuery(67, verbose) includes HasVpi, constructQuery(66, verbose) excludes it
  • NUT tests: getPackage2VersionFields at v66 excludes, v67 includes
  • Manual testing on 262 devhub (hub0318) and 260 devhub (hub1215)

🤖 Generated with Claude Code

@salesforce-cla
Copy link
Copy Markdown

salesforce-cla Bot commented Jun 2, 2026

Thanks for the contribution! It looks like @tjporcaro is an internal user so signing the CLA is not required. However, we need to confirm this.

@tporcaro-sf tporcaro-sf force-pushed the t/managed-packaging/w-21771476/display-hasvpi-field-in-package-version-commands branch from 4252b5a to 9f12317 Compare June 2, 2026 18:31
@tporcaro-sf
Copy link
Copy Markdown
Collaborator Author

tporcaro-sf commented Jun 2, 2026

⚠️ NUT failures are pre-existing — not related to this PR.

The 5 failing tests exist on main and are caused by:

  • Tests 1-3: hardcoded 05i Package2Version IDs that don't exist on the CI devhub (NOT_FOUND)
  • Tests 4-5: delete operations hitting NOT_FOUND (CI devhub timing/state issue)

Our HasVpi tests pass:

  • should not contain HasVpi field with api version 66
  • should contain HasVpi field with api version 67

cc: @KSCCO @shetzel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants