Public Access
configure_tea_login silently ignored tea login add/default failures, causing cryptic "no available login" errors in subsequent tea commands. Now raises TeaCLIError with stdout/stderr on failure. TeaCLI._run now includes stdout in error messages (tea writes some errors like "no available login" to stdout, not stderr). publish.py retries Gitea release creation up to 3 times with exponential backoff (2s, 4s) on transient failures. "Already exists" errors are treated as success (idempotent, no retry). Root cause: CI run #2822 — post-merge/release-and-maintain failed creating Gitea release v0.38.1 because tea login add silently failed. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>