Skip to content

Better image test logs #1569

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

Merged
merged 4 commits into from
Apr 7, 2017
Merged

Better image test logs #1569

merged 4 commits into from
Apr 7, 2017

Conversation

etpinard
Copy link
Contributor

@etpinard etpinard commented Apr 7, 2017

One silver lining to this week's nw.js upgrade fiasco 🥈, I spent a lot of time staring at image request logs and found a few ways to make them easier to read.

I hope this will benefit others when trying to make sense of image tests failures. 🍻

etpinard added 3 commits April 7, 2017 16:12
- add handle for request errors, to catch connections errors
  that can happen when the image server blows up
- log error messages directly to stdout, so that they are written
  to the stdout as they happen in a child process exec block.
- `git rebase` their local branch off the latest `master`,
- make sure to **not** `git add` the `dist/` folder (the `dist/` is updated only on verion bumps),
- write an overview of what the PR attempts to do,
- select the _Allow edits from maintainers_ option (see this [article](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) for more details).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@etpinard etpinard merged commit ce16727 into master Apr 7, 2017
@etpinard etpinard deleted the better-image-test-logs branch April 7, 2017 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant