feat: complete reliable coordination adapter
Some checks failed
tamq-ci / test (push) Failing after 5s

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a03397-4d51-7fd1-8ff2-946eb22ea2bc
This commit is contained in:
tegwick 2026-08-26 08:11:09 +02:00
parent 25113f463e
commit 6d2ccc7760
30 changed files with 2553 additions and 144 deletions

View file

@ -27,6 +27,7 @@ def test_isolated_installed_tool_session_smoke(tmp_path):
bin_dir = tmp_path / "bin"
runtime_dir = tmp_path / "runtime"
state_dir = tmp_path / "state"
config = tmp_path / "config.toml"
repo_a = tmp_path / "railiance-platform"
repo_b = tmp_path / "activity-core"
for path in (bin_dir, runtime_dir, repo_a, repo_b):
@ -52,6 +53,12 @@ def test_isolated_installed_tool_session_smoke(tmp_path):
)
gita.chmod(0o755)
agent.chmod(0o755)
config.write_text(
"[policy.profiles.integration]\n"
"delivery_ack_mode='acknowledged'\n"
"delivery_max_attempts=3\n",
encoding="utf-8",
)
socket_name = f"tamq-installed-{os.getpid()}"
env = os.environ.copy()
@ -63,6 +70,8 @@ def test_isolated_installed_tool_session_smoke(tmp_path):
"UV_CACHE_DIR": str(tmp_path / "uv-cache"),
"XDG_RUNTIME_DIR": str(runtime_dir),
"TAMQ_STATE_DIR": str(state_dir),
"TAMQ_CONFIG": str(config),
"TAMQ_POLICY_PROFILE": "integration",
"TAMQ_TMUX_SOCKET": socket_name,
}
)
@ -202,7 +211,7 @@ def test_isolated_installed_tool_session_smoke(tmp_path):
).stdout
assert inbox[-1]["sender_repo"] == "railiance-platform"
assert inbox[-1]["body"] == "installed-message"
assert inbox[-1]["state"] == "pending"
assert inbox[-1]["state"] == "awaiting_ack"
assert inbox[-1]["displayed_at"] is not None
message_id = inbox[-1]["message_id"]
assert run(str(tamq), "inbox", "--repo", "activity-core").stdout == (