Skip to content

[cli-tools-test] logs tool: context deadline exceeded when querying without workflow_name filter #46538

Description

@github-actions

Problem Description

The logs tool consistently times out with Error [0]: context deadline exceeded when called without a --workflow_name filter, even when using count: 3 and max_tokens: 3000 to limit output size. This makes it impossible to browse recent runs across all workflows.

Command/Tool

  • Tool: logs
  • Command: agenticworkflows logs --start_date "-1d" --count 3 --max_tokens 3000

Steps to Reproduce

  1. Run agenticworkflows logs --start_date "-1d" --count 3 --max_tokens 3000
  2. Observe timeout after ~60 seconds
  3. Same behavior with --start_date "-7d", --start_date "-30d", and --engine copilot filters
  4. Same behavior with --after_run_id <id> --count 3 --max_tokens 3000

Expected Behavior

The command should return up to 3 runs within the timeout, respecting the count and max_tokens limits.

Actual Behavior

Error [0]: context deadline exceeded
[error] [agenticworkflows] Tool call error: Error [0]: context deadline exceeded

All calls without --workflow_name time out. Calls with --workflow_name succeed (though may return 0 runs).

Environment

  • Repository: github/gh-aw
  • Run ID: 29675890018
  • Date: 2026-07-19

Impact

  • Severity: High
  • Frequency: Always (100% reproducible)
  • Workaround: Use --workflow_name <name> to scope the query to a specific workflow

Tested Variants (all timeout)

Command Result
logs --start_date "-1d" --count 3 --max_tokens 3000 Timeout
logs --start_date "-7d" --count 3 --max_tokens 3000 Timeout
logs --start_date "-30d" --count 3 --max_tokens 3000 Timeout
logs --start_date "-7d" --count 3 --max_tokens 3000 --engine copilot Timeout
logs --after_run_id 29675149695 --count 3 --max_tokens 3000 Timeout
logs --start_date "-30d" --count 3 --max_tokens 3000 --workflow_name daily-cli-tools-tester Success (0 runs)

Additional Context

The repository has 258 compiled workflows. Logs exist locally at /tmp/gh-aw/aw-mcp/logs/ with 17 run directories. The timeout appears to occur during the API fetch phase when no workflow scope narrows the query.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • awmgmcpg

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

Generated by 🧪 Daily Cli Tools Tester · 45.5 AIC · ⌖ 10.4 AIC · ⊞ 9.2K ·

  • expires on Jul 25, 2026, 10:20 PM UTC-08:00

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions