-
Notifications
You must be signed in to change notification settings - Fork 6
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
Improve error reportability #160
Conversation
e27529f
to
ac888d5
Compare
Hello @tuurep @Tweekism could one of you take a look at this and leave a review? Thanks! I got motivated to do this after we had quite a lot of back and forth on a bug the other day, I think this should make these things easier in the future. EDIT the referenced issue has a list of the things I did here :) |
Whenever I write issues I quite hate these types of templates but that's a personal problem lol I do see the need but am also thinking we could have a Troubleshooting Readme section I read all of the template text, and it's good, with 2 worries:
|
Do you have an example case where |
Haha yes so do I but I think I got to the point now where I really understand why people have them. Everything in that template are things that I/we would have to individually ask little by little otherwise and this makes the process of figuring out how to reproduce the bug very lengthy and annoying. I'd prefer to just fix it quickly without having to go through a huge conversation ^^
Yes, this is something we could add in addition. What would you include there? I still think we need the information in the bug template anyways though because people won't read everything before opening a bug
I tried my best to keep it as short as possible. If you have an idea for how to shorten it without losing information/understandability I'd be happy to improve it based on that!
Good point! I think we could add it to the start of the section where we ask to run
You can set |
Yeah also it starts making more sense the more popular a repo is I didn't realize that CONTRIBUTING.md already has a troubleshooting section that includes perhaps the most important one, Node SEA build issue, and then the others are the ones you have in the template:
Sooo yeah
This is the best idea here that I think we should do! My thought was to add a README section until I saw the CONTRIBUTING also has it. Maybe worth extending that with all of the above?
I think it's a little wordy, might I say a little too polite if you know what I mean 😄 But it's quite fine, we don't need to add anything other than the tip about
Ok, nice change! Tested a little and yes, on You might be aware, but in the case of the Linux build where it segfaults, it still hangs with e.g. |
d45a11b
to
08eb505
Compare
So I added the tip about
This is (as far as I can tell) the only thing still missing from the stuff you commented. I'll do this next but I'm out of time for today. Let me know if I missed anything else :) |
Ok, nice it works When building purposely with system node and running
Bug report link interesting idea. Hopefully we don't get 100 bug reports for a known issue 😄 But the idea is that the template may point to the correct info. I would add one newline after the link though. |
Hey since we're pretty much finished for the time being, I'll say that next I'm most interested in #146 but I don't know if it's a complicated one. |
Oh, very interesting that you get the segmentation fault info now as well! That wasn't the case before, was it?
Haha, yes. I hope people will read the stuff on the bug report. I added some more info to that message, what do you think?
I added the newline, good call. |
Sounds great! |
Yeah it would just hang and I couldn't get that info from it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay I think we can merge 😄
Close #159