GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bot should ping author when PR has merge conflicts and mark the PR as "awaiting changes" · Issue #479 · python/core-workflow

bot should ping author when PR has merge conflicts and mark the PR as "awaiting changes" #479

New issue
Copy link
New issue
Copy link
Open
Open
bot should ping author when PR has merge conflicts and mark the PR as "awaiting changes"#479
Copy link

Description

@iritkatriel
iritkatriel
opened on Nov 27, 2022
Issue body actions

When a PR has merge conflicts, the author doesn't know unless they check or another person alerts them.

It would be good if the bot could ping them and move the PR to "awaiting changes" state.

Reacted by Alex Waygood, Kumar Aditya, Oleg Iarygin and Erlend E. Aasland

Activity

  1. Mariatta commented on Nov 27, 2022

    @Mariatta
    Mariatta
    on Nov 27, 2022
    Member
    More actions

    Let's try doing this as a GH Action instead of in bedevere.

    I think this would require checking the PR's "mergeable" status on the "synchronized" or "push" event.

  2. iritkatriel commented on Nov 27, 2022

    @iritkatriel
    iritkatriel
    on Nov 27, 2022
    MemberAuthor
    More actions

    I think a nightly job checking each open PR would be sufficient, and possibly simpler?

  3. arhadthedev commented on Nov 27, 2022

    @arhadthedev
    arhadthedev
    on Nov 27, 2022
    Member
    More actions

    I think a nightly job checking each open PR would be sufficient, and possibly simpler?

    Probably, the job should skip inactive PRs (that have the last message older than, say, three month). It's vital to prevent piling up everyone's unread notifications with hundreds of dusted patches.

  4. iritkatriel commented on Nov 27, 2022

    @iritkatriel
    iritkatriel
    on Nov 27, 2022
    MemberAuthor
    More actions

    I think a nightly job checking each open PR would be sufficient, and possibly simpler?

    Probably, the job should skip inactive PRs (that have the last message older than, say, three month). It's vital to prevent piling up everyone's unread notifications with hundreds of dusted patches.

    Dead PRs should be closed.

    Reacted by Jelle Zijlstra and Oleg Iarygin
  5. arhadthedev commented on Nov 27, 2022

    @arhadthedev
    arhadthedev
    on Nov 27, 2022
    Member
    More actions

    Dead PRs should be closed.

    Ultimately yes. However, it requires a wide discussion first as noted by Brett in python/cpython#21247 (comment). So, to get the useful notifier sooner, we need to add its limited version.

    Reacted by Erlend E. Aasland, Gregory P. Smith and Ezio Melotti
  6. iritkatriel commented on Nov 27, 2022

    @iritkatriel
    iritkatriel
    on Nov 27, 2022
    MemberAuthor
    More actions

    I'm not suggesting to automatically close PR. My point is that if you get pinged a lot about merge conflicts on your open PRs then I think you're probably doing something wrong. How many open PRs should a person have on the go?

    Reacted by Alex Waygood and Oleg Iarygin
  7. arhadthedev commented on Nov 28, 2022

    @arhadthedev
    arhadthedev
    on Nov 28, 2022
    Member
    More actions

    My point is that if you get pinged a lot about merge conflicts on your open PRs then I think you're probably doing something wrong.

    Ping messages are not private so they're sent to everyone subscribed to python/cpython.

    However, if notifications would be emailed from python.org to an address in the first commit of a PR, my concerns are irrelevant.

  8. terryjreedy commented on Nov 28, 2022

    @terryjreedy
    terryjreedy
    on Nov 28, 2022
    Member
    More actions

    There are 44 open PRs with Idle in the title. Yes, that is too many. Currently, it would be useless to ping anyone but me, as the assignee. I would only want 1 ping per PR with a conflict. If a PR is marked with a conflict, do not ping again. Ideally, I would like a way to test whether a PR causes conflicts before merging, or even before making a PR, so I could consider which order to do them in.

  9. iritkatriel commented on Nov 28, 2022

    @iritkatriel
    iritkatriel
    on Nov 28, 2022
    MemberAuthor
    More actions

    If a PR is marked with a conflict, do not ping again.

    Yes, absolutely agree.

  10. hugovk commented on Nov 28, 2022

    @hugovk
    hugovk
    on Nov 28, 2022
    Member
    More actions

    Duplicate of #96 ("Add a bot to notify people when their PR has a merge conflict")?

    Reacted by Erlend E. Aasland
  11. erlend-aasland commented on Nov 28, 2022

    @erlend-aasland
    erlend-aasland
    on Nov 28, 2022
    More actions

    Duplicate of #96 ("Add a bot to notify people when their PR has a merge conflict")?

    Yes, it seems like this is a duplicate. Suggesting to close either the old or this issue as a duplicate.

    Reacted by Hugo van Kemenade
  12. hauntsaninja commented on Jan 6, 2023

    @hauntsaninja
    hauntsaninja
    on Jan 6, 2023
    Contributor
    More actions

    I'm interested in picking this up. Adding a label seems like a good place to start.

    I started a draft in python/bedevere#530. On every push to main, we requery mergeability status for each open PR. Using GraphQL means we can do this in relatively few requests, so we don't need to worry too much about rate limits.

  13. AA-Turner commented on Aug 12, 2025

    @AA-Turner
    AA-Turner
    on Aug 12, 2025
    Member
    More actions

    @hauntsaninja did you make any progress? Are we still interested in this idea, or can we close the issue?

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.