sindresorhus/refined-github

`bypass-checks` only works sporadically since ~1 week ago #3418

beaugunderson posted onGitHub

Screenshot; mouse is over the underlined "Details" link, you can see in the bottom left that the URL is incorrect (it goes to the GitHub checks page):

image

(this is in a private repository so unfortunately I can't provider a URL)


@beaugunderson is there a link on the checks page that it should go to?? If yes can to try to debug it.

posted by yakov116 over 4 years ago

yes--about 10% of the time the link changes correctly

github URL: https://github.com/canvas-medical/canvas/pull/8989/checks?check_run_id=930242255

correct URL: https://circleci.com/workflow-run/d8d5689f-19e5-447b-a749-311c5bfdd2a7?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-checks-link

image

"View more details on CircleCI Checks" HTML:

<a class="text-small text-gray-light" target="_blank" rel="noopener noreferrer" data-hydro-click="{&quot;event_type&quot;:&quot;check_suite.external_click&quot;,&quot;payload&quot;:{&quot;check_suite_id&quot;:987749495,&quot;check_run_id&quot;:930242255,&quot;link_url&quot;:&quot;https://circleci.com/workflow-run/d8d5689f-19e5-447b-a749-311c5bfdd2a7?utm_campaign=vcs-integration-link&amp;utm_medium=referral&amp;utm_source=github-checks-link&quot;,&quot;link_text&quot;:&quot;View more details on&quot;,&quot;originating_url&quot;:&quot;https://github.com/canvas-medical/canvas/pull/8989/checks?check_run_id=930242255&quot;,&quot;user_id&quot;:61791}}" data-hydro-click-hmac="40d67556f3f00cb80ec894a6129260f8ea27594b0d8b527f44db099999949159" href="https://circleci.com/workflow-run/d8d5689f-19e5-447b-a749-311c5bfdd2a7?utm_campaign=vcs-integration-link&amp;utm_medium=referral&amp;utm_source=github-checks-link">
        <svg class="octicon octicon-link-external mr-2" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M10.604 1h4.146a.25.25 0 01.25.25v4.146a.25.25 0 01-.427.177L13.03 4.03 9.28 7.78a.75.75 0 01-1.06-1.06l3.75-3.75-1.543-1.543A.25.25 0 0110.604 1zM3.75 2A1.75 1.75 0 002 3.75v8.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0014 12.25v-3.5a.75.75 0 00-1.5 0v3.5a.25.25 0 01-.25.25h-8.5a.25.25 0 01-.25-.25v-8.5a.25.25 0 01.25-.25h3.5a.75.75 0 000-1.5h-3.5z"></path></svg>View more details on CircleCI Checks
</a>
posted by beaugunderson over 4 years ago

Can you check if $('[data-hydro-click*="check_suite.external_click"]') exists on the checks page?

posted by yakov116 over 4 years ago

yes, that’s visible in my last comment :) (the html blob is from the checks page and contains that string)

On Fri, Jul 31 2020 at 05:31, yakov116 notifications@github.com wrote:

Can you check if $('[data-hydro-click*="check_suite.external_click"]') exists on the checks page?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sindresorhus/refined-github/issues/3418#issuecomment-667096283, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAPCX2ASOBGOEARISCLLNTR6K2T3ANCNFSM4PPCZXAQ .

posted by beaugunderson over 4 years ago

It's possible that the DOM is updated but we don't fix the links again.

This feature should probably use selector-observer: #3084

posted by fregante over 4 years ago

Fund this Issue

$0.00
Funded

Pull requests