Skip to content

The agent that grows with you

test(gateway): pin busy_input_mode=queue in the Telegram SIGKILL recovery probe

teknium159129d54448f
diff --git a/tests/gateway/test_native_telegram_startup_recovery.py b/tests/gateway/test_native_telegram_startup_recovery.py
index 80b81b833e9..a75d6eaca1f 100644
--- a/tests/gateway/test_native_telegram_startup_recovery.py
+++ b/tests/gateway/test_native_telegram_startup_recovery.py
@@ -79,6 +79,9 @@ def test_telegram_fifo_unknown_and_current_authorization_survive_sigkill(tmp_pat
'platforms': {'telegram': {'enabled': True, 'extra': {
'base_url': f'http://127.0.0.1:{bot.server_port}/bot', 'dm_policy': 'allowlist'}}},
'auxiliary': {'title_generation': {'enabled': False}},
+ # The default `interrupt` mode redirects a follow-up into the running turn instead of
+ # admitting it; the FIFO contract under test needs follow-ups queued behind the head.
+ 'display': {'busy_input_mode': 'queue'},
'platform_toolsets': {'telegram': []}, 'terminal': {'cwd': str(home)}}
(home / 'config.yaml').write_text(json.dumps(cfg))
env = child_env()