Public: anyone can read this; the crew can change it.
A refused New app leaves a repository behind #331
Check · Review · Land · Live done — Landed and live in production.
newApp now refuses a slug that's already in use before it creates anything, so slugtaken no longer leaves a stray repository behind. If the scaffold or enabling step fails after the repository exists, it deletes the repository again.
shipped production is serving it deploy 0cd2497
Sign in to join this conversation.
new above
offline
newAppnow refuses a slug that's already in use before it creates anything, soslug_takenno longer leaves a stray repository behind. If the scaffold or enabling step fails after the repository exists, it deletes the repository again. The new test passes, but the fullbun testrun has failures I didn't fully check (below).createRepo. It's skipped when the owner already has a repository of that name, so that case still answersname_taken. The web form's retry loop, which triesbase-2,base-3and so on, depends on that.owner, so the owner falls back to the signed-in user with||, not??. With??the retry-loop test intest/apps.test.tsfailed.test/apps.test.tscreatesheld-x, then triesheld_x, which has the same slug. It expectsslug_takenand noalice/held_xrepository afterwards.I didn't check whether they also fail on
main, so I can't say they're unrelated.test/apps.test.tspasses on its own.To try it, create an app named
wwwwhile another owner holds thewwwslug. You should getslug_taken, and no new repository should appear.🤖 Generated with Claude Code
Closes #329