Skip to content

feat: add package trust link approve command - #1277

Open
btrn11 wants to merge 1 commit into
packaging-distribution/spifrom
t/packaging-distribution/link-approve
Open

feat: add package trust link approve command#1277
btrn11 wants to merge 1 commit into
packaging-distribution/spifrom
t/packaging-distribution/link-approve

Conversation

@btrn11

@btrn11 btrn11 commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add beta sf package trust link approve for verified PBO admins
  • require exactly one of --request <2vt...> or --authoring-org <00D...> and delegate approval to PackageTrustLink.approve
  • return an Accepted result with command output, JSON schema, and command snapshot coverage
  • consume @salesforce/packaging@5.0.9-spi.4 from forcedotcom/packaging#921

Test plan

  • clean yarn install --frozen-lockfile from the public npm URL
  • yarn test
  • request-ID and authoring-org selector unit tests
  • missing, conflicting, and wrong-prefix selector validation

Allow verified PBO admins to accept a pending trust link by request ID or
authoring org through the published packaging API.
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.

1 participant