Skip to content

[deep-report] Root-cause recurring 'failed to read prompt file ENOENT' copilot-engine crash across workflows #50304

Closed as not planned

Description

@github-actions

Description

Multiple copilot-engine workflow runs are crashing with [copilot-sdk-driver] error: failed to read prompt file /tmp/gh-aw/aw-prompts/prompt.txt: Error: ENOENT: no such file or directory. Freshest confirmed occurrence: CI Optimization Coach run 30915139809 (2026-08-04T13:55Z, issue #50274). The same signature also surfaces in incident notes for PR Code Quality Reviewer and Smoke Goose runs. This is a distinct failure signature from the already-tracked background task-tool sub-agent hang/model-allocation issue (#49022) — the prompt file is missing entirely before the agent even starts, rather than the agent session hanging or failing mid-run.

Expected Impact

Root-causing this removes a zero-turn, zero-output crash mode that currently burns a full scheduled run with no diagnostic value, across at least 3 distinct workflows on the copilot engine.

Suggested Agent

gh-aw core / copilot-sdk-driver and prompt-generation step maintainer

Estimated Effort

Medium (1-4 hours) — check for a race between the prompt-file-write step and the Execute Copilot CLI step (e.g. workspace cleanup, cache restore ordering, or a step timeout truncating the write) rather than assuming this is the same root cause as the existing sub-agent-hang ticket.

Data Source

DeepReport Intelligence Briefing 2026-08-04, cross-referencing issue #50274 and the 2026-08-03 Agentic Workflow Audit's copilot-sdk-driver-failures finding.

Generated by 🔬 Deep Report · agent · 197.5 AIC · ⌖ 40.2 AIC · ⊞ 11K · ◷

  • expires on Aug 6, 2026, 7:39 AM UTC-08:00

Activity

  1. added
    bug
    cookie
    on Aug 4, 2026
  2. github-actions commented on Aug 4, 2026

    @github-actions
    ContributorAuthor

    🍪 Issue Monster selected this for Copilot

    I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.

    If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    🍪 Om nom nom by Issue Monster · gpt54 · 2.19 AIC · ⌖ 9.59 AIC · ⊞ 10.2K · ◷

  3. github-actions commented on Aug 6, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-08-06T15:39:07.671Z.

    Closed by Workflow

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

Metadata

Metadata

Labels

automationbugcookieimprovementquick-winreliability

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions