-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
regression: sfdx package1 version list output only contains first 2000 entries in most recent versions #2073
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
This issue has been linked to a new work item: W-13047283 |
Hi @mshanemc - just tried version 7.200.7, but unfortunately I have to report that the number of lines printed is still the same 2000 lines as when using version 7.191. Could you reopen this issue? Happy to help debugging |
We dug in and found that the tooling API will gack if you try to query PackageVersion with an OFFSET parameter ( to try to get records after 2000). You can verify this via I'm going to mark it as owned by the Packaging team, and cases are required to help them proritize. |
We have determined that the issue you reported exists in code owned by another team that uses only the official support channels. To ensure that your issue is addressed, open an official Salesforce customer support ticket with a link to this issue. We encourage anyone experiencing this issue to do the same to increase the priority. We will keep this issue open for the community to collaborate on. |
This issue is fixed in version 2.28.6. |
Summary
sfdx package1 version list output only contains first 2000 entries when you use a recent version of the CLI, older versions return more entries. Looks like the new implementation does not page over multiple pages if they are available.
Steps To Reproduce:
It's easy to reproduce using our release org, happy to provide login access if necessary.
Install version 7.139 of the CLI, this results in 2534 results (first two lines are the column headers)
$ sfdx force:package1:version:list -u hr2day-dev | wc
2536 18230 266559
Install version 7.191.3 of the CLI, this results in 2000 results
$ sfdx package1 version list -o hr2day-dev | wc
2002 14494 224432
Expected result
also using 7.193 and later you'd expect all results to be available
Actual result
result is clipped to the first 2000 entries
System Information
The text was updated successfully, but these errors were encountered: