There's a sporadic issue with saving deployment state when concurrently provisioning Azure resources during deployment, even after the changes in #11974.
22:33:17 (deploy-compute) ✗ Deploying api: Failed to deploy api: Deployment failed: An item with the same key has already
been added. Key: Deployments (Parameter 'key') (20.8s)