Repository navigation
fix: log retried service task failures on WARN instead of ERROR - #178
Merged
emaarco merged 1 commit intoNov 26, 2026
Merged
Conversation
emaarco
deleted the
emaarco/service-task-deliveries-log-error-for-failures-t
branch
November 26, 2026 15:46
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why
Every failed service task delivery is logged as ERROR, even when retries are left and the engine schedules the task again on its own. A second ERROR then only confirms that the failure was reported. Teams that alert on ERROR get paged for incidents that do not exist.
What
Port of bpm-crafters/process-engine-adapters-camunda-7#323.
-033is logged with the throwable, on WARN while retries are left and on ERROR once none are left, so the last attempt (the one that creates an incident) stays ERROR.-034("successfully failed delivering task") moves from ERROR to DEBUG.EmbeddedPullServiceTaskDelivery), remote pull (PullServiceTaskDelivery) and remote subscribe (SubscribingServiceTaskDelivery).handleFailureand the cleanup of failed deliveries run as before.Verification
./mvnw verify -pl engine-adapter/cib-seven-embedded-core,engine-adapter/cib-seven-remote-core -am: build succeeds, all tests pass (82 embedded, 9 remote).handleFailureand the cleanup.Out of scope / Follow-ups
Refs bpm-crafters/process-engine-adapters-camunda-7#321