Skip to content

[cli-tools-test] [daily-cli-tools-tester] logs tool times out after 60s when no workflow_name filter is specified #48136

Description

@github-actions

Problem Description

The logs MCP tool consistently times out with context deadline exceeded after exactly 60 seconds when called without a workflow_name filter. The timeout parameter does not extend the deadline (tested with timeout: 120).

Command/Tool

  • Tool: logs
  • Command: logs with {"start_date":"-1d","count":3,"max_tokens":3000} (no workflow_name)

Steps to Reproduce

  1. Call the logs tool without a workflow_name filter:
    {"start_date": "-1d", "count": 3, "max_tokens": 3000}
  2. Observe that after exactly 60 seconds it returns context deadline exceeded.
  3. Retry with timeout: 120 — same result, still fails at 60s.

Expected Behavior

The tool should return logs for recent runs across all workflows (limited by count), or the timeout parameter should extend the server-side context deadline.

Actual Behavior

MCP tools/call: status=200, elapsed=60016ms
Error [0]: context deadline exceeded

Consistently fails at ~60 seconds regardless of timeout value.

Workaround

Specifying a workflow_name filter avoids the timeout. E.g., workflow_name: "poem-bot" completes in ~1s. The issue only occurs for unfiltered (all-workflows) queries.

Secondary Finding: Workflow Name Resolution Bug

When calling logs with workflow_name: "smoke-ci" (a valid workflow file), it fails with:

could not find any workflows named Smoke CI

The tool appears to title-case the workflow ID to find the GitHub Actions display name, but smoke-ci.md has a different display name in its frontmatter. Workflows with display names that happen to match (e.g., poem-bot -> Poem Bot) succeed, while others fail.

Environment

  • Repository: github/gh-aw
  • Run ID: 30190589855
  • Date: 2026-07-26
  • gh-aw version: 1.0.75 (firewall v0.27.41)

Impact

  • Severity: High
  • Frequency: Always (100% reproducible)
  • Workaround: Use workflow_name with the exact display name (not file ID) for individual workflows; no workaround for unfiltered queries

References: Run 30190589855

Generated by 🧪 Daily Cli Tools Tester · sonnet46 · 75.4 AIC · ⌖ 7.26 AIC · ⊞ 9.4K · ◷

  • expires on Aug 1, 2026, 10:22 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

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions