dika/openspec/changes/archive/2026-11-25-dik-52-address-search/tasks.md
peppa-bot 8a02e13cce
All checks were successful
peppa/lint lint: success за 1с
peppa/test test: success за 1с
peppa/build build: success за 0с
ci / checks (pull_request) Successful in 9s
deploy / deploy (pull_request) Successful in 16s
DIK-52: архив изменения, память проекта
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 13:16:59 +00:00

17 lines
804 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.

## 1. Поиск адреса
- [x] 1.1 `src/geocode.js`: geocode(q) через Nominatim (рамка Астаны, тайм-аут, кэш, `GEOCODE_URL=off`)
- [x] 1.2 `/api/locate`: база, затем геокодер; 404 если не нашли
- [x] 1.3 Текст `addrNotFound` на ru/kk/en
## 2. Тесты
- [x] 2.1 Геокодер на моке (найдено, вне города/пусто, сбой, off)
- [x] 2.2 `/api/locate` с моком геокодера
- [x] 2.3 Сценарии задачи: уже покрыты тестами DIK-21 (lib.test.js) и DIK-20 (пустая база)
## 3. Завершение
- [x] 3.1 Проверки, проверка сервера вручную с настоящим геокодером
- [x] 3.2 Архив, память, PR