console icon indicating copy to clipboard operation
console copied to clipboard

🐛 Bug Report: Empty GitHub repo created even when site limit is exceeded

Open sahils0 opened this issue 6 months ago • 4 comments

👟 Reproduction steps

  1. Go to console then sites and make sure you already have 1 site in free plan
  2. Click on create site and select on clone template then go through the setup and choose Connect your repository
  3. After set click on deploy and you'll see a message saying "The maximum number of sites allowed for the selected plan has reached. Upgrade to increase the limit."
  4. Go to your GH repositories and you'll see an empty repo created of the same failed deployment without any code in it

👍 Expected behavior

If the site generation limit is exceeded, no repository should be created on the user's GitHub account, or alternatively, a full clone of the repository should be created instead

👎 Actual Behavior

If the site limit exceeds then there's an empty repository on the user's GH account which they had to delete manually and that is not ideal

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • [x] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

sahils0 avatar Aug 03 '25 18:08 sahils0