-
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
"force:org:list --json" doesn't accurately report dev hub status #482
Comments
@clairebianchi can you provide any status update on this one? As you can hopefully appreciate, not being able to determine that an org is enabled as a dev org is an impediment to tooling that integrates scratch org creation. There's no definitive way to know which orgs are factories for scratch orgs. |
Hi @SCWells72, it is on our backlog. Due to some resourcing issues we are having, I can't give you a timeline. I apologize. |
@clairebianchi thanks for getting back. No problem. That tells me what I need to know. I think I'll make it possible for users to optionally choose orgs that aren't listed as dev hubs when creating a scratch org in case they're hitting this bug. Perhaps a "Show all orgs" checkbox with a disclaimer that not all listed orgs are necessarily dev hubs and the operation may fail. Take care and thanks again for the follow-up. |
This may be fixed in the new open-source version. You can try it early, here: #835 |
This issue has been linked to a new work item: W-8881661 |
IC uses the
isDevHub
property of an org in the output offorce:org:list --json
to determine whether a given org is configured as a dev hub. However, I've had a number of users provide output of that command that shows the following:Notice that
isDevHub
is completely missing butisDefaultDevHubUsername=true
. I'm updating IC to infer the former from the latter when not present, but this seems like a bug to me sinceisDevHub
is (to my understanding) the authoritative designator for a dev hub org.The text was updated successfully, but these errors were encountered: