Skip to content

Conversation

@brian-mcnamara
Copy link

While testing shutdown handling, I found MessageChannelPartitionHandler would cause issues as the poller indefinitely poll until the steps complete. If the manager happens to be shutting down, this causes the job to become stuck.

This solution is a shim to better support graceful shutdown; I don't believe its a proper fix since, in my opinion, MessageChannelPartitionHandler should be refactored into something like TaskletStep which can manage repository updates during an execution lifecycle, however that requires a larger design / discussion.

For our use case, I plan on overriding the policy to throw JobInterruptedException when the pod is being shutdown.

@brian-mcnamara brian-mcnamara force-pushed the interruptPartitionHandler branch from 64f22ef to 65011db Compare December 16, 2025 06:28
Signed-off-by: brian.mcnamara <brian.mcnamara@salesforce.com>
@brian-mcnamara brian-mcnamara force-pushed the interruptPartitionHandler branch from 65011db to bf6cefc Compare December 16, 2025 06: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.

1 participant