Skip to content

auto-heal fails on whitespace-only PR updates #1284

@sohni-tagirisa

Description

@sohni-tagirisa

auto-heal fails on whitespace-only changes

Summary

The auto-heal workflow is failing on PR #1243 even though the only change in the latest commit was the removal of trailing whitespace identified during review.

The PR was previously approved after all requested changes were addressed. The final commit (6ffdf69) only removes trailing whitespace from tests/test_e2e_issue_1201_output_paths.py to satisfy git diff --check. No functional code changes were introduced.

Expected Behavior

auto-heal should either:

  • Succeed without attempting remediation when the change is whitespace-only, or
  • Detect that no code-generation or healing action is required and exit successfully.

Actual Behavior

The following checks fail:

  • auto-heal / heal (pull_request_target)
  • CodeQL / auto-heal (dynamic)

The failure occurs despite:

  • The PR being approved.
  • Focused regression tests passing.
  • The latest commit containing only whitespace cleanup.
  • No functional changes being introduced.

Steps to Reproduce

  1. Create a PR that is otherwise green and approved.
  2. Make a whitespace-only change (e.g., remove trailing spaces).
  3. Push the commit.
  4. Observe auto-heal running and failing despite no functional modifications.

Impact

This can block otherwise merge-ready PRs and creates unnecessary noise for contributors. Whitespace-only commits should not require healing actions and ideally should be treated as no-op changes by the auto-heal workflow.

Additional Context

In PR #1243, the final requested change from review was removal of trailing whitespace in tests/test_e2e_issue_1201_output_paths.py. After making only that formatting adjustment, auto-heal began failing while all substantive review concerns had already been resolved.

Metadata

Metadata

Labels

pdd-codexPDD: use OpenAI Codex model

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