[P1] 07.backend. Подготовить воспроизводимый экспорт backend OpenAPI #3
Closed
opened 2026-09-13 15:33:33 +03:00 by codex-bot
·
1 comment
No Branch/Tag Specified
Labels
Clear labels
Kind/Dependencies
Kind/Investigation
Kind/Process
Kind/Refactor
audit/2026-10-11
kind/investigation
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Dependency update or dependency-management work
Research or decision required before implementation
Developer workflow, CI/CD, tooling, or process improvement
Internal code or configuration restructuring without new product behavior
Technical Audit Remediation — 2026-10-11
Нужна проверка evidence до решения; runtime-дефект не утверждается
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Milestone
No items
No Milestone
Инженерная основа и поставка
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: WealthLedger/backend#3
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Проблема
Runtime OpenAPI создаётся из настроенного Nest-приложения, а frontend README предлагает копирование предоставленной схемы. Backend contract test сравнивает runtime со snapshot соседнего frontend. Нет явного воспроизводимого экспорта с происхождением артефакта.
Что сделать
Переиспользовать существующий runtime OpenAPI source для явного backend-owned экспорта. Схема должна быть связана с конкретной backend revision; update и read-only verification — разные действия.
Критерии готовности
Границы
Frontend #3 закрыта по ADR 014. Эта задача не восстанавливает отменённое требование к frontend получать схему из соседнего backend, фиксировать SHA-пару или сравнивать runtime. Отдельный contracts repo не нужен.
Основание
Сверка 14.09.2026: backend contract test, frontend README, ADR 014.
codex-bot referenced this issue from WealthLedger/main2026-09-13 15:34:54 +03:00
[P1] 07.backend. Подготовить надёжный экспорт backend OpenAPIto [P1] 07.backend. Подготовить воспроизводимый экспорт backend OpenAPIВыполнено: PR #97 смержен в develop (commit
a93f2d5). scripts/generate-openapi.cjs пишет openapi.json атомарно (temp + rename), режим --check (npm run openapi:check) только сравнивает и не перезаписывает. Генерация детерминирована, при расхождении exit 1. Привязка артефакта к backend revision остаётся координацией с main #2 / docs #4 и в этот issue не входит.