-
Notifications
You must be signed in to change notification settings - Fork 668
5909 pre-fill Github issue reports with crash details #9150
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
Conversation
you want to make it easy for users to report the issue, not take them to a page where they stare at a wall of 600 unsolved issues and having to figure out HOW to open/submit a new one
|
This is great, we were just talking about this -additionally would be great to add:
just things we have discussed, not that all that needs to go in this PR. 🎉 |
|
Thanks @mjkkirschner ! Dynamo version number is actually included in the issue title. The rest could also be added to body of issue, my only concern is how feasible it is to use the simple url query params mechanism i'm using here to add that much info - haven't stress-tested it yet 💪 |
|
Looks like 2kB of data is safe: |
|
Hey @radumg I just made sure this is in the backlog to get reviewed next sprint. It would be a nice improvement! |
| // by using the '*' as shown below: | ||
| // [assembly: AssemblyVersion("1.0.*")] | ||
| [assembly: AssemblyFileVersion("2.0.2.6067")] | ||
| [assembly: AssemblyFileVersion("2.0.2.6426")] |
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.
These changes don't need to be committed and can be excluded
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.
i'm not doing anything on purpose here (include or exclude) - do you mean I should manually exclude (not commit) them ? Feels like there should be something in .gitignore for it or an action step on build ?
| // To add or remove a member, edit your .ResX file then rerun ResGen | ||
| // with the /str option, or rebuild your VS project. | ||
| [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] | ||
| [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] |
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.
Is this update required? Are there any other repercussions to updating?
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.
This is due to my VisualStudio 2017, i'll revert to be on the safe side.
| </data> | ||
| <data name="PackagePathAutoAddNotificationShortDescription" xml:space="preserve"> | ||
| <value>A library (*.dll, *.ds) was recently imported into Dynamo. Its path was automatically added to "Settings > Manage Node and Package Paths..."</value> | ||
| <value>A library (*.dll, *.ds) was recently imported into Dynamo. Its path was automatically added to "Settings > Manage Node and Package Paths..."</value> |
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.
Was this change required?
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.
Visual Studio 2017 did this one, i can revert it.
|
Took a quick peak, I just added a couple comments/questions but looks good. We will get it pulled next sprint for further testing. |
|
Thanks @alfarok for the review, i'll fix up those issues now 👍 |
since we make a new Uri, it would never have any existing query parameters
|
should be ready for review again @alfarok ! |
|
Thanks for the updates @radumg, looks good. We will run the changes on the self-serve CI and get some manual testing in the upcoming sprint. It may also be worth adding a unit test calling |
|
Might get tricky/messy to detect a browser window opened correctly, but i could decompose the window launching & figuring out what to launch part, so we can unit test. Or i could just check the return code ( |
|
Hey @radumg, I don't think it will be super easy test the issue text body but what about verifying the window is open and has the correct window title. I would try to call |
|
Yep, makes sense and i was thinking similar, so good to know that's all we'd need to check 👍 |
|
I think no matter which browser gets launched the main window title should be consistent, such as |
|
Hey @radumg I just realized this PR is to |
|
thanks @alfarok , will rebase on |
|
@radumg That's because you are diffing your fork of I also have some good news and bad news. The good news is all the tests are passing with your changes. The bad news is that pressing the Previously the Dynamo and crash windows would remain open while the browser was opened allowing the user to save upon pressing The crash I was using to test was reported by @andydandy74 recently. Load the Core_Math sample, select all the nodes, use node to code. I also tested on master and the previous implementation launches the browser as expected and Dynamo remains open. |
|
It seems the issue is that |
|
Great, thanks so much @alfarok ! I can test this now knowing a reproducible crash. |
|
Hey @radumg, just checking in to see if there are any updates here? The testing task in our last sprint closed so just let me know if this needs another look and I will make sure it gets into the following sprint. |
|
Hey Keith @alfarok , haven’t managed to look at it post-AU (backlog..😖) but will set some time aside on Friday and let you know how I get on 🙂 |
|
@alfarok , made a new PR
|


Purpose
Fixes #5909 by pre-filling the new Github issue page with
Crash report from Dynamo 2.0.1CrashPromptwindow bottom text boxCurrently pressing
Submit to Githubtakes you here :With the new behaviour, pressing
Submit to Githubtakes you here :In the above image, the
This is the error textbody would be replaced by the actual details of the crash stack trace, as per original screenshot in #5909 .I can't seem to be able to make Dynamo crash on purpose right now (funny how that works...), so dunno how to replicate.
Other notes
https://github.com/DynamoDS/Dynamo/issues/newby default when no crash text is supplied (friendlier than sending to the super-busy all issues page)Further improvements
We could add the rest of the current
issue templatetext to the body and wrap thecrash dumpinside a nice code block, but I'm afraid that'd make the query string way too long. Open to ideas/suggestions ?Declarations
Check these if you believe they are true
*.resxfilesReviewers
@Racel
FYIs
@andydandy74 , @johnpierson