You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Events emitted with visibility=KernelProcessEventVisibility.Public cannot be 'caught'.
There are overlapping causes:
KernelProcessEvent is configured to use enum values (but everywhere visibility is checked as an enum)
Once the previous is fixed, then when enqueue_step_messages processes events emitted, any Public events are processed and re-emitted before matching any of the step's edges -- however, doing so modifies the event's namespace in-place and in so doing prevents the event from propagating.
There is also a typo in LocalProcess.initialize_process ('factorie=' instead of 'factories=')
To Reproduce
Steps to reproduce the behavior:
run python/samples/getting_started_with_processes/step03/step03b_food_ordering.py
note that fish sandwich ends with fried fish completion (e.g. no bun), similarly for fish and chips, and none of the orders get 'packed' -- i.e. all food processes terminate on a Public event.
Expected behavior
All food orders should end with a 'Food Packed!' statement.
Platform
Language: Python
Source: main (python ver-1.20.3)
AI model: N/A
IDE: nvim
OS: N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
Events emitted with
visibility=KernelProcessEventVisibility.Public
cannot be 'caught'.There are overlapping causes:
KernelProcessEvent
is configured to use enum values (but everywherevisibility
is checked as an enum)enqueue_step_messages
processes events emitted, any Public events are processed and re-emitted before matching any of the step's edges -- however, doing so modifies the event's namespace in-place and in so doing prevents the event from propagating.There is also a typo in
LocalProcess.initialize_process
('factorie=' instead of 'factories=')To Reproduce
Steps to reproduce the behavior:
Public
event.Expected behavior
All food orders should end with a 'Food Packed!' statement.
Platform
The text was updated successfully, but these errors were encountered: