Skip to content

fix: stop showing timers as pending after workflow cancellation#3296

Open
ItsRoy69 wants to merge 3 commits intotemporalio:mainfrom
ItsRoy69:fix/timer-pending-after-cancel-3156
Open

fix: stop showing timers as pending after workflow cancellation#3296
ItsRoy69 wants to merge 3 commits intotemporalio:mainfrom
ItsRoy69:fix/timer-pending-after-cancel-3156

Conversation

@ItsRoy69
Copy link
Copy Markdown
Contributor

Fixes #3156

When a workflow is cancelled, timers from the try block that haven't
received TimerFired or TimerCanceled events continue to display as
pending in the UI — the timeline shows a ticking line extending rightward
and the event table shows them as active, even though the workflow has
moved to executing the cancellation handler.

  • Manual testing
  • E2E tests added
  • Unit tests added

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

Event History with Yellow/canceled background
Timeline tab with Short segment, no pending dashes
Timer Status with Shows as Canceled
10s cleanup timer appears separately, runs normally

Issue(s) closed #3156

Signed-off-by: ItsRoy69 <jyotirmoyroy649@gmail.com>
@ItsRoy69 ItsRoy69 requested a review from a team as a code owner April 11, 2026 04:22
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 11, 2026

@ItsRoy69 is attempting to deploy a commit to the Temporal Team on Vercel.

A member of the Team first needs to authorize it.

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.

Timer keeps running after workflow cancellation raising an error

2 participants