Automatically post RSpec stack trace into incident comment
(Issue body WIP)
Look at how gitlab-qa bot posts job failure stacktrace into issues and see if we can reuse the same approach. https://gitlab.com/gitlab-org/gitlab-qa/-/blob/master/lib/gitlab/qa/report/results_in_issues.rb#L84
Updated Proposal
-
Identify the stacktrace start and end markers. for RSpec this would be
Failures:
andTEST PROF INFO
. -
We take the section between these 2 markers and post to incident
Edited by Jennifer Li