fix: route case-insensitive worker messages
Some checks failed
tamq-ci / test (push) Failing after 5s
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:
parent
fbb56f5981
commit
cd73b954e9
14 changed files with 183 additions and 37 deletions
|
|
@ -93,6 +93,17 @@ def test_output_observer_fails_closed_on_recent_operator_echo():
|
|||
assert lines == ["To:target: worker"]
|
||||
|
||||
|
||||
def test_output_observer_preserves_full_screen_program_gutters():
|
||||
lines = []
|
||||
observer = TerminalOutputObserver(lines.append)
|
||||
observer.feed(
|
||||
b"\x1b[4;1H\xe2\x80\xba To:target: operator echo"
|
||||
b"\x1b[5;1H\xe2\x80\xa2 tO:target: worker reply"
|
||||
b"\x1b[6;1H"
|
||||
)
|
||||
assert lines == ["› To:target: operator echo", "• tO:target: worker reply"]
|
||||
|
||||
|
||||
def test_copy_winsize_preserves_rows_columns_and_pixels():
|
||||
source_master, source_slave = pty.openpty()
|
||||
target_master, target_slave = pty.openpty()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue