deploy(ET-008): merge feature/ET-008-gps → v0.0.1, write deploy log
PR #12 merged. Frontend static deployed (gps_tracks.js 200). Backend service gps-collector pending docker compose up. Smoke: 7/8 PASS; api/gps-tracks/health 404 until service starts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
11
CHANGELOG.md
11
CHANGELOG.md
@@ -3,6 +3,17 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
|
||||
|
||||
## [v0.0.1] — 2026-06-01
|
||||
|
||||
### Added
|
||||
- ET-008: GPS-треки с публичных платформ на карте — новый модуль `src/web/gps_tracks.js`
|
||||
с отображением публичных GPS-треков (OSM Traces, enduro_russia, ttrails) в виде
|
||||
MVT-тайлов (z 8–11) и GeoJSON (z ≥ 12); фильтрация по активности и источнику,
|
||||
попап с мета-данными трека, z-order ниже личных GPX-треков (AC-10).
|
||||
Backend: FastAPI-пакет `src/api/gps_tracks/` (endpoint, MVT, LRU-кэш, дедупликация),
|
||||
миграция `migrations/gps_tracks_001_init.sql`, pipeline-скрипт `scripts/gps_collect.py`,
|
||||
Docker-сервис `gps-collector`. PR #12, tag v0.0.1.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
|
||||
52
docs/work-items/ET-008/14-deploy-log.md
Normal file
52
docs/work-items/ET-008/14-deploy-log.md
Normal file
@@ -0,0 +1,52 @@
|
||||
# Deploy Log — ET-008
|
||||
|
||||
- **Version:** v0.0.1
|
||||
- **Date:** 2026-06-01 14:32 UTC
|
||||
- **PR:** #12
|
||||
- **Branch:** feature/ET-008-gps
|
||||
- **Environment:** test (https://openclaw.mva154.duckdns.org/enduro/)
|
||||
- **Merge commit:** 04d9d3e
|
||||
- **Healthcheck:** PASS (HTTP 200, attempt 1/12)
|
||||
- **Smoke:** PARTIAL PASS
|
||||
- **Status:** SUCCESS (frontend deployed; backend service pending)
|
||||
|
||||
## Smoke results
|
||||
|
||||
| Check | Result | Notes |
|
||||
|---|---|---|
|
||||
| `GET /enduro/` | ✅ 200 | index.html |
|
||||
| `GET /enduro/app.js` | ✅ 200 | core frontend |
|
||||
| `GET /enduro/app.css` | ✅ 200 | styles |
|
||||
| `GET /enduro/gps_tracks.js` | ✅ 200 | **новый модуль ET-008** |
|
||||
| `GET /enduro/units.js` | ✅ 200 | |
|
||||
| `GET /enduro/gpx.js` | ✅ 200 | |
|
||||
| `GET /enduro/api/health` | ✅ 200 | `{"status":"ok","db_exists":true}` |
|
||||
| `GET /enduro/api/gps-tracks/health` | ⚠️ 404 | backend-сервис `gps-collector` не поднят |
|
||||
|
||||
## Что задеплоено
|
||||
|
||||
- **Frontend:** `src/web/gps_tracks.js` — новый модуль GPS-треков (588 строк)
|
||||
- **Frontend:** изменения в `app.js`, `app.css`, `index.html` (чекбокс, фильтр-панель)
|
||||
- **Backend:** `src/api/gps_tracks/` — пакет API (endpoint, mvt, db, dedup, models, sources)
|
||||
- **Migration:** `migrations/gps_tracks_001_init.sql`
|
||||
- **Scripts:** `scripts/gps_collect.py` — pipeline сбора треков
|
||||
- **Config:** `config/gps_sources.yaml`, `config/gps_regions.yaml`
|
||||
- **Docker:** новый сервис `gps-collector` в `docker-compose.yml`
|
||||
- **Tests:** 141 pytest + 22 JS unit (все зелёные на ветке)
|
||||
|
||||
## Pending actions
|
||||
|
||||
1. **Backend service start:** запустить `docker compose up -d gps-collector` на хосте
|
||||
для активации `/api/gps-tracks/*` эндпойнтов.
|
||||
2. **E2E Playwright:** после старта сервиса выполнить E-01, E-02, E-10…E-12.
|
||||
3. **Initial pipeline run:** `docker compose run --rm gps-collector python scripts/gps_collect.py`
|
||||
для первичной загрузки OSM-треков.
|
||||
4. **P2 follow-up:** F-06 (bbox area validation), F-07 (default sources), F-08 (LRU cache)
|
||||
— отдельный PR.
|
||||
|
||||
## Test report reference
|
||||
|
||||
`docs/work-items/ET-008/13-test-report.md` v3 — verdict: `stage:ready-to-deploy`
|
||||
- 141 pytest PASS
|
||||
- 22 JS unit PASS
|
||||
- All P0/P1 findings resolved (F-01…F-05)
|
||||
Reference in New Issue
Block a user