Adding deploy extension results - #1647
Open
arushisinhaa wants to merge 2 commits into
Open
arushisinhaa wants to merge 2 commits into
arushisinhaa wants to merge 2 commits into
Conversation
|
Thanks for the contribution! Unfortunately we can't verify the commit author(s): Arushi Sinha <a***@s***.com>. One possible solution is to add that email to your GitHub account. Alternatively you can change your commits to another email and force push the change. After getting your commits associated with your GitHub account, refresh the status of this Pull Request. |
This was referenced Sep 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Include Metadata deploy extension status on
sf project deploy report(and the shared deploy report table).Stack:
DeployResult.deployExtensionResultsDesign
A Metadata Deploy (API 67+, Core 262) can start a deploy extension after the zip save succeeds. Datakit automated deploy is one of those: the main MDAPI deploy is already
Succeededwhile the kit job is stillInProgress.Core already returns this on SOAP
checkDeployStatus. Workbench shows it. The Salesforce CLI did not, because jsforce dropped the field and the plugin never rendered it.How MDAPI looks (SOAP
checkDeployStatus)DeployResultincludes an optional repeating child (API 67+):typestringDeployExtensionTypeAPI value, e.g.DataKitPostDeployFlowstatusstringNew/InProgress/Succeeded/Failedmessagestring(optional)Example SOAP fragment:
Component deploy status and extension status are independent. The zip can be
Succeededwhile the extension is stillInProgress— that is the Workbench screenshot below.How CLI looked before vs after
Before:
sf project deploy start/sf project deploy reportonly showed the top-level deploy (Status: Succeeded, component counts, etc.).deployExtensionResultsnever appeared.After: the deploy report table adds one row per extension:
deployextension.DataKitPostDeployFlow{"status":"InProgress"}while the kit job runsdeployextension.DataKitPostDeployFlow{"status":"Succeeded"}when the extension finishesdeployextension.DataKitPostDeployFlow{"status":"Failed","message":"<error>"}on failuremessageis only added to that JSON when status isFailed. The formatter readsdeployExtensionResultsas a plain object (no SDR type import) so this plugin can ship even if SDR types lag.Screenshots: Workbench
checkDeployStatus(MDAPI) and CLI deploy report after the change.