get-diff: support paginating past 5000-entity cap (read-only mode)
A
Abhishek Deb
Problem
get-diff <source> <target>
is capped at 5000 entities per invocation due to the Port search API limit. For blueprints with >5000 entities (e.g. pull requests in large orgs), there is no supported way to validate full entity parity before committing to migration.Current behavior
Only the first 5000 entities are compared. No pagination option exists for
get-diff
.Expected behavior
A
--auto
or --paginate
flag for get-diff
that walks the full source blueprint in batches — read-only, no ownership transfer — and produces a full diff result file, analogous to migrate --auto
.Customer impact
Migration validation is blocked for customers with >5000 entities in a blueprint (rollout blocker).