style: auto-format with black + isort + prettier [skip ci-format-check]
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 28s
CI/CD Pipeline / Validate - Type Check (mypy) (pull_request) Successful in 53s
CI/CD Pipeline / Validate - Migration (alembic) (pull_request) Failing after 54s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 1m10s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 2m2s
AI Code Review / AI Code Review (pull_request) Successful in 2m4s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 2m3s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 2m4s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m37s
CI/CD Pipeline / Validate - Code Quality (pull_request) Successful in 4m30s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 1m17s
CI/CD Pipeline / Unit Tests (pull_request) Has been cancelled
CI/CD Pipeline / Build Production API Image (pull_request) Has been cancelled
CI/CD Pipeline / Build Production Web Image (pull_request) Has been cancelled
CI/CD Pipeline / Build Production Worker Image (pull_request) Has been cancelled
CI/CD Pipeline / Deploy Production (pull_request) Has been cancelled
CI/CD Pipeline / Production Browser E2E (pull_request) Has been cancelled
CI/CD Pipeline / Canary Release to Production (pull_request) Has been cancelled
CI/CD Pipeline / CI Gate (pull_request) Has been cancelled
CI/CD Pipeline / PR Build Web Image (pull_request) Failing after 929h39m18s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 929h39m45s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 929h39m19s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 929h39m46s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 929h39m47s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 929h39m47s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 929h39m48s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 930h12m44s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 930h13m11s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 930h13m13s

This commit is contained in:
CI Bot
2026-08-08 13:47:15 +00:00
parent 7d4e1b1b2f
commit 631591ff88
+7 -4
View File
@@ -60,10 +60,13 @@ class StubGenerationTaskRepository:
return len([t for t in self._store.values() if t.created_by_user_id == user_id])
def count_pending_by_user(self, user_id: str) -> int:
return len([
t for t in self._store.values()
if t.created_by_user_id == user_id and t.status == GenerationTaskStatus.PENDING
])
return len(
[
t
for t in self._store.values()
if t.created_by_user_id == user_id and t.status == GenerationTaskStatus.PENDING
]
)
def count_pending_total(self) -> int:
return len([t for t in self._store.values() if t.status == GenerationTaskStatus.PENDING])