Skip to content

W-21197350: add warning message for AAB cascade delete#1502

Merged
shetzel merged 3 commits intomainfrom
er/cascadeDeleteWarning
Feb 11, 2026
Merged

W-21197350: add warning message for AAB cascade delete#1502
shetzel merged 3 commits intomainfrom
er/cascadeDeleteWarning

Conversation

@EstebanRomero84
Copy link
Contributor

What does this PR do?

The prompt confirmation message now includes the list of associated metadata that may be deleted as a result of deleting an AiAuthoringBundle.

What issues does this PR fix or reference?

@W-21197350@


# cascadeDeleteWarning

Deleting components of type "%s" may cause the org to also delete the following related metadata (cascade delete): %s.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jshackell-sfdc could you please review this message?

EstebanRomero84 and others added 2 commits February 10, 2026 14:55
Co-authored-by: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com>
@EstebanRomero84 EstebanRomero84 marked this pull request as ready for review February 10, 2026 18:57
@EstebanRomero84 EstebanRomero84 requested a review from a team as a code owner February 10, 2026 18:57
@shetzel
Copy link
Contributor

shetzel commented Feb 11, 2026

QA:
project delete source -m AiAuthoringBundle:Test_AAB1 shows the message.
project delete source -p force-app/main/default/classes doesn't show the message.

Note: deleting an AAB like this will leave the associated Bot, BotVersion, and GenAiPlannerBundle metadata in the project while they are deleted in the org. We'd have to use source tracking to bring the project back in sync, or manually delete that metadata.

@shetzel shetzel merged commit 7053925 into main Feb 11, 2026
43 checks passed
@shetzel shetzel deleted the er/cascadeDeleteWarning branch February 11, 2026 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants