Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove dynamic key from non-flow task run name #13902

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

jakekaplan
Copy link
Contributor

@jakekaplan jakekaplan commented Jun 10, 2024

If I have task called my_background_task, when I run it inside of a flow, the task run's name is my_background_task-0. When I run it independently (via .delay or directly) it's name is my_background_task-my_backg as it tries to append the first 8 characters of the dynamic key. If the function name is > 8 chars, this suffix will always be the same. It seems better UX to just have the task run name

@jakekaplan jakekaplan changed the title remove dynamic key from name remove dynamic key from task run name Jun 10, 2024
@jakekaplan jakekaplan added enhancement An improvement of an existing feature 3.x labels Jun 10, 2024
@jakekaplan jakekaplan changed the title remove dynamic key from task run name remove dynamic key from non-flow task run name Jun 10, 2024
@jakekaplan jakekaplan marked this pull request as ready for review June 10, 2024 17:09
@jakekaplan jakekaplan requested a review from a team as a code owner June 10, 2024 17:09
Copy link
Collaborator

@chrisguidry chrisguidry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense to me!

@jakekaplan jakekaplan merged commit 8c7fc24 into main Jun 10, 2024
28 of 30 checks passed
@jakekaplan jakekaplan deleted the remove-dynamic-key-from-name branch June 10, 2024 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x enhancement An improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants