fix: handle Cloud Run 409 by linking to existing service; show provisioning spinner not failure

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-19 17:31:01 -08:00
parent f4ab70822c
commit b42edbe681
2 changed files with 14 additions and 2 deletions

View File

@@ -329,9 +329,11 @@ export function ProjectCreationModal({
{createdTheiaUrl ? (
<CheckCircle2 className="h-3.5 w-3.5 text-green-500 shrink-0" />
) : (
<XCircle className="h-3.5 w-3.5 text-yellow-500 shrink-0" />
<Loader2 className="h-3.5 w-3.5 text-blue-400 shrink-0 animate-spin" />
)}
Dedicated IDE workspace{createdTheiaUrl ? ` at ${createdTheiaUrl.replace('https://', '')}` : ' — provisioning failed'}
Dedicated IDE workspace{createdTheiaUrl
? ` at ${createdTheiaUrl.replace('https://', '')}`
: ' — provisioning in background (ready in ~30s)'}
</li>
</ul>
</div>