Renovate: Lockfile maintenance PR closed/deleted unexpectedly

Created on 2 Jan 2019  路  10Comments  路  Source: renovatebot/renovate

What Renovate type are you using?
Renovate GitHub App

Describe the bug
Renovate closed/deleted the lockfile maintenance PR/branch when this was not expected/desired.

Did you see anything helpful in debug logs?
INFO: Deleting lock file maintenance branch as it is conflicted
(https://renovatebot.com/dashboard#github/mozilla/treeherder/37041099)

To Reproduce
Steps to reproduce the behavior:

  1. Go on vacation
  2. When back merge several Renovate bot dependency PRs, saving the lockfile PR for last
  3. Open the lockfile PR at the end ready to merge it (https://github.com/mozilla/treeherder/pull/4399)
  4. Find that the PR has been closed unexpectedly

Expected behavior
Lockfile PR is still open and automatically rebased if conflicted.

npm priority-3-normal bug

All 10 comments

Could this be summarised as "rebase lock file maintenance PRs when conflicted instead of autoclosing them"?

I actually forget the reasoning/logic behind it although it sounds like it was deliberate!

Perhaps - though this wasn't the behaviour in the past, which is why it now seemed unintentional?

Taking a guess, I think it was related to cleaning up closed maintenance PRs. e.g. let's say you have a maintenance PR that's conflicted and you close the PR but forget to delete the branch. In current functionality it means it gets cleaned up rather than regenerated and replacement PR created.

The ideal solution would be one if we can check if an existing PR existed, but it's actually quite challenging.

Makes sense. Until/if the issue is resolved, could the cleanup behaviour be reverted? I think it's preferable to have a leftover branch rather than open and wanted PRs be closed :-)

Happened again, though this time I'd pressed the rebase checkbox before conflicts were reported?
https://github.com/neutrinojs/neutrino/pull/1271

Is happening repeatedly in:
https://github.com/mozilla/treeherder/pull/4608

The PR won't stay open 馃槩

Sorry, let me assess if just pulling this logic can be done without adverse effect

:tada: This issue has been resolved in version 14.18.10 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

@rarkins Is the fix live for the GitHub app? I'm experiencing a similar issue, I can open another PR with more details if this issue is fixed

I believe i'm having the same issue on the gitlab app. My lockfile maintenance MRs are getting closed instead of updated when I make other changes to the project that cause them to become conflicted.

Was this page helpful?
0 / 5 - 0 ratings