Run the reconciler as a one-off service of the stand

The reconciler service under the reconcile profile runs the API image
with the reconciler module as entrypoint and --dry-run as the default
command, so docker compose run --rm --no-deps reconciler takes only
flags. It gets the database URL and the limited API key of S3, which
already allows listing, reading and deleting objects, a read-only root,
1 CPU and 256 MiB, and a longer S3 read timeout for listing pages.
S3, PostgreSQL and the reconciler accept an optional cpuset from the
environment so measurements can pin them; the default is no pinning.

make reconcile ARGS=... runs a pass, make reconcile-demo and make
reconcile-cost drive the track experiments, and the limits policy now
covers the new service.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
This commit is contained in:
Artyom
2026-10-29 03:17:54 +03:00
co-authored by Claude Opus 5.5
parent 91731fd317
commit 51fa19a8ee
5 changed files with 60 additions and 6 deletions
@@ -20,9 +20,9 @@
## 4. Стенд
- [ ] 4.1 `compose.yaml`: сервис `reconciler` (профиль `reconcile`), `cpuset` из переменных у `s3`, `postgres`, `reconciler`; `.env.example`
- [ ] 4.2 Цели `make reconcile ARGS=…`, `make reconcile-demo`, `make reconcile-cost`
- [ ] 4.3 Проверка группы: `docker compose config --quiet`, `make up`, `make reconcile`
- [x] 4.1 `compose.yaml`: сервис `reconciler` (профиль `reconcile`), `cpuset` из переменных у `s3`, `postgres`, `reconciler`; `.env.example`
- [x] 4.2 Цели `make reconcile ARGS=…`, `make reconcile-demo`, `make reconcile-cost`
- [x] 4.3 Проверка группы: `docker compose config --quiet`, `make up`, `make reconcile`
## 5. Обвязка трека