Add sfdx --wait parameter to scratch org creation dialogue to avoid timeout

Issue #2297 resolved
René Görgens created an issue

Hi Scott,

A colleague ran into the following issue:

  • Create a scratch org with a rather large org shape (Financial Services Cloud package) from a corporate network
  • The request eventually times out and the sfdx scratch org details are incomplete, preventing usage of the scratch org

According to the documentation, the default wait time for force:org:create is 6 minutes. The parameters explanation for -w | --wait WAIT says: "Specify a longer wait time if timeouts occur frequently."

However, the parameter is not addressable via the scratch org dialogue:

Could you perhaps add it? Thanks a lot.

Comments (3)

  1. Scott Wells repo owner

    Delivered in 2.2.5.3. The value isn't configurable but it's automatically set to a high value (60 mins). If it turns out that's not enough...well...I begin to question many, many things...but I'll make it configurable.

  2. René Görgens reporter

    Thank you Scott. The org shape would have to be gargantuan for that to be a problem, so I think the issue will be rare, if occurring at all.

    From a user perspective, it might be preferable to have a default of 60 mins which the user can then tune to his need, but it’s a nonissue.

  3. Log in to comment