Closed JeroenDeDauw closed 9 years ago
Here is screenshot with my ideas:
// cc: @stof
@addshore @tobijat
@aik099 there is a single details link, because Github does not support combined statuses in their UI (they support it in their API only since a few days, and it is still beta). The details are for the status, which is set by Scrutinizer here. If doing it the dumb way, the travis status would be lost entirely. Scrutinizer currently builds the combined status by itself, and then put a link to Travis in its own page.
A status can only have a single url. Look at the Github API. You are confusing what is build by Scuritnizer (the string Scrutinizer: 2 added/modified code elements -- Travis: Failed
), and what is build by github.
The only way to have a better UX for statuses is to wait for github to provide the combined status themselves in the PR page. See https://twitter.com/GitHubAPI/status/449232149963898880 for a discussion about it a few days ago. It is likely to come when the combined status comes out of beta
What you can do in the meantime is switch to have Scrutinizer comment on pull requests instead of using the status.
What you can do in the meantime is switch to have Scrutinizer comment on pull requests instead of using the status.
Is this a suggestion for changes to Scrutinizer or something users can do via config?
You can already do this in your repository configuration under "Pull-Request Notification".
You can already do this in your repository configuration under "Pull-Request Notification".
Cool. Doing this now for a few repos. Still awaiting default behaviour to get fixed, as I do not want to go through ALL my repos and change the config.
The default behavior is to either set things to success or the status that another service has set, or failed if you specify build failure conditions and link to the other services.
I'm not sure how we can do better here until GitHub natively supports merging the status.
Doesn't Github now support multiple status or something with the latest API update ?
Not yet, unfortunately. They gather the data which is a good start, but they have not yet built the UI around it.
I am fairly certain this issue is now resolved by Github.
Yeah, it indeed has been resolved
When using Scrutinizer, the build status icon (the one that states one of: passed, failed, error) links to ScrutinizerCI rather than to TravisCI. It's nice to have a link to ScrutinizerCI, though for my team the choice goes to TravisCI if we need to pick one. That is where we want to go when a build fails after all.