DEVX-142: Fix tea CLI login failure handling in publish workflow #224

Merged
emil merged 0 commits from DEVX-142-tea-login-failure-handling into master 2026-07-16 14:26:16 +00:00
Owner
No description provided.
emil added 1 commit 2026-07-16 14:25:09 +00:00
fix: tea CLI login failure handling, error messages, release retry
CI / validate (pull_request) Successful in 52s
CI / auto-merge (pull_request) Successful in 15s
2698145a36
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>
emil reviewed 2026-07-16 14:25:58 +00:00
emil left a comment
Author
Owner

Automated PR Review

  • Architecture compliance: OK
  • Best practices: OK
  • Security: OK
  • i18n: OK
  • Resource management: OK
  • Documentation: OK
  • Tests: OK
  • Commit conventions: OK

No issues found by automated checks.


Auto-merge: If all CI checks pass, this PR will be merged automatically.

## Automated PR Review - Architecture compliance: OK - Best practices: OK - Security: OK - i18n: OK - Resource management: OK - Documentation: OK - Tests: OK - Commit conventions: OK No issues found by automated checks. --- **Auto-merge:** If all CI checks pass, this PR will be merged automatically.
kireto approved these changes 2026-07-16 14:26:12 +00:00
kireto left a comment
Member

Auto-approved: all CI checks passed (validate job).

Auto-approved: all CI checks passed (validate job).
emil merged commit a7a8637244 into master 2026-07-16 14:26:16 +00:00
emil deleted branch DEVX-142-tea-login-failure-handling 2026-07-16 14:26:16 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: oblachno-oss/devx#224