-
Notifications
You must be signed in to change notification settings - Fork 13
Group concurrent errors #105
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
Example of a report: @armanio123 Here are the results of running the user test suite comparing Unfortunately, something went wrong, but it probably wasn't caused by your change. Details
|
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.
Some minor comments, plus I agree with Daniel's question about equality of stdout.
Overall, though,
- I'm suspicious that more de-duping will be needed.
- I think it's worthwhile to ship this and have an example of the needed de-duping.
src/utils/hashStackTrace.ts
Outdated
@@ -0,0 +1,32 @@ | |||
import { createHash } from "crypto"; |
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.
just a comment for later: createHash
is one of the functions from crypto that causes a security warning to be issued on a repo. We'll have to disable the warning since it's not used for secure purposes, but for identity purposes.
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
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.
Approved, but I'd appreciate if you just made some of the minor simplifications I suggested.
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
Last run of server tests had an issue:
Let me try running off of a revert. |
I have submitted a new PR for returning this feature. It also fixes the bug introduced. @DanielRosenwasser @sandersn @jakebailey I appreciate if I can get a review. |
Fixes #100
This changes how the error are displayed. Instead of showing an error per repository, it displays the "error message" as header and groups all of the repositories containing that error.
The group algorithm parses all of the stack lines containing "tsserver" and creates a hash based on that.
Important:
!
character to make the sort to put it on top.