Skip to content

feat: add package trust link revoke command - #1278

Open
btrn11 wants to merge 2 commits into
packaging-distribution/spifrom
t/packaging-distribution/link-revoke
Open

feat: add package trust link revoke command#1278
btrn11 wants to merge 2 commits into
packaging-distribution/spifrom
t/packaging-distribution/link-revoke

Conversation

@btrn11

@btrn11 btrn11 commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add beta sf package trust link revoke for verified PBO admins
  • require exactly one of --request <2vt...> or --authoring-org <00D...> and delegate to PackageTrustLink.revoke
  • revoke accepted VerifiedDev links only (Tooling Status = Revoked); JSON schema and command snapshot coverage

Library: forcedotcom/packaging#922. Plugin CI needs that library on npm (next 5.0.9-spi.* after packaging#921 / 5.0.9-spi.4) before the pin can be bumped the way approve used 5.0.9-spi.4.

Also stacks on plugin-packaging#1277 (approve command). Extra approve commits drop out once that PR merges.

Test plan

  • yarn mocha test/commands/package/packageTrustLinkRevoke.test.ts
  • request-ID and authoring-org selector unit tests
  • missing, conflicting, and wrong-prefix selector validation
  • bump @salesforce/packaging to the published SPI build that includes revoke

btrn11 added 2 commits August 28, 2026 13:56
Allow verified PBO admins to accept a pending trust link by request ID or
authoring org through the published packaging API.
Let a Verified PBO revoke an accepted Public Secure trust link by request
ID or authoring org ID.
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