As an authenticated user, I can view a task's name and search for tasks based on their names.
#5 Updated by daviddavis 10 months ago
I think we should set task name on the tasks here:
I think for now we should just use the func name with module name similar to here:
In the future we could maybe give plugin writers the option to override task name when calling
enqueue_with_reservation by passing in a name kwarg. This unleashes its own set of problems (namespacing, etc) so I am kind of dubious about doing so.
- Checklist item deleted (
Make sure we are setting name on existing Tasks)
Determining which names to set for existing or already completed tasks is difficult at best and probably practically impossible in some cases. Since Pulp is pre-production, the migration that adds the field can set existing tasks to default defined in the migration and not have to determine the value for all existing tasks in a smart way.
Also as an aside, since all tasks will have this I think the field is required and can't have a field default. Since it would be required the migration default should be '' not None. (my opinion).
Please register to edit this issue