Skip to content

[Feat] Deploy DataSpace-Scoped Components with their retrieveWith Clo… - #1714

Open
WillieRuemmele wants to merge 5 commits into
mainfrom
ag/d360
Open

WillieRuemmele wants to merge 5 commits into
mainfrom
ag/d360

Conversation

@WillieRuemmele

Copy link
Copy Markdown
Contributor

…sure (#1649)

  • feat: deploy dataspace-scoped components with their retrieveWith closure

  • refactor: follow SDR rename to d360 strategy and expandD360ComponentSet

  • fix: add the Data Cloud closure to the deploy set in place

Follows the SDR change: expandD360ComponentSet now adds the peers to the set it is given, so the deploy keeps its destructive changes, API versions, and wildcard entries.

  • refactor: refer to the Data Cloud sidecar field as deploysWith

The org now writes deploysWith in place of retrieveWith. Only comments change.

  • fix: build the Data Cloud deploy closure through ComponentSetBuilder

The deploy set is now built with forDeploy, so the source library adds each Data Cloud component's deploysWith peers while it builds the set. The plugin no longer resolves the whole project to expand the closure on its own.

  • fix: preview a D360 dataspace request as the local file deploy sends

A D360 component requested as . is stored locally under its bare name, so no local file has the requested name. Preview tried to generate file paths for it and failed with "Type not supported for filepath generation".

Preview now lists that request once, under the requested name, with the local file the deploy sends for it, and its peers under their own names. The preview list matches the components the deploy sends.

  • fix: preview D360 local changes with the peers deploy sends

With no flags, deploy preview listed source tracking's local changes as they were. The deploy adds the peers each D360 component deploys with inside ComponentSet.deploy(), which preview never calls, so preview listed only the changed component.

The no-flags set now gets the same peer expansion. The expansion skips what is already in the set, so the deploy sends the same components as before, and the peers stay out of package.xml.

  • refactor: preview what a deploy sends through the SDR view

Preview reads ComponentSet.getComponentsToDeploy() for a deploy, so the D360 peers and the . mapping come from SDR and the plugin only formats the rows.

The no-flags path no longer expands the source tracking set itself, since the view and deploy() add the peers. Retrieve preview is unchanged.

What does this PR do?

What issues does this PR fix or reference?

…sure (#1649)

* feat: deploy dataspace-scoped components with their retrieveWith closure

* refactor: follow SDR rename to d360 strategy and expandD360ComponentSet

* fix: add the Data Cloud closure to the deploy set in place

Follows the SDR change: expandD360ComponentSet now adds the peers to the set it
is given, so the deploy keeps its destructive changes, API versions, and
wildcard entries.

* refactor: refer to the Data Cloud sidecar field as deploysWith

The org now writes deploysWith in place of retrieveWith. Only comments change.

* fix: build the Data Cloud deploy closure through ComponentSetBuilder

The deploy set is now built with forDeploy, so the source library adds each Data Cloud component's
deploysWith peers while it builds the set. The plugin no longer resolves the whole project to
expand the closure on its own.

* fix: preview a D360 dataspace request as the local file deploy sends

A D360 component requested as <dataspace>.<name> is stored locally under its bare name,
so no local file has the requested name. Preview tried to generate file paths for it and
failed with "Type not supported for filepath generation".

Preview now lists that request once, under the requested name, with the local file the
deploy sends for it, and its peers under their own names. The preview list matches the
components the deploy sends.

* fix: preview D360 local changes with the peers deploy sends

With no flags, deploy preview listed source tracking's local changes as they were. The deploy
adds the peers each D360 component deploys with inside ComponentSet.deploy(), which preview
never calls, so preview listed only the changed component.

The no-flags set now gets the same peer expansion. The expansion skips what is already in the
set, so the deploy sends the same components as before, and the peers stay out of package.xml.

* refactor: preview what a deploy sends through the SDR view

Preview reads ComponentSet.getComponentsToDeploy() for a deploy, so the D360 peers and the
<dataspace>.<name> mapping come from SDR and the plugin only formats the rows.

The no-flags path no longer expands the source tracking set itself, since the view and
deploy() add the peers. Retrieve preview is unchanged.
@WillieRuemmele
WillieRuemmele requested a review from a team as a code owner December 3, 2026 16:04
@salesforce-cla

salesforce-cla Bot commented Dec 3, 2026

Copy link
Copy Markdown

Thanks for the contribution! Before we can merge this, we need @aparnagoy to sign the Salesforce Inc. Contributor License Agreement.

@salesforcecli salesforcecli deleted a comment from github-actions Bot Dec 3, 2026
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.

3 participants