Skip to content

Add the ability to customize which packages' frames are folded #416

@nex3

Description

@nex3

Right now, we have some hard-coded logic for folding stack chains that come from test errors. We fold core library frames and frames from the test, stack_trace, and stream_channel packages. We should make this set of packages customizable, at least by allowing users to add to it. The config for this could look something like:

folded_packages:
- pool
- async

I'm not super happy with that name—it only makes sense to people who know that "folding" is a thing that can be done to stack traces. But I also don't want to make it too verbose, and I'm having trouble coming up with a better alternative.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions