feat: support multiple businessKey annotations#74
Conversation
There was a problem hiding this comment.
The review has been concluded!
PR Bot Information
Version: 1.19.15 | 📖 Documentation | 🚨 Create Incident | 💬 Feedback
- Correlation ID:
9bf84470-2ddc-11f1-8195-f82f4392d55b - Event Trigger:
pull_request.opened - LLM:
anthropic--claude-4.6-sonnet - File Content Strategy: Full file content
SummaryThe following content is AI-generated and provides a summary of the pull request: Support Multiple
|
There was a problem hiding this comment.
The PR introduces support for multiple @bpm.process.businessKey annotations with qualifier-based resolution and fallback logic. The implementation is generally sound and well-tested. The main concerns are: (1) near-duplicate validation logic between validateBusinessKeyForProcessStart and validateBusinessKeyAnnotation that could drift out of sync, (2) the implicit contract of resolveBusinessKeyAnnotation returning the unqualified fallback regardless of whether it exists — which is handled differently across start vs. lifecycle validation paths, and (3) the lifecycle integration test using cascade as a discriminator for cancel messages, which is fragile compared to using a stable unique identifier.
PR Bot Information
Version: 1.19.15 | 📖 Documentation | 🚨 Create Incident | 💬 Feedback
- File Content Strategy: Full file content
- Event Trigger:
pull_request.ready_for_review - Correlation ID:
8bce2c50-2e67-11f1-9849-aaa4ae504a77 - LLM:
anthropic--claude-4.6-sonnet
Kronprinz03
left a comment
There was a problem hiding this comment.
LGTM, after that can you create a hybrid test with different 2 processes which get handelt ?
The hybrid test is already expanded in this PR |
Have you...