Skip to content

test: enable draining worker pollers on shutdown#715

Merged
jmaeagle99 merged 8 commits into
temporalio:mainfrom
jmaeagle99:drain-pollers
May 26, 2026
Merged

test: enable draining worker pollers on shutdown#715
jmaeagle99 merged 8 commits into
temporalio:mainfrom
jmaeagle99:drain-pollers

Conversation

@jmaeagle99
Copy link
Copy Markdown
Contributor

@jmaeagle99 jmaeagle99 commented May 22, 2026

What was changed

  • Add frontend.enableCancelWorkerPollsOnShutdown=true dynamic config to integration test server.
  • Fix ExecuteWorkflowAsync_StdlibSemaphore_NonAsyncDeadlocks to terminate workflows.
  • Fix ExecuteWorkflowAsync_WorkerClientReplacement_UsesNewClient to use xUnit fixture for second environment so it has the same settings, crucially the frontend.enableCancelWorkerPollsOnShutdown setting.
  • Update protos directory based on changes from sdk-rust.

Why?

Enable testing of draining inflight worker tasks on shutdown.

@jmaeagle99 jmaeagle99 requested a review from a team as a code owner May 22, 2026 17:36
@jmaeagle99 jmaeagle99 merged commit 6cef411 into temporalio:main May 26, 2026
16 checks passed
@jmaeagle99 jmaeagle99 deleted the drain-pollers branch May 26, 2026 23:29
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.

2 participants