Replies: 10 comments
-
I have attempted to debug this issue by creating a new repository and trying to use the same script: But despite trying several PRs I could not reproduce it:
It just does not manifest. Which is why I thought this might be related to repository size. In all cases I've added at least one or more commits in the target branch to trigger a rebase on the PR branch and force push. |
Beta Was this translation helpful? Give feedback.
-
I have created a fork of And attempted several PRs as well:
And yet still, no cigar. Just cannot reproduce it. |
Beta Was this translation helpful? Give feedback.
-
I think at this point it's sensible to involve GitHub support in this. |
Beta Was this translation helpful? Give feedback.
-
Here's the support ticket: https://support.github.com/ticket/personal/0/1629892 |
Beta Was this translation helpful? Give feedback.
-
Here is another weird case, but not exactly the same, in this PR it first showed up as Except despite being marked as merged it still lost all commits and diffs: |
Beta Was this translation helpful? Give feedback.
-
We got a response from support:
But their description is wrong. They say that:
But our case is clearly:
Except we get a PR becoming "closed". Which I pointed out in a response. |
Beta Was this translation helpful? Give feedback.
-
It looks like this might actually be fixed:
There is hope @flexsurfer. |
Beta Was this translation helpful? Give feedback.
-
I poked them for an update and they said:
So we might just get there eventually. |
Beta Was this translation helpful? Give feedback.
-
interesting if it fixes only new PRs or old already broken as well |
Beta Was this translation helpful? Give feedback.
-
Closing as this is not actionable on our side, moving to discussion |
Beta Was this translation helpful? Give feedback.
-
For some time now we've been seeing the
scripts/merge-pr.sh
script we use to merge PRs randomly closing them, instead of marking them as merged. For example:This appears to be some kind of timing issue, that is triggered when the PR branch is rebased and force pushed:
https://github.com/status-im/gh-rebase-fix-test/blob/150eedcafd346a46aa70fc3d13e90bcdf33e4c72/merge-pr.sh#L128-L132
As seen in the screenshot, it appears the PR is closed before the force-push takes effect. One major issue with this is that the commits and the diffs disappear from the PR, making it useless for documenting history of changes.
Beta Was this translation helpful? Give feedback.
All reactions