Build 060.28: implement Persistent Checkpoint and Startup Recovery

This commit is contained in:
2026-08-01 20:55:32 +03:00
parent 58e5a12a4d
commit 8c485e32b1
63 changed files with 12430 additions and 92 deletions

View File

@@ -6,10 +6,10 @@
|---|---|
| Тип | Master Delivery Roadmap |
| Статус | Active |
| Версия | 2.1 |
| Версия | 2.2 |
| Дата актуализации | 2026-08-01 |
| Текущий завершённый Build | 060.27 |
| Текущий Build | 060.28 — Planned |
| Текущий завершённый Build | 060.28 |
| Текущий Build | 060.29 — Planned |
---
@@ -42,26 +42,26 @@ test evidence находятся в документах конкретных Bu
```text
Market Data Acquisition
Persistent Market Data Storage завершён
Persistent Checkpoint and Startup Recovery завершён
Build 060.27
Build 060.28
Completed → следующий Build 060.28
Completed → следующий Build 060.29
```
Build 060.27 завершён и принят:
Build 060.28 завершён и принят:
- реализованы versioned PostgreSQL migrations и управляемый pool;
- созданы Canonical repositories для Trades, Quotes и Candles;
- реализованы monthly partitions, provenance и opt-in retention;
- Trade Runtime сохраняет Live и Recovery Trades до checkpoint;
- Bootstrap управляет порядком Storage startup и shutdown;
- real PostgreSQL integration и финальная регрессия приняты.
- persistent checkpoint подтверждается Canonical Trade history;
- Trade и checkpoint продвигаются одной PostgreSQL transaction;
- при запуске восстанавливаются checkpoint и deduplication tail;
- Startup Recovery завершается до buffered Live processing;
- Bootstrap и cancellation сохраняют строгий lifecycle pool/Runtime;
- restart/failure, concurrency и финальная регрессия приняты.
Подробности:
```text
docs/migrations/build_060_27_architecture.md
docs/migrations/build_060_28.md
```
---
@@ -82,6 +82,7 @@ docs/migrations/build_060_27_architecture.md
| 060.25 | Production Runtime Integration | Completed |
| 060.26 | Integration and Regression | Completed |
| 060.27 | Persistent Market Data Storage | Completed |
| 060.28 | Persistent Checkpoint and Startup Recovery | Completed |
## Build 060.26 — Integration and Regression
@@ -122,7 +123,7 @@ Build не должен превращать сетевые сценарии в
### Build 060.28 — Persistent Checkpoint and Startup Recovery
**Статус:** Planned
**Статус:** Completed
Назначение:
@@ -136,6 +137,12 @@ Build не должен превращать сетевые сценарии в
Persistent checkpoint не заменяет Market Data Storage и не должен
считаться более достоверным, чем подтверждённая сохранённая история.
Результат: после перезапуска Trade Stream восстанавливает подтверждённый
checkpoint и bounded deduplication tail, заполняет downtime gap через
REST и только затем продолжает buffered Live processing.
Подробный итог: `docs/migrations/build_060_28.md`.
### Build 060.29 — Market Data Access and Replay
**Статус:** Planned
@@ -1732,6 +1739,6 @@ read-only архитектурного анализа. Старый ориент
Актуальная контрольная точка:
```text
Завершён: Build 060.27 — Persistent Market Data Storage
Следующий: Build 060.28Persistent Checkpoint and Startup Recovery
Завершён: Build 060.28 — Persistent Checkpoint and Startup Recovery
Следующий: Build 060.29Market Data Access and Replay
```