-
Notifications
You must be signed in to change notification settings - Fork 694
[Backport stable/8.5] Unable to deploy process with boundary event without outgoing flows #36706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add a Parameterized test class covering all supported boundary event types (message, timer, signal, escalation, error, compensation) in both interrupting and non-interrupting modes. Verifies that interrupting events terminate the attached activity and non-interrupting events keep it running to completion. (cherry picked from commit dbc9a3a)
Boundary events no longer require outgoing sequence flows by default. Only compensate boundary events still must have no outgoing flows and a compensation association. - Remove global “must have outgoing” check - Add hasCompensationDefinition guard - Introduce isValidCompensationBoundaryEvent to enforce association - Update validation messages accordingly (cherry picked from commit 9cb86dc)
- CompensationEventTest: expect new message for missing compensation association: “Compensation boundary events must have a compensation association and no outgoing sequence flows” - ZeebeBoundaryEventValidationTest: remove old “must have outgoing” case and add compensation‐specific scenario using the updated validation message (cherry picked from commit e66e109)
(cherry picked from commit ef88915)
The latest Buf updates on your PR. Results from workflow Zeebe CI / protobuf-checks (pull_request).
|
@copilot please fix the header issue in class BoundaryEventWithoutOutgoingSequenceFlowTest.java |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This backport fixes an issue where processes with boundary events without outgoing flows couldn't be deployed properly. The fix specifically addresses validation logic for compensation boundary events, which are allowed to have no outgoing sequence flows when they have a compensation association.
- Updated validation error messages to be more specific about compensation boundary event requirements
- Refactored validation logic to properly handle compensation boundary events vs. other boundary event types
- Added comprehensive test coverage for boundary events without outgoing sequence flows
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
File | Description |
---|---|
BoundaryEventValidator.java | Updated validation logic to specifically handle compensation boundary events and improved error messages |
ZeebeBoundaryEventValidationTest.java | Updated test to use compensation boundary event and verify new error message |
CompensationEventTest.java | Updated expected error message to be more specific about compensation boundary events |
BoundaryEventWithoutOutgoingSequenceFlowTest.java | Added comprehensive parameterized tests for various boundary event types without outgoing flows |
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
Not yet 🤷 |
Description
Backport of #34459 to
stable/8.5
.relates to #33589