b5bc22834c83910f5116f7b57c4e5bca3e2d3c50
6 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
b5bc22834c |
refactor(#778): 统一Storage接口,定义StoragePort+SharedStorageService作为唯一入口
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 23s
CI/CD Pipeline / Validate - Type Check (mypy) (pull_request) Successful in 1m29s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 58s
CI/CD Pipeline / Validate - Migration (alembic) (pull_request) Successful in 1m18s
CI/CD Pipeline / Validate - Code Quality (pull_request) Failing after 2m20s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 1m22s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 55s
Preview Deploy / Deploy Preview Environment (pull_request) Failing after 27s
AI Code Review / AI Code Review (pull_request) Successful in 3m52s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m32s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 5m59s
CI/CD Pipeline / Unit Tests (pull_request) Has been cancelled
CI/CD Pipeline / Integration Tests (pull_request) Has been cancelled
CI/CD Pipeline / PR Build Worker Image (pull_request) Has been cancelled
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (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 / ACR Image Cleanup (pull_request) Has been cancelled
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 1300h41m25s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 1300h41m29s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 1300h41m31s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 1300h46m48s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 1300h46m50s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 1300h46m52s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 1301h13m53s
- 新增 packages/ports/storage_port.py → StoragePort 抽象接口(12个核心方法) - SharedStorageService 实现 StoragePort,整合两套实现的全部能力 - 新增 upload_file_smart():大文件分片上传+超时保护(从oss_helpers合并) - 新增 download_asset():自动识别URL/存储键,支持HTTP+SDK双路径 - 新增 resolve_asset_path() / resolve_asset_ids_to_paths():素材路径解析+缓存 - 新增 normalize_storage_key() 公开方法 - connect_timeout=10s 防挂死 - oss_helpers 保留为独立实现(向后兼容,后续逐步迁移) - 全量单测 4383 passed, 8 skipped |
||
|
|
40cb1ab8f3 |
fix(P0): 成片库download_url签名修复 + 删除接口补齐 (#531)
CI Build & Deploy Pipeline / Build Staging API Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Staging Web Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Has been cancelled
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
CI Build & Deploy Pipeline / Staging E2E Tests (push) Has been cancelled
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Has been cancelled
CI Build & Deploy Pipeline / Build Production API Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Production Web Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Production Worker Image (push) Has been cancelled
CI Build & Deploy Pipeline / Deploy Production (push) Has been cancelled
CI Build & Deploy Pipeline / Production Browser E2E (push) Has been cancelled
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1437h6m35s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been skipped
CI/CD Pipeline / Unit Tests (push) Has been skipped
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Has been skipped
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com> Co-committed-by: xiaoxia <dev@xiaoxiajianji.com> |
||
|
|
531aacb57e |
fix(code-quality): 第二批 - B904 raise-without-from 批量修复 (71个) (#353)
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
CI/CD Pipeline / Build Staging API Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Worker Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Web Image (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (push) Has been cancelled
CI/CD Pipeline / Build Production API Image (push) Has been cancelled
CI/CD Pipeline / Build Production Worker Image (push) Has been cancelled
CI/CD Pipeline / Build Production Web Image (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
|
||
|
|
a3967c6829 |
Phase 4 Backend P0 cleanup
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 6s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 10s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 1m6s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 28m22s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1557h41m3s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1557h41m4s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1557h41m4s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Failing after 1557h41m6s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1558h12m39s
CI/CD Pipeline / Build Production Runtime Images (pull_request) Failing after 1558h12m41s
1. Remove unused aiosmtplib dependency from requirements.txt
2. Remove 5 unused config items (API_PREFIX, REDIS_MAX_CONNECTION,
JWT_SECRET_KEY_OLD, SECRET_ROTATION_DAYS, LOG_LEVEL) from config.py,
.env.production.example, and init_production_env.sh.
Kept ENABLE_REDIS_SESSIONS (actively used in dependencies.py).
3. Fix project permission check TODOs in test_error_scenarios.py —
permissions are implemented, updated assertions to expect 403.
4. Merge two Storage implementations into shared package:
- packages/shared/storage.py: merged API features (HTTPS endpoint
fix, diagnose(), detailed logging) into SharedStorageService
- apps/api/app/core/storage.py: thin re-export wrapper for
backward compatibility
- Updated test mocks to target packages.shared.storage
|
||
|
|
1217d8cef0 |
style: apply isort formatting to pass CI validation (#129)
Deploy / Deploy Staging (push) Failing after 210h35m44s
CI/CD Pipeline / Frontend Lint (push) Failing after 210h36m11s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 210h36m17s
Deploy / Production Browser E2E (push) Failing after 1869h11m12s
Deploy / Build Production Runtime Images (push) Failing after 1869h11m17s
Deploy / Deploy Production (push) Failing after 1869h42m35s
|
||
|
|
c98ab4c1ef | feat: decouple API and Worker cross-service dependencies |