peppa/openspec/changes/archive/2026-11-27-pep-320-one-act-runner-daemon/tasks.md
peppa-bot 4ae203e037
All checks were successful
peppa/lint lint: success за 2с
peppa/typecheck typecheck: success за 49с
peppa/build build: success за 35с
peppa/bundle bundle: success за 0с
peppa/test test: success за 1652с
peppa-ci / ci (pull_request) Successful in 29m39s
PEP-320: один демон исполнителя проверок на регистрацию
supervise.sh пишет в .pid номер самого демона, журнал без буфера sed,
лишних демонов каталога останавливает SIGTERM; register.sh сначала
останавливает прежнего демона. Тест с mock-act-runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 13:42:33 +00:00

11 lines
880 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 `infra/act-runner/daemons.sh`: поиск демонов каталога через /proc, мягкая остановка
- [x] 1.2 `supervise.sh`: номер демона в `.pid`, журнал без буфера, один демон на каталог, замена по сумме `.runner`
- [x] 1.3 `register.sh`: остановить прежнего демона и дождаться выхода до удаления `.pid`
## 2. Тест
- [x] 2.1 `act-runner-supervise.test.ts` с подставным `act_runner`: две перерегистрации подряд — один демон, `.pid` верный; упавший поднимается; лишний останавливается
## 3. Завершение
- [x] 3.1 Проверки, память, archive, PR с инструкцией координатору