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
|
|
@ -161,9 +161,11 @@ def test_neutral_plan_starts_shell_without_sending_keystrokes(tmp_path, monkeypa
|
|||
assert "TAMQ_REPO=b" in new_window
|
||||
assert f"PATH={command_dir}{os.pathsep}" in " ".join(new_session)
|
||||
assert f"PATH={command_dir}{os.pathsep}" in " ".join(new_window)
|
||||
assert (command_dir / "To:a:").is_file()
|
||||
assert (command_dir / "To:b:").is_file()
|
||||
assert (command_dir / "Cmd:").is_file()
|
||||
for keyword in ("To", "to", "TO", "tO"):
|
||||
assert (command_dir / f"{keyword}:a:").is_file()
|
||||
assert (command_dir / f"{keyword}:b:").is_file()
|
||||
for keyword in ("Cmd", "cmd", "CMD", "cMd"):
|
||||
assert (command_dir / f"{keyword}:").is_file()
|
||||
assert not any(path.name.startswith("@") for path in command_dir.iterdir())
|
||||
|
||||
|
||||
|
|
@ -174,7 +176,16 @@ def test_protocol_commands_absorb_forwarded_shell_lines(tmp_path):
|
|||
)
|
||||
manager._install_address_commands(["audit-core"])
|
||||
|
||||
for name in ("To:audit-core:", "Cmd:"):
|
||||
for name in (
|
||||
"To:audit-core:",
|
||||
"to:audit-core:",
|
||||
"TO:audit-core:",
|
||||
"tO:audit-core:",
|
||||
"Cmd:",
|
||||
"cmd:",
|
||||
"CMD:",
|
||||
"cMd:",
|
||||
):
|
||||
result = subprocess.run(
|
||||
[str(command_dir / name), "Some message!", "$value"],
|
||||
text=True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue