Skip to content

Support for GenAiPlannerBundle metadata type anywhere #1166

@gnemiq

Description

@gnemiq

Is your proposal related to a problem?

Yes. Currently, it looks like SGD doesn’t support the genAiPlannerBundle metadata changes when it’s placed outside the default folder structure (e.g. force-app/main/default/service/live-chat/genAiPlannerBundle/ServiceAgent/ServiceAgent.genAiPlannerBundle instead of the default force-app/main/default/genAiPlannerBundles/ServiceAgent/ServiceAgent.genAiPlannerBundle).

When running the sfdx sgd:source:delta command, SGD includes the GenAiPlannerBundle metadata in the package.xml it generates, but it fails to recognise it when generating the change sources folder/zipped directory, which causes the deployment to break with this error:

An object 'ServiceAgent' of type GenAiPlannerBundle was named in package.xml, but was not found in zipped directory

Describe a solution you propose

SGD plugin to capture genAiPlannerBundle changes that placed outside the default folder structure when running the sfdx sgd:source:delta command, so that the discrepancies between package.xml and changed sources folder/zipped directory can be eliminated.

Describe alternatives you've considered

Deploying the genAiPlannerBundle metadata manually outside of CI/CD

Additional context

Installation Command: sfdx plugins:install sfdx-git-delta
Salesforce Project API Version: 60.0

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions