Today, while trying to deploy a fresh scratch org, I received a familiar error.
The signup request failed because this organization has reached its active scratch org limit
Typically the way to handle this is to run a force:org:delete
request from Salesforce CLI, to clean up an old scratch org that is no longer needed, but which hasn't yet expired on its own. Alternatively, one can log into the devhub org, to access and delete a scratch org via the UI.
For my dev hub, I have a limit of three scratch orgs. However only one org is showing up as existing, both via the command line and in the UI. I believe I hit the limit because I had to keep retrying the creation command, due to its timing out several times today. But it seems that one part of Salesforce believes the failed org exists, and another part does not. How can I fix this?