feat(workflow_engine): Add support to handle `Activity` events in the `WorkflowEventData`
Description
Since so much of the system needs access to the WorkflowEventData.event.group and the Activity model doesn't support it (but we do have access to it), so i moved group to the top level of WorkflowEventData -- this allows a majority of the DataConditions to work seamlessly between activities and events.
The core change here is to WorkflowEventData type and everything else is a cascade that needed to be updated. Thanks to all for typing things so well to make this easier to discover / update.
I'll have another PR that starts to send the activities and connects everything in workflow_engine/tasks.py.
Codecov Report
Attention: Patch coverage is 93.02326% with 15 lines in your changes missing coverage. Please review.
:white_check_mark: All tests successful. No failed tests found.
Additional details and impacted files
@@ Coverage Diff @@
## master #93580 +/- ##
===========================================
+ Coverage 87.92% 95.50% +7.58%
===========================================
Files 10425 5627 -4798
Lines 603141 459382 -143759
Branches 23470 0 -23470
===========================================
- Hits 530289 438733 -91556
+ Misses 72346 20649 -51697
+ Partials 506 0 -506