Skip to content

Commit

Permalink
Update default task run name to exclude hash of task key (#8292)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Feb 3, 2023
1 parent 1c280a5 commit 3ab7f51
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/prefect/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
)
from prefect.utilities.callables import parameters_to_args_kwargs
from prefect.utilities.collections import isiterable, visit_collection
from prefect.utilities.hashing import stable_hash
from prefect.utilities.pydantic import PartialModel

R = TypeVar("R")
Expand Down Expand Up @@ -1145,7 +1144,7 @@ async def create_task_run_future(

# Generate a name for the future
dynamic_key = _dynamic_key_for_task_run(flow_run_context, task)
task_run_name = f"{task.name}-{stable_hash(task.task_key)[:8]}-{dynamic_key}"
task_run_name = f"{task.name}-{dynamic_key}"

# Generate a future
future = PrefectFuture(
Expand Down

0 comments on commit 3ab7f51

Please sign in to comment.