Skip to content

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

@Sahil4883

Description

@Sahil4883

👟 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?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions