Skip to content

Trap: Multi-file apply_patch failure is non-atomic #2

Description

@jun0-ds

Pattern

A failed multi-file apply_patch may leave earlier file changes applied. Before retrying, inspect git status --short and the scoped diff to reconstruct the actual working-tree state.

Discovered via

Guard verification.

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions