Enhancement: Add feature to manually retry failed task
Change Log
- API Update: Introduced the TaskReapply endpoint to reapply tasks with original arguments.
- Error Handling: Ensures JSON-serializable arguments and robust error logging.
- Backend Utilities: Added helper functions (parse_args, parse_kwargs, make_json_serializable) for argument parsing and serialization.
@mher anything I can do to help get this merged?
@sc68cal how can i get this merged?
@sc68cal how can i get this merged?
I am not the maintainer, the maintainer needs to approve and merge
Thanks for the feature, @mher could we get this merged?
Hi! Thanks for adding this awesome feature @yashpapa6969 ! I tested it locally and noticed a small issue: I think we need to add a route for the new controller in flower/urls.py:
(r"/api/task/reapply/(.+)", tasks.TaskReapply),
Otherwise the Retry button will fail with 404
@matias-martini thank you updated
@yashpapa6969 Thanks for the updates! 🙌
Would you mind adding a test for the new API endpoint? It'll help ensure we cover the most common cases.
@yashpapa6969 Thanks for the effort, can we have the tests to merge this?
Any update on this?
Would be great to see this feature merged !
@yashpapa6969, thank you so much for the effort! Could you help us with the tests for it so we can review and merge?