Skip to content

[deep-report] agenticworkflows logs MCP tool times out on larger queries — recurrence of auto-expired #51952 #52314

Description

@github-actions

Description

The agenticworkflows logs MCP tool times out with context deadline exceeded on moderately large queries, reproduced live during this DeepReport cycle (2026-08-12):

  • {"count":100,"start_date":"2026-08-05"} — ran the full default ~60s budget and failed with context deadline exceeded.
  • {"count":30} (no date filter) — succeeded in ~37s.

This is the same failure class as #51952 ("logs tool: engine filter query exceeds default timeout"), which was never fixed — it auto-expired/closed on 2026-08-11 with no comments and no linked PR, i.e. closed by TTL rather than by resolution. The underlying issue (default timeout budget too aggressive for queries that have to scan/paginate many workflow runs) persists; it's just triggered by count+start_date this time instead of an engine filter.

This has now caused DeepReport's own fleet-health data collection to fail or degrade for at least 2 consecutive cycles (2026-08-11 and 2026-08-12), forcing reliance on secondary discussion-report sourcing instead of direct log pulls each time.

Expected Impact

Restores reliable direct log-pull capability for fleet-health analysis (used by DeepReport, Agent Performance Report, Safe Output Health Monitor, and others), removing the need for a workaround/secondary-sourcing fallback that has now recurred multiple cycles.

Suggested Agent

General tooling/infra agent — investigate the agenticworkflows logs implementation's handling of count/start_date/engine filters: either raise the default timeout for filtered/larger queries, optimize the underlying scan (e.g. push filters down to GitHub Actions' server-side workflow-run list API instead of client-side scanning+filtering), or return partial/streaming results before the deadline instead of failing outright.

Estimated Effort

Medium (1-4 hours)

Data Source

DeepReport Intelligence Briefing 2026-08-12, reproduced directly this cycle; related to auto-expired #51952 and cli-tools-test #52237 (audit tool ignores max_tokens — same MCP gateway family, different command).

Generated by 🔬 Deep Report · agent · 198.4 AIC · ⌖ 54.5 AIC · ⊞ 11.4K ·

  • expires on Aug 14, 2026, 7:07 AM 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