Skip to content

Agent inconsistently auto-detects GitHub noreply email when push is blocked #2156

@charlesvien

Description

@charlesvien

When GitHub blocks a push because the commit author email is set to private, the agent's behavior is inconsistent. Sometimes it successfully discovers the user's noreply email (by inspecting commit history or querying the gh CLI) and amends the commit automatically. Other times it gives up and shows the manual unblock prompt asking the user to either toggle the GitHub email privacy setting or paste their noreply address.

Example of the manual prompt that appears when auto-detection fails:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingHigh PriorityThis issue should be prioritized

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions