Notify When Metadata Is Not Enabled for Deployment
It would be helpful to have a warning/notification when metadata is added to a branch through a comparison but is not enabled for deployment.
We recently ran into a situation where the comparison allowed us to select managed package components and add them to the branch. However, the related metadata was not enabled for deployment, so those components were present in the branch but were not actually deployed to the target org.
It would be useful to have this notification either:
During comparison, when selecting metadata that is not enabled for deployment, or
When promoting the PR, if the PR contains metadata that will not be deployed because it is disabled.
This should also cover managed package metadata.
The goal is simply to make the team aware of this mismatch so we can decide whether to enable the metadata for deployment or remove it from the branch. This would help avoid having metadata in a branch/PR that is silently excluded from the deployment.