feat(threads): Display closest lock reason as a thread tag #50472
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Prerequisite backend PR #50471 to extract this field into event json
Displays the closest to user (from the topmost frame containing lock) lock reason as a tag in the thread tags and next to the thread state
![image](https://private-user-images.githubusercontent.com/4999776/244003780-28142ab8-63e2-46b0-a411-1893ae4f4e9d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDczNjQsIm5iZiI6MTczOTM0NzA2NCwicGF0aCI6Ii80OTk5Nzc2LzI0NDAwMzc4MC0yODE0MmFiOC02M2UyLTQ2YjAtYTQxMS0xODkzYWU0ZjRlOWQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMDc1NzQ0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTI0ZDkxZTQzYWJkMTRiY2NiNjdjZDcyYTQyM2JhZjQzNDI4MDUyMWViZjdiM2RjNGYwNzA1ZDYwZmU1MzcyZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.wXlHhKBQ3nz6sLVjnW-zAXNrDtBwrtWO2JiKn_pGDic)