Files
fission-src/doc/thinking/2026-04-26-namespace-manager-step8.md
T

25 lines
817 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 2026-04-26 — NamespaceManager rewrite, step 8
## Цель шага
Добавить skeleton `NamespaceManager` с in-memory state и unit tests.
## Что меняем
1. Добавляем interface `NamespaceManager`.
2. Добавляем in-memory реализацию с mutex.
3. Добавляем операции:
- `Snapshot()`
- `SnapshotRecords()`
- `Get()`
- `Upsert()`
- `MarkPartState()`
- `Remove()`
4. Добавляем unit tests на snapshot/get/upsert/remove/part-state.
## Что НЕ меняем
- не подключаем manager к watcher-ам;
- не меняем текущий resolver path;
- не трогаем runtime components;
- не затрагиваем отдельное незакоммиченное изменение в `serviceaccount.go`.