From 53bab79c5fc4ecd28e3a1072157a2e6a0b87d6df Mon Sep 17 00:00:00 2001 From: Sergey Krylov Date: Thu, 25 Jun 2026 22:01:23 +0300 Subject: [PATCH] docs: mark all tasks complete in backend-architecture-refactor task list --- .../backend-architecture-refactor/tasks.md | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/docs/features/backend-architecture-refactor/tasks.md b/docs/features/backend-architecture-refactor/tasks.md index 091825a..6330363 100644 --- a/docs/features/backend-architecture-refactor/tasks.md +++ b/docs/features/backend-architecture-refactor/tasks.md @@ -1,21 +1,23 @@ # Backend Architecture Refactor — Tasks -Статус: draft +Статус: done -- [ ] Task 0: Baseline verification before runtime changes. -- [ ] Task 1: Mask unhandled `500` errors without changing `HttpException` responses. -- [ ] Task 2: Harden production runtime config for JWT secrets and credentialed CORS. -- [ ] Task 3: Harden portfolio position DTO validation for quantity and buyDate. -- [ ] Task 4: Localize T-Bank gRPC `any` casts behind typed facade methods. -- [ ] Task 5: Preserve cache `cachedAt` metadata on cache hits. -- [ ] Task 6: Synchronize published backend docs with current MOEX/envelope/health/T-Bank contracts. -- [ ] Task 7: Run final lint/test/build/docs quality gate and inspect final diff. +- [x] Task 0: Baseline verification before runtime changes. +- [x] Task 1: Mask unhandled `500` errors without changing `HttpException` responses. +- [x] Task 2: Harden production runtime config for JWT secrets and credentialed CORS. +- [x] Task 3: Harden portfolio position DTO validation for quantity and buyDate. +- [x] Task 4: Localize T-Bank gRPC `any` casts behind typed facade methods. +- [x] Task 5: Preserve cache `cachedAt` metadata on cache hits. +- [x] Task 6: Synchronize published backend docs with current MOEX/envelope/health/T-Bank contracts. +- [x] Task 7: Run final lint/test/build/docs quality gate and inspect final diff. ## Verification Log -- Baseline backend tests: not run yet. -- Baseline backend build: not run yet. -- Final backend lint: not run yet. -- Final backend tests: not run yet. -- Final backend build: not run yet. -- Final docs build: not run yet. +- Baseline backend tests: 30 files, 141 tests — PASS. +- Baseline backend build: PASS. +- Final backend lint: PASS. +- Final backend tests: 34 files, 158 tests — PASS. +- Final backend build: PASS. +- Final docs build: PASS. +- No `getServiceClient('X') as any` in production broker services: 0 matches. +- No `MoexClientService` or `operations/refresh` in docs: 0 matches.