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
{{ message }}
Repository navigation
[cli-tools-test] [bug] logs tool times out with context deadline exceeded when no workflow_name filter is provided #47491
The logs MCP tool consistently times out after exactly 60 seconds with context deadline exceeded when called without a workflow_name filter, even with a short start_date range and low count. The tool has a hard 60s server-side timeout that triggers before any log data is returned.
Command/Tool
Tool: logs
MCP server: agenticworkflows
Steps to Reproduce
Call logs without a workflow_name filter:
{"start_date":"-1d","count":3,"max_tokens":3000}
Also fails with a shorter range:
{"start_date":"-6h","count":2,"max_tokens":2000}
Expected Behavior
Logs download within the timeout, or return a helpful error if the query is too broad.
Actual Behavior
After exactly 60 seconds:
Error [0]: context deadline exceeded
The elapsed time is consistently 60014ms or 60011ms.
Contrast: Filtered Calls Work
When workflow_name is specified, the tool returns in ~6.3s. When engine is set to an invalid value, it fails in 70ms with a clear validation error. So the issue is specific to the unfiltered path.
Environment
Repository: github/gh-aw
Run ID: 29984114651
Date: 2026-07-23
Impact
Severity: High
Frequency: Always (100% reproducible)
Workaround: Always specify workflow_name to scope the query
The unfiltered query likely lists all workflow runs across all 261 workflows in the repository, which takes longer than the 60s server timeout. The count parameter is not applied early enough to bound the backend query.
Activity
github-actions commentedon Jul 30, 2026
This issue was automatically closed because it expired on 2026-07-30T06:18:51.405Z.