What triggers this problem analyzer?
This problem analyzer is triggered when the number of Agent script components (new or changed) included in a deployment exceeds 50. You'll see a critical warning in Gearset stating that "Selected Agent script components exceed the deployment limit":
What problem is it solving?
Salesforce enforces a hard limit of 50 authoring bundles deployed in a single package. If a deployment contains more than 50 Agent script components, it will fail.
Because this is a Salesforce platform limit, Gearset cannot automatically fix it for you — the warning is non-fixable, and you'll need to manually reduce the number of components in your deployment before proceeding.
How does it work?
Gearset counts the total number of Agent script components (authoring bundles) included in the deployment — both new and changed. If this total exceeds 50, Gearset raises a critical warning.
To resolve the issue, return to the comparison results and deselect Agent script components until no more than 50 remain selected. You can then deploy the remaining components in a separate deployment.
Note: Agent script components that are being removed from the target are not counted against the limit.

