Move the limit check before triggering a prebuild #4676
Labels
component: dashboard
feature: prebuilds
meta: stale
This issue/PR is stale and will be closed soon
type: improvement
Improves an existing feature or existing code
Problem to solve
Currently, when you try to open a private repository and you don't have permissions to use private repositories with Gitpod (see Pricing) you get a Limit Reached modal which is expected. However, when you try to trigger a prebuild using the URL prefix, Gitpod goes through the first steps required for triggering the prebuild before reaching the modal.
Proposal
Although the plan is to make prebuild context URLs admin only (see #4353) it could be worth considering moving the limit check for this before triggering a prebuild. 🤷
Feel free to close this if needed. 📕
TBD (To be discussed)
The text was updated successfully, but these errors were encountered: