Skip to content

Commit f5fd86b

Browse files
YunchuWangCopilot
andcommitted
Simplify sandbox worker activity tracking
Record activity names as registered and leave normalization/deduplication to the existing registration boundary. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ce19f8a commit f5fd86b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • durabletask-azuremanaged/durabletask/azuremanaged/preview/on_demand_sandbox

durabletask-azuremanaged/durabletask/azuremanaged/preview/on_demand_sandbox/worker.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ def __init__(self):
6868

6969
def add_activity(self, fn):
7070
activity_name = super().add_activity(fn)
71-
self._on_demand_sandbox_activity_names = resolve_activity_names(
72-
[*self._on_demand_sandbox_activity_names, activity_name])
71+
self._on_demand_sandbox_activity_names.append(activity_name)
7372
return activity_name
7473

7574
def start(self) -> None:

0 commit comments

Comments
 (0)