Refined-github: Merge after CI is green doesn't seem to be working

Created on 6 Feb 2018  路  11Comments  路  Source: sindresorhus/refined-github

I just installed the Chrome extension and I see a bunch of things that have changed in the UI but when I click on the Squash & Merge button, I don't see the "Wait for successful checks" like in the gif here: https://user-images.githubusercontent.com/1402241/35192861-3f4a1bf6-fecc-11e7-8b9f-35ee019c6cdf.gif

image

Am I doing something wrong? Or is it not enabled for Squash & Merge?

Thanks! I've wanted that feature for so long, I'm so glad that you made it happen :)

Please! 鈾ワ笌 bug help wanted

All 11 comments

Looks like it's working for another repo. The only difference that I can see that the one where it's working is public and the one where it isn't is private. Could that be it?

The checkbox only appears if there's a yellow CI icon next to the commit, like what it's being circled with the cursor in that GIF.

It's now working on an another PR in that repo. It may not have initialized correctly right after installing or something. I can't repro it not working so I'm going to close it.

I clicked the green button next to the checkbox and it actually merged it and didn't wait for CI tests to pass. Am I supposed to just wait on that screen and if the checkbox is selected it'll automatically merge? Or did I do the right thing and it was supposed to wait?

Any errors in the console?

I'm sorry I closed the page :(

Am I supposed to just wait on that screen and if the checkbox is selected it'll automatically merge?

Yes, it would work if you leave the tab open.

I'm having the same issue as @vjeux , but my yellow icon DOES show up beside the last commit:

image

It used to work for me, but i think after switching our repo to squash and rebase it stopped working.

Does anyone know how to debug this ?

I've experienced this before. What may be happening (one of them):

  • RGH creates the checkbox, then GitHub regenerates the form, deleting it. We should detect this.
  • RGH doesn't detect the yellow dot if it appears a few seconds _after_ the commit.

But I don't know for sure.

https://github.com/sindresorhus/refined-github/issues/3084 could be a good solution to safely keep track of the yellow dot (scrapping most of our pr-ci-status.ts file)

I think at the moment the feature is completely broken since it never appears for me

Was this page helpful?
0 / 5 - 0 ratings