feat: add readable duplex messaging
Some checks failed
tamq-ci / test (push) Failing after 6s

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a03397-4d51-7fd1-8ff2-946eb22ea2bc
This commit is contained in:
tegwick 2026-08-25 19:26:27 +02:00
parent 788eb8e2ed
commit 92881b6b56
35 changed files with 1206 additions and 806 deletions

View file

@ -4,7 +4,11 @@ from tamq.cli import (
ensure_pushy_service,
parse_size,
)
from tamq.service import PUSHY_FRAMING_CAPABILITY
from tamq.service import (
LINE_LIMITS_CAPABILITY,
PUSHY_FRAMING_CAPABILITY,
TRIGGER_CAPABILITY,
)
def test_parse_size():
@ -13,7 +17,7 @@ def test_parse_size():
def test_manual_service_restarts_legacy_broker(monkeypatch):
capabilities = iter([[], ["manual_delivery"]])
capabilities = iter([[], ["manual_delivery", PUSHY_FRAMING_CAPABILITY, LINE_LIMITS_CAPABILITY]])
starts = []
stops = []
@ -33,7 +37,7 @@ def test_manual_service_restarts_legacy_broker(monkeypatch):
def test_output_service_requires_terminal_output_capability(monkeypatch):
capabilities = iter([
["manual_delivery"],
["manual_delivery", "terminal_output"],
["manual_delivery", "terminal_output", PUSHY_FRAMING_CAPABILITY, LINE_LIMITS_CAPABILITY],
])
starts = []
stops = []
@ -58,6 +62,8 @@ def test_pushy_service_requires_pushy_input_capability(monkeypatch):
"terminal_output",
"pushy_input",
PUSHY_FRAMING_CAPABILITY,
TRIGGER_CAPABILITY,
LINE_LIMITS_CAPABILITY,
],
])
starts = []