Fix troubleshoot button not working in Duo Chat multithreaded mode

What does this MR do and why?

This change fixes the fact that the /troubleshoot button doesn't work in Duo Chat in multithreaded mode by creating a new thread when the button is clicked, and not defaulting to the latest thread when a button is clicked. Other buttons will be fixed in a followup MR..

References

N/A

Screenshots or screen recordings

Screen_Recording_2025-03-28_at_10.39.26_PM

How to set up and validate locally

Prerequisite: You must have Duo Chat set up locally

  1. Go to a failed job
  2. Press the troubleshoot button
  3. You should see that it creates a new thread regardless of whether you press it from Duo Chat closed state, an open thread, or the history page.

MR acceptance checklist

Related to #526951 (closed)

Edited by Lesley Razzaghian

Merge request reports

Loading