feat: add reliable trigger and worker message blocks
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 23:22:39 +02:00
parent 72f22a13f7
commit 17b6bd7ae7
25 changed files with 588 additions and 67 deletions

View file

@ -113,7 +113,9 @@ def test_real_pty_attributes_worker_output_and_suppresses_operator_echo(
"print('READY', flush=True)\n"
"for line in sys.stdin:\n"
" print(line.rstrip('\\r\\n'), flush=True)\n"
" print('\\x1b[5;1H• tO:target: worker reply\\x1b[6;1H', flush=True)\n",
" print('\\x1b[5;1H• tO:target: worker reply'\n"
" '\\x1b[6;1H Context: integration fixture.'\n"
" '\\x1b[8;1H', flush=True)\n",
encoding="utf-8",
)
bin_dir = tmp_path / "bin"
@ -171,7 +173,7 @@ def test_real_pty_attributes_worker_output_and_suppresses_operator_echo(
time.sleep(0.05)
assert [(row["body"], row["provenance"]) for row in rows] == [
("operator request", "operator_input"),
("worker reply", "worker_output"),
("worker reply\nContext: integration fixture.", "worker_output"),
]
assert all(row["endpoint_id"] == endpoint.instance_id for row in rows)
finally: