Refactor YouTubeVideoStatisticsJob to use continuable steps and enhance test coverage for job resumption
Hi! 👋
Rails now supports the Continuation feature in ActiveJob. This PR demonstrates how we could refactor jobs (example: YouTubeVideoStatisticsJob) to leverage continuable steps and improve resumption/test coverage.
If you agree with this approach and are open to refactoring all Jobs for consistency, I’m happy to proceed further with this PR.** If not, I’ll close it to avoid unnecessary divergence.
Please let me know your thoughts Thanks!
Thanks for opening this PR
while those YouTube statistics are not critical for the app (we don’t display them yet) I agree this is a nice place start using ActiveJob continuation 👍. I give it a spine but I think it is a good idea to push it forward
ok thanks I will update all jobs then this one was for learning purpose only