Skip to content

auto-heal fails on PRs when heal_module expects missing prompts/generated_python.prompt #1132

@Serhan-Asad

Description

@Serhan-Asad

Problem

On PR #1131, the auto-heal workflow failed in Cloud Build even though the PR did not touch any generated prompt file.

Failed workflow/checks:

Cloud Build failure excerpt:

pdd-cli 0.0.246 heal_module returned False for operation='update'; expected literal True.
heal failed for backend/generated: prompt_path prompts/generated_python.prompt
set but missing on disk post-update

What I checked

Expected

The auto-heal workflow should either skip missing/retired prompt paths cleanly or fail with an actionable configuration error before attempting heal_module.

Impact

The PR is marked blocked by a failing auto-heal check even though the failure appears unrelated to the PR contents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions