From #3938 (review):
question: Is it expected that using the same variable name and project scope does not work? If so, could we add a validation error message telling the user that this variable name for this scope alr[e]ady exists? Feel free to open a follow up issue for this. 🏓