Implement worker coordination runtime and finish WP-0003
All checks were successful
check / test (push) Successful in 7m8s
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a07b5b-ea58-7ad2-bdbb-0b1c995cfc35
This commit is contained in:
tegwick 2026-09-07 23:19:52 +02:00
parent 214964ccb8
commit 628f984a10
23 changed files with 3025 additions and 544 deletions

23
tests/test_live.py Normal file
View file

@ -0,0 +1,23 @@
"""Opt-in read-only smoke; never injects a message or starts a worker."""
import os
import pytest
from coordination_engine.adapters import Hub, Tamq, registry
from coordination_engine.config import Config
@pytest.mark.live
@pytest.mark.skipif(
os.environ.get("COORDINATION_LIVE_SMOKE") != "1",
reason="set COORDINATION_LIVE_SMOKE=1 explicitly",
)
def test_local_adapter_discovery():
config = Config.load()
assert "coordination-engine" in registry()
assert isinstance(Hub(config).request("/repos/"), list)
hello = Tamq(config).request("ping")
assert {"bounded_delivery_ack_v1", "idempotent_send_v1"} <= set(
hello["capabilities"]
)