Skip to content
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

New meaning for -o argument of force:source:deploy breaks existing usages of original meaning #2080

Closed
SCWells72 opened this issue Apr 18, 2023 · 3 comments
Labels
bug Issue or pull request that identifies or fixes a bug

Comments

@SCWells72
Copy link

I've been hearing about failures during IC2 deployment using force:source:deploy of late, and one user tracked it down to a new meaning for the existing -o argument:

FLAGS
  -o, --ignoreerrors                                                                                                 Ignore any errors and don't roll back deployment.
  -o, --target-org=<value>                                                                                           (required) Username or alias of the target org.

The first is the original meaning and the second is new, but now when IC2 invokes that command as it always has, it fails with:

{
  "code": 1.0,
  "message": "Parsing --target-org \n\tNo authorization information found for -g.\nSee more help with --help",
  "name": "NamedOrgNotFoundError",
  "status": 1.0,
  "stack": "NamedOrgNotFoundError: Parsing --target-org \n\tNo authorization information found for -g....",
  "exitCode": 1.0,
  "warnings": [
    "We plan to deprecate this command in the future. Try using the \"project deploy start\" command instead."
  ]
}

I can change IC2 to use the long form --ignoreerrors, but this is another example of a breaking change to what should be a 100% reliable, stable API with, at most, a planned and scheduled deprecation lifecycle.

@SCWells72 SCWells72 added the investigating We're actively investigating this issue label Apr 18, 2023
@github-actions
Copy link

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.

@WillieRuemmele WillieRuemmele added bug Issue or pull request that identifies or fixes a bug and removed investigating We're actively investigating this issue labels Apr 18, 2023
@git2gus
Copy link

git2gus bot commented Apr 18, 2023

This issue has been linked to a new work item: W-13056553

@WillieRuemmele
Copy link
Member

Hey @SCWells72 - sorry for breaking this - we've fixed it in latest-rc which will be promoted to latest tomorrow morning, hopefully this wasn't too much of a pain for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug
Projects
None yet
Development

No branches or pull requests

2 participants