Skip to content

Potentially use Stacklyn for stack parsing to reduce maintenance overheadΒ #17333

@doctoon

Description

@doctoon

Problem Statement

As pointed out in #4543 , stacktrace parsing is hard to maintain and get right.
As of this issue it looks like your latest commit was related to stack parsing so I thought this was the perfect time to chip in.

While building this, I did a bunch of research into the internals of the most common stacktrace formats to make sure things stay accurate.
(I even tested on Firefox lol)

Solution Brainstorm

I present to you... πŸ₯
Stacklyn!

It can parse any JavaScript stack trace from Chrome, IE, Firefox, Espruino, etc :D
It has zero dependencies, and supports parsing, converting, source mapping, stringifying back from an object, and more!
It took a little over 2 months but I think it would be a great fit for Sentry.

If you want to check it out, the github is at https://github.com/stacklynjs/stacklyn 😊
It's actively maintained (currently I'm the only one but whatever) too unlike most other parsers I came across (they're still awesome tho)

Would love your thoughts and criticism, I'm happy to help or adapt Stacklyn to your structure if you're interested!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions