-
Notifications
You must be signed in to change notification settings - Fork 6
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
Description
What's needed?
The Dispatcher.start_managing
currently passes a DispatchInfo
and a Receiver[DispatchInfo]
to the actor factory.
But the DispatchInfo
objects don't have the dispatch ID.
frequenz-dispatch-python/src/frequenz/dispatch/_dispatcher.py
Lines 270 to 272 in ecaca06
actor_factory: Callable[ | |
[DispatchInfo, Receiver[DispatchInfo]], Awaitable[Actor] | |
], |
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
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