flatpak-external-data-checker icon indicating copy to clipboard operation
flatpak-external-data-checker copied to clipboard

automerge-flathubbot-prs leaves stale PRs if there's an update more than once per hour

Open dginovker opened this issue 1 year ago • 1 comments

image

Screenshot taken from here: https://github.com/flathub/vet.rsc.OpenRSC.Launcher/pulls

Basically, here's what happened:

Time Event
00:30 Upstream updated OpenRSC.jar
01:00 flathubbot opened a new PR for the update
01:30 Upstream updated OpenRSC.jar again
02:00 flathubbot opened a PR for the update (again)
02:30 Upstream updated OpenRSC.jar a third time
03:00 flathubbot opened a PR for the third time
04:00 flathubbot merged the third PR

However, the 1st and 2nd (now with a merge conflict) are now sitting there stale.

Possible solutions:

  • Make flathubbot auto close its old PRs
  • Make flathubbot prioritizing merging its PRs over opening new ones
    • The following hour it can still make a new PR, but this way it will merge and get rid of the old one first
  • Make flathubbot update its existing PRs

dginovker avatar Jan 29 '24 08:01 dginovker

I can see why this is annoying, but it looks like you are not tracking releases of OpenRSC.jar, but builds from the development branch. That's really not what this tool was designed for.

wjt avatar Jan 29 '24 11:01 wjt