Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

GitHub Check Run two statuses showing #1530

Open

Description

@brandon-leapyear

I'm developing a GitHub App that uses the GitHub Checks API, and I think I might have found a bug:

Screen Shot 2019-03-25 at 3 09 59 PM (2)

I originally create the check run as "completed/neutral", and then I mark it as "in_progress", but it seems like both statuses are shown in the UI. Looking at the HTML, it seems like there should be some logic that actually checks if status == "completed" before showing the conclusion.

Activity

  1. brandon-leapyear commented on Mar 25, 2019

    @brandon-leapyear
    Author

    Also, in another check run where I mark it "completed/action required" and then mark it as "queued", the status box is marked as ❌instead of "queued"

    Screen Shot 2019-03-25 at 4 35 11 PM (2)

  2. added
    API
    on Mar 26, 2019
  3. TPS commented on Mar 26, 2019

    @TPS
    Collaborator

    Did you happen to contact @github? What did they say?

  4. brandon-leapyear commented on Mar 26, 2019

    @brandon-leapyear
    Author

    I emailed them with a link to this issue, but they haven't responded yet. Will update when they reply!

  5. IronLung7 commented on Mar 16, 2020

    @IronLung7

    Is there any update?

  6. brandon-leapyear commented on Mar 16, 2020

    @brandon-leapyear
    Author

    Hey thanks for checking in. It seems like the first issue isn't a problem anymore; the GitHub Action page doesn't seem to show the status anymore. The second issue may or may not be a problem. If it's not reproducible, then I'm fine closing this

  7. IronLung7 commented on Mar 17, 2020

    @IronLung7

    @brandon-leapyear I contacted with github enterprise support. Vanessa's suggestion solves this issue. It works :)

    Please check

    From the information you've provided, it sounds like the way you're using the feature isn't how it was intended to be used and isn't as designed: once a check run has completed (in this case with a failed conclusion), then it should never be updated again to a non-completed status (like in_progress).

    Instead, the recommended flow is that a new check run is created (with the same name) with a non-completed status. In the GitHub user interface this new check run will supersede the previous check run.

  8. brandon-leapyear commented on Mar 17, 2020

    @brandon-leapyear
    Author

    Ah yes, I think I did make that change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions