Skip to content

wait-for-build currently broken #1792

Closed

Description

@fregante

Issuehunt badges

"Wait for successful checks" isn't waiting 😰

https://github.com/sindresorhus/refined-github/blob/master/source/features/wait-for-build.tsx


IssueHunt Summary

[
<
i
m
g

s
r
c

'
h
t
t
p
s
:
/
/
a
v
a
t
a
r
s
3
.
g
i
t
h
u
b
u
s
e
r
c
o
n
t
e
n
t
.
c
o
m
/
u
/
1
4
0
2
2
4
1
?
v

4
'

a
l
t

'
b
f
r
e
d

i
t
'

w
i
d
t
h

2
4

h
e
i
g
h
t

2
4

b
f
r
e
d

i
t
]
(
h
t
t
p
s
:
/
/
i
s
s
u
e
h
u
n
t
.
i
o
/
u
/
b
f
r
e
d

i
t
)

h
a
s

b
e
e
n

r
e
w
a
r
d
e
d
.

Backers (Total: $60.00)

Submitted pull Requests


Tips


IssueHunt has been backed by the following sponsors. Become a sponsor

Activity

  1. added
    Please! ♥︎
    on Feb 15, 2019
  2. IssueHuntBot commented on Mar 21, 2019

    @IssueHuntBot

    @IssueHunt has funded $40.00 to this issue.


  3. gr2m commented on Apr 5, 2019

    @gr2m

    I assume this is the feature that should show a checkbox that would wait until all checks are green? I just installed Refined GitHub for the first time (latest Chrome on Mac) and don’t see it, here is a screencast

    Kapture 2019-04-05 at 9 45 17

  4. IssueHuntBot commented on Apr 5, 2019

    @IssueHuntBot

    @gr2m has funded $20.00 to this issue.


  5. loilo commented on Apr 19, 2019

    @loilo
    Contributor

    @gr2m The feature is currently disabled due to this issue, you can see it as an error in your browser console.

    @bfred-it Do we have any context information about the broken feature? I've created a very simple repo for reproduction, re-enabled the feature and it worked just fine (see this PR).

    Is there any additional context or repro to test against?

  6. fregante commented on Apr 19, 2019

    @fregante
    MemberAuthor

    Do we have any context information about the broken feature?

    I haven't looked at it at all, all I saw is that the merge went through without waiting even if the checkbox was checked. The feature was explicitly disabled because it looks like it's working, but it doesn't hold the merge.

    Try clicking on "Merge" while a test is running, and if it waits for the test to finish before merging... then it's working.

  7. szhu commented on Apr 19, 2019

    @szhu

    For people who want to implement this, I think a less dangerous way of implementing this is to add a second button, "merge after checks pass". The reason is that if that second button breaks, the merge simply won't happen and the user would realize it, but if the checkbox breaks (as it did above) and the user clicked merge, the merge would happen immediately.

  8. fregante commented on Apr 19, 2019

    @fregante
    MemberAuthor

    That's a safe idea, but it may look cluttered.

    Perhaps we can find a safer way to only show the checkbox if the button is successfully detected and stopped. It could even be replaced with our own lame button. It depends on how/why this broke in the first place.

  9. loilo commented on Apr 19, 2019

    @loilo
    Contributor

    Definitively, hence my question. In my test case, the checkbox worked flawlessly and held back the merging exactly as desired. I think if we want to fix this, we'll need a reproducible case to test with.

  10. added
    💵 Funded on Issuehunt
    on May 10, 2019
  11. self-assigned this
    on May 11, 2019
  12. added and removed
    Please! ♥︎
    on May 11, 2019
  13. issuehunt-oss commented on Jun 24, 2019

    @issuehunt-oss

    @sindresorhus has rewarded $54.00 to @bfred-it. See it on IssueHunt

    • 💰 Total deposit: $60.00
    • 🎉 Repository reward(0%): $0.00
    • 🔧 Service fee(10%): $6.00
  14. added and removed
    💵 Funded on Issuehunt
    on Jun 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions