Investigate methodology to add Go panicparse

Description

This request is to incorporate panicparse into the make targets in the mattermost server repo. The tool should probably be optional for users.

Adding the tool is simple and one simply pipes the go run output through pp. The issue I discovered that needs to be resolved is how to have pp understand the current logging format which prepends text that pp, by default does not understand.

From https://github.com/maruel/panicparse

> panicparse Parses panic stack traces, densifies and deduplicates goroutines with similar stack traces. Helps debugging crashes and deadlocks in heavily parallelized process.

Converts the output from:

 

For reference, another tool that enhances the output of Go test results is richgo and a user only needs to export GO=/usr/local/bin/richgo in their .zshrc for the Makefile to pick up the tool.

QA Test Steps

None

Reporter

None

Status

Mana

None

Assignee

Unassigned

QA Assignee

None

Reporter

Jason Frerich

Epic Link

Fix versions

None

Mattermost Team

Integrations

Sprint

None

Labels

None

QA Testing Areas

None

GitHub Issue

None

Components

None
Configure