gh-dash icon indicating copy to clipboard operation
gh-dash copied to clipboard

[BUG] `gh-dash` reports incorrect status of PR status checks

Open mdb opened this issue 2 years ago • 0 comments

Thanks for your work on gh-dash. I really like the tool, though I may have found a bug...

Describe the bug

It appears that gh-dash incorrectly reports the status of PR status checks in some contexts.

To Reproduce

Steps to reproduce the behavior:

  1. View gh dash
  2. Find a PR in gh dash's dashboard for which all status checks are passing
  3. Push an additional commit to that PR, in effect re-setting the previously-passing status checks to "in progress" (or even deliberately failing one or more of the status checks)
  4. Press r to refresh the gh dash dashboard
  5. Note that the gh dash dashboard continues to report the status check status from step 2 and not the new status check status

Expected behavior

I would expect gh-dash to always report a PR's current status check statuses.

Desktop (please complete the following information):

  • OS: Mac

mdb avatar Apr 11 '22 14:04 mdb