-
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
Copy crash report to the description when it is attached #281
Comments
Probably rather "if a crash report", otherwise it might add crash reports for multiple versions (unless that is desired). |
mc-crash-lib returns all the info to the crash module, so should be easy :D |
Can it also extract only the relevant strack trace? Because optimally the description should not contain the entire crash report, but just the stack trace. |
the exception field contains only the stacktrace |
Should Arisa consider crash reports attached by any users, or only by the reporter (and maybe helpers and moderators)? Additionally, it would probably good to only consider Minecraft crash reports, but ignore JVM ones, since they might contain sensitive data and once included in the description it would be permanently in the history of the issue. |
Personally I'd say it should only copy the stack trace initially after the bug report is first created. AKA only the reporter's crash report should be included. Afterwards we can take care of it manually. |
Im going to add them as a comment, not description, so it can be hidden but its still searchable |
And if its a comment I dont mind if new ones are added, we can always just restrict it and a lot of the crash reports are added after the fact |
The Problem
It is often useful to search for stack traces from crashes. Since Jira does not search through attachments, putting the head of the stack trace in the description is a good idea. Arisa could do this automatically when a crash report is attached.
Possible Implementation
When a crash report is attached to a report for the first time, Arisa should check if the crash report isn't already present in the description. Detecting the Java exception name in a code block could be a good start. The crash report would be added at the bottom of the description
The crash report should be formatted as follows:
Example: https://bugs.mojang.com/browse/MC-181313
The text was updated successfully, but these errors were encountered: