Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it easier for a contributor to determine what failed their build #10625

Closed
danielbachhuber opened this issue Oct 15, 2018 · 2 comments · Fixed by #15229
Closed

Make it easier for a contributor to determine what failed their build #10625

danielbachhuber opened this issue Oct 15, 2018 · 2 comments · Fixed by #15229
Labels
[Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Type] Enhancement A suggestion for improvement.

Comments

@danielbachhuber
Copy link
Member

danielbachhuber commented Oct 15, 2018

Currently, it can be a bit difficult to determine why a build failed:

image

image

A couple of enhancements we could make:

  1. More clearly summarize build failures at the end of each job.
  2. In the Travis environment variables, document which tests are running so there's some simple reference of what might've failed.

From https://wordpress.slack.com/archives/C02RQC26G/p1539620166000100

@danielbachhuber danielbachhuber added [Type] Enhancement A suggestion for improvement. [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. labels Oct 15, 2018
@talldan
Copy link
Contributor

talldan commented Jul 22, 2019

One idea I had is that when a job fails, documentation about the specific test failure could be posted in the PR.

E.g. If one of the E2E test jobs fails, post a link to details about how to debug/fix e2e test issues.

I haven't looked into the implementation details. I'd imagine the travis job would have to send a request or trigger a github webhook when failing.

@aduth
Copy link
Member

aduth commented Feb 26, 2020

Doing a bit of triage today in the Project Management Automation project board.

One idea I had is that when a job fails, documentation about the specific test failure could be posted in the PR.

While the original issue here was deemed closed by #15229, worth noting that there is still an idea card in the project board which encompasses a similar sort of automation enhancement:

Automatically comment when someone's pull request has a build failure occur (or try a restart automatically with exponential backoff). The comment should include a link to "next steps" instructions, ideally specific to the sort of job which failed (end-to-end test, linting, etc).

https://github.com/WordPress/gutenberg/projects/24#card-17442118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants