Message Start Events in Ed #2833
Conversation
… messages in the same we handle receive messages when executing in Ed. It will present a form based on the message schema, and allow tests to run against the process.
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. 💤 Files selected but had no reviewable changes (3)
⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughAdds a CustomStartEvent and converter to distinguish message vs non-message BPMN start events, wires them into the parser and SPIFF_CONFIG, adjusts greedy advancement to continue past non-message start events, and bumps package version to 0.1.37. ChangesStartEvent Customization
Sequence DiagramsequenceDiagram
participant Workflow
participant CustomStartEvent
participant MessageCheck
participant UpdateHook
participant RunMethod
Workflow->>CustomStartEvent: parse and instantiate
CustomStartEvent->>MessageCheck: is_message_event?
alt Message Start Event
MessageCheck->>UpdateHook: bypass message waiting
UpdateHook->>RunMethod: pause execution
RunMethod-->>Workflow: return None (await user payload)
else Non-Message Start Event
MessageCheck->>Workflow: retain default behavior
Workflow->>Workflow: greedy loop continues
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@spiff-arena-common/pyproject.toml`:
- Line 3: pyproject.toml was bumped to 0.1.37 but uv.lock still pins
spiff-arena-common to 0.1.36; regenerate the lockfile so the spiff-arena-common
entry in uv.lock matches version 0.1.37 (e.g., run your project's lock/update
command to refresh uv.lock), verify the spiff-arena-common stanza shows 0.1.37,
and commit the updated uv.lock alongside the pyproject.toml change.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 2e4fe0a8-60f9-4ad4-aeaf-e0b21114a612
📒 Files selected for processing (2)
spiff-arena-common/pyproject.tomlspiff-arena-common/src/spiff_arena_common/runner.py
| [project] | ||
| name = "spiff-arena-common" | ||
| version = "0.1.36" | ||
| version = "0.1.37" |
There was a problem hiding this comment.
Regenerate uv.lock to match the package version bump.
pyproject.toml is now 0.1.37, but the provided uv.lock snippet still pins spiff-arena-common at 0.1.36. Please refresh the lockfile so dependency metadata stays consistent.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@spiff-arena-common/pyproject.toml` at line 3, pyproject.toml was bumped to
0.1.37 but uv.lock still pins spiff-arena-common to 0.1.36; regenerate the
lockfile so the spiff-arena-common entry in uv.lock matches version 0.1.37
(e.g., run your project's lock/update command to refresh uv.lock), verify the
spiff-arena-common stanza shows 0.1.37, and commit the updated uv.lock alongside
the pyproject.toml change.
jbirddog
left a comment
There was a problem hiding this comment.
Would regen uv.lock like coderabbit suggests else the next pr will have to do it
Sets up a Custom Start Event that will allow us to handle start event messages in the same we handle receive messages when executing in Ed. It will present a form based on the message schema, and allow tests to run against the process.