fix(diff): merge template records sharing name+type into one RRset
Two template rows at the same name and type (e.g. two MX) produced two diffs with one key; each PATCH replaced the whole provider RRset, so only the last value survived. Merge values by key before diffing. docs: add lint/single-test commands and compose files to CLAUDE.md Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5e12c4729b
commit
c5f1e64873
3 files changed
+66
-5
No files matched your search
@@ -15,11 +15,13 @@ make build-all # web + build
|
||||
make docker-up # docker compose: app + postgres (собирает образ)
|
||||
|
||||
cd web && npm run test -- --run # фронт-тесты (Vitest)
|
||||
cd web && npx vitest run src/path/File.test.tsx # один фронт-тест
|
||||
cd web && npm run lint # oxlint
|
||||
cd web && npx tsc --noEmit # проверка типов
|
||||
cd web && npm run build # прод-сборка фронта
|
||||
cd web && npm run build # прод-сборка фронта (tsc -b && vite build)
|
||||
```
|
||||
|
||||
Конфигурация только через env: `DNS_AR_DB_DSN`, `DNS_AR_ENC_KEY` (base64, декодит в **ровно 32 байта**; `openssl rand -base64 32`), `DNS_AR_LISTEN` (default `:8080`). Миграции (goose) гоняются приложением на старте.
|
||||
Конфигурация только через env: `DNS_AR_DB_DSN`, `DNS_AR_ENC_KEY` (base64, декодит в **ровно 32 байта**; `openssl rand -base64 32`), `DNS_AR_LISTEN` (default `:8080`). Миграции (goose) гоняются приложением на старте. Compose-файлы: `docker-compose.yml` (локально), `docker-compose-prod.yml` (прод). `AGENTS.md` — копия этого файла для Codex (untracked): при правках синхронизировать или не коммитить.
|
||||
|
||||
## Критичные подводные камни
|
||||
|
||||
|
||||
Reference in new issue
Block a user