-
-
Notifications
You must be signed in to change notification settings - Fork 141
Description
Issue verification check
- Is the current repository fully deployable at the commit SHA provided with the 'from' parameter of the command?
What is the problem?
ExperienceBundle changes not detected when experiences are outside of main/default folder. As soon as I add it back it's working as expected.
What is the parameter and the value you used with it?
$ sf sgd source delta --from sandbox01-v20260106.29 --to HEAD --output-dir delta --generate-delta --source-dir pkg-main --include-file .sgdInclude
What is the expected result?
- Delta package should include
ExperienceBundlemetadata type with memberAcme_Customer_Self_Service1(or equivalent path-based member). - Delta output folder should contain
pkg-main/main/portals/experiences/Acme_Customer_Self_Service1/and its contents (site-meta.xml, config/, routes/, brandingSets/, variations/, themes/, etc.). package.xmlshould listExperienceBundletype with the changed experience(s).
What is the actual result?
- Delta package includes
DigitalExperienceBundle(forAcme_Enrollment1underdigitalExperiences/site/) but notExperienceBundle. - No files from
pkg-main/main/portals/experiences/Acme_Customer_Self_Service1/appear in the delta output. package.xmlhas noExperienceBundletype; onlyDigitalExperienceBundleis present.git diff --name-statusshows many added files underpkg-main/main/portals/experiences/(e.g.Acme_Customer_Self_Service1.site-meta.xml,Acme_Customer_Self_Service1/routes/accountManagement.json, etc.), but sgd does not include them.
Steps to reproduce
- Use a project with
packageDirectorieswhere experiences live under a non-default path (e.g.pkg-main/main/portals). - Add or modify ExperienceBundle content under
pkg-main/main/portals/experiences/<ExperienceName>/. - Run:
sf sgd source delta --from <commit-without-changes> --to HEAD --output-dir delta --generate-delta --source-dir pkg-main --include-file .sgdInclude - Observe that
ExperienceBundleis not in the delta; onlyDigitalExperienceBundle(if present underdigitalExperiences/) is included.
Execution context
Darwin Kernel Version 25.3.0: Wed Jan 28 20:48:41 PST 2026; root:xnu-12377.81.4~5/RELEASE_ARM64_T6041
11.9.0
v25.6.1
git version 2.53.0
@salesforce/cli/2.124.7 darwin-arm64 node-v25.6.1
sfdx-git-delta 6.31.0
Operating System: macOS (Darwin 25.3.0, ARM64)
npm version: 11.9.0
node version: v25.6.1
git version: 2.53.0
sf version: 2.124.7
sgd plugin version: 6.31.0
More information (optional)
Project structure
sfdx-project.jsonpackageDirectories:pkg-main/main/portals,pkg-main/main/default(default),pkg-main/main/omni,pkg-main/main/sf-permissions- Experiences location:
pkg-main/main/portals/experiences/Acme_Customer_Self_Service1/(not undermain/default/experiences)
.sgdInclude contents
pkg-main/main/portals/experiences
pkg-main/main/
git diff --name-status (experiences folder)
$ git diff --name-status --no-renames sandbox01-v20260106.29 HEAD -- pkg-main/main/portals/experiences/
A pkg-main/main/portals/experiences/Acme_Customer_Self_Service1.site-meta.xml
A pkg-main/main/portals/experiences/Acme_Customer_Self_Service1/brandingSets/customerAccountPortal.json
A pkg-main/main/portals/experiences/Acme_Customer_Self_Service1/brandingSets/standard.json
A pkg-main/main/portals/experiences/Acme_Customer_Self_Service1/config/acmeCustomerSelfService.json
A pkg-main/main/portals/experiences/Acme_Customer_Self_Service1/config/languages.json
A pkg-main/main/portals/experiences/Acme_Customer_Self_Service1/config/loginAppPage.json
A pkg-main/main/portals/experiences/Acme_Customer_Self_Service1/config/mainAppPage.json
A pkg-main/main/portals/experiences/Acme_Customer_Self_Service1/config/nativeConfig.json
A pkg-main/main/portals/experiences/Acme_Customer_Self_Service1/routes/accountManagement.json
... (many more)