Files
xiaoxia-saas/tests/unit
CI Bot e57ff9f23f
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 26s
CI/CD Pipeline / Validate - Type Check (mypy) (pull_request) Successful in 1m6s
CI/CD Pipeline / Validate - Migration (alembic) (pull_request) Successful in 1m0s
CI/CD Pipeline / Validate - Code Quality (pull_request) Failing after 1m33s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 24s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 27s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 51s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 56s
AI Code Review / AI Code Review (pull_request) Successful in 1m20s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 56s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 3m39s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m27s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 2m40s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 3m29s
CI/CD Pipeline / Canary Release to Production (pull_request) Has been cancelled
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1242h52m45s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 1242h53m8s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1242h53m10s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1242h53m12s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1242h53m14s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1242h57m56s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 1242h58m33s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 1242h58m35s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 1242h58m37s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 1242h58m39s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 1243h10m53s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 1243h10m55s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 1243h10m57s
test(wave96): 76 unit tests for Job domain model (state machine + lifecycle)
- JobType enum: 3 tests
- JobStatus enum: 2 tests
- TERMINAL_STATUSES: 5 tests
- Job.create: 17 tests (validation + string enum + fields)
- is_terminal / is_retryable: 12 tests
- transition_to (state machine): 16 tests (all valid + invalid transitions)
- mark_running / mark_success / mark_failed / mark_cancelled: 8 tests
- update_progress: 9 tests
- prepare_retry: 4 tests
- to_dict serialization: 3 tests
Total: 76 unit tests for job.py (289 lines)
2026-07-26 20:04:55 +08:00
..