You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Slack message router (adapters/message_router.py) passes timeout_seconds=_get_channel_timeout() (default 120s) to TaskExecutionService.execute_task(), overriding the agent's configured execution_timeout_seconds (e.g. 900s).
Root Cause
Line 189 in message_router.py explicitly sets timeout_seconds=_get_channel_timeout(). However, TaskExecutionService already has built-in logic (TIMEOUT-001) to read the per-agent timeout when timeout_seconds=None:
# task_execution_service.py line 153-155iftimeout_secondsisNone:
timeout_seconds=db.get_execution_timeout(agent_name)
All other callers (chat.py, paid.py) pass None and let the service handle it. The Slack router is the only one overriding.
Fix
Change timeout_seconds=_get_channel_timeout() to timeout_seconds=None
Add graceful timeout error message: "Sorry, that took too long to process."
Observed Impact
Agent ability-website configured with 900s timeout, but Slack-triggered tasks timeout at 120s.
Activity
fix: Slack message router uses per-agent timeout + TaskExecutionError…
fix: Slack message router uses per-agent timeout + TaskExecutionError…
fix: Slack message router uses per-agent timeout + forwards error mes…
fix: Slack message router uses per-agent timeout + forwards error mes…
fix: Forward actual error messages to Slack users, remove unused Task…
refactor(adapters): remove dead adapter, db and utils symbols, checkp…
refactor: remove 50 backend and scheduler symbols no production code …
fix(channels): a failed turn tells the chat so in plain words, never …