sindresorhus/refined-github

Displayed build status relates to the globally latest build instead of latest build in the default branch #2468

OrBin posted onGitHub

Refined-GitHub adds a build/CI status icon next to the repo’s name.

It seems like the build status is displayed for the latest build all over the repository, which is weird and I'd expect it to display the latest build for the default branch. Maybe it works as designed, but I believe that the build status icon next to the repo's title should describe the build status for the current/stable state of the project, therefore I expect it to relate to the default branch.

For example, in OrBin/gramhopper repository, I currently see a failing build icon: . The linked build is Build #199 from branch feature/run-ci-with-python-3.8, which is some experiment I've made. The build I'd expect to see is Build #198 - the latest build on dev branch (the default branch).


According to GitHub, the current/stable branch is dev. We don’t know what your logic is to decide which branch is current/stable other than just selecting the default branch.

And the default branch is currently failing, hence the red cross

https://github.com/OrBin/gramhopper/commits/dev

On this page, the top-most commit is failing, that’s where we get the icon from.

posted by fregante over 5 years ago

Interesting... Builds 198 and 199 refer the same commit and use the same configuration... Anyway, you're right. Thanks for the explanation!

posted by OrBin over 5 years ago

Fund this Issue

$0.00
Funded

Pull requests