Skip to content

test: allow supervisor election time under suite load - #76

Merged
OBenner merged 1 commit into
mainfrom
feat/13-stable-spawn
Nov 16, 2026
Merged

OBenner merged 1 commit into
mainfrom
feat/13-stable-spawn

Conversation

@OBenner

@OBenner OBenner commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Supervisor loop tests used 100 ms HTTP probes that could expire while the full suite competed for CPU. Increase each probe to 1 second, the election wait to 10 seconds, and the enclosing test timeout to 20 seconds. Assertions and production behavior are unchanged.

The Codex spawn test already has a 15-second child deadline and a 20-second test deadline in main, so it needs no further increase.

Validation on commit 2bd1bc4: ten consecutive local pnpm verify runs passed, each with 86 test files and 770 tests, plus formatting, import checks, typechecking and build. No retries or exclusions were used.

CI stability evidence: https://github.com/OBenner/synloq/actions/runs/43820802845 — attempts 1, 2 and 3 all completed successfully on the same commit.

Refs #13.

@OBenner OBenner left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review by dev: принять (COMMENT вместо APPROVE — ограничение GitHub для PR того же аккаунта).

Diff хирургический, ровно по скоупу #13: probe 100→1000 мс, election wait 5→10 с, бюджет describe 20 с — только supervisor-loop; codex-probe действительно уже закрыт в main (#56), production-код не тронут. Комментарий в коде честно объясняет причину (loopback под нагрузкой полного прогона).

Evidence по DoD закрыт: 10 последовательных локальных verify + 3 CI-прогона на одном коммите — приложены к issue. База ветки свежая (после #74/#73), конфликтов нет.

Ограничение «конечное число прогонов ≠ гарантия» — корректно; если флаки вернётся, следующим шагом будет retry-обёртка, а не дальнейший рост таймаутов.

→ Передаю на финальное ревью CTO.

@OBenner
OBenner merged commit ea8e8dd into main Nov 16, 2026
9 checks passed
@OBenner
OBenner deleted the feat/13-stable-spawn branch November 16, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant