Skip to content

fix(ui): refresh the stack for a running thread interval - #6044

Open
Aminark wants to merge 1 commit into
codecentric:masterfrom
Aminark:fix/refresh-stack-in-active-thread-interval
Open

Aminark wants to merge 1 commit into
codecentric:masterfrom
Aminark:fix/refresh-stack-in-active-thread-interval

Conversation

@Aminark

@Aminark Aminark commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

A worker can move from reading an order to processing it without leaving RUNNABLE. The thread dump view extended the current interval on each poll but kept the stack from the first sample. Opening that interval could show a method the worker had long since left.

Update the sample attached to the active interval when another dump reports the same state. Completed intervals keep their last sample. The UI test opens a worker's interval, changes the stack in the next response and checks the open details and the number of timeline segments.

@Aminark
Aminark requested a review from a team as a code owner November 30, 2026 15:44

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant