gpt-5.3-codesx review: Phase 5 Release Readiness & Contract Enforcement
Quality Gate / gate (push) Failing after 10s

This commit is contained in:
Jim Lancaster
2026-08-20 08:42:51 -05:00
parent cdd846fe29
commit 443a1e29c8
7 changed files with 62 additions and 379 deletions
+12
View File
@@ -0,0 +1,12 @@
from transcription.errors import AppError
from transcription.errors import ErrorCategory
from transcription.ui.components.error_presenter import display_error_category
def test_display_error_category_uses_canonical_taxonomy():
assert display_error_category(AppError("x", category=ErrorCategory.USER_INPUT)) == "validation"
assert display_error_category(AppError("x", category=ErrorCategory.NOT_FOUND)) == "not_found"
assert display_error_category(AppError("x", category=ErrorCategory.CONFLICT)) == "conflict"
assert display_error_category(AppError("x", category=ErrorCategory.EXTERNAL_PROVIDER)) == "external"
assert display_error_category(AppError("x", category=ErrorCategory.INFRA_TRANSIENT)) == "timeout"
assert display_error_category(AppError("x", category=ErrorCategory.INFRA_PERSISTENT)) == "internal"