-
Notifications
You must be signed in to change notification settings - Fork 6
Pass dispatch_id to actors #116
Copy link
Copy link
Open
Labels
part:❓We need to figure out which part is affectedWe need to figure out which part is affectedpriority:❓We need to figure out how soon this should be addressedWe need to figure out how soon this should be addressedtype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Metadata
Metadata
Assignees
Labels
part:❓We need to figure out which part is affectedWe need to figure out which part is affectedpriority:❓We need to figure out how soon this should be addressedWe need to figure out how soon this should be addressedtype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
What's needed?
The
Dispatcher.start_managingcurrently passes aDispatchInfoand aReceiver[DispatchInfo]to the actor factory.But the
DispatchInfoobjects don't have the dispatch ID.frequenz-dispatch-python/src/frequenz/dispatch/_dispatcher.py
Lines 270 to 272 in ecaca06
It should pass the dispatch ID to the actor factory. This would be useful for logging and matching the decision-making of actors with corresponding dispatches, especially when there are multiple active dispatches of the same type.
Proposed solution
No response
Use cases
No response
Alternatives and workarounds
No response
Additional context
No response