Giter Site home page Giter Site logo

Comments (6)

tjwallace avatar tjwallace commented on May 18, 2024

Here is some example code to reproduce the problem. You'll notice the success callbacks are never fired.

from sidekiq-batch.

github-actions avatar github-actions commented on May 18, 2024

Stale issue message

from sidekiq-batch.

rudrakshi2014 avatar rudrakshi2014 commented on May 18, 2024

If a job inside of a batch is retried, the on_complete callback will be fired (before the failed job is retried) but the on_success callback will never fire, even after the failed job is retried successfully.

Did this issue got resolved? I'm still facing this issue.

from sidekiq-batch.

jrochkind avatar jrochkind commented on May 18, 2024

Hi, if I underestand right, this even had a reproduction script (nice!), and is still not fixed, but was closed just for being stale?

If known bugs don't receive any maintainer attention and are closed for being stale without being fixed, the impression given to someone perusing the project to see it's maintenance status... is that the project is not really being maintained?

I'm not sure if this is an accurate impression or not? I am just perusing the project to get a sense of it's maintenance status.

Reopening the issue, if it is indeed still a problem, might be in order?

from sidekiq-batch.

davidrichey avatar davidrichey commented on May 18, 2024

I realized this is happening for us as well. I started to dig around why it was happening. From what I can tell right now when the complete callback gets called it will alway set the batch event key to true which prevents the complete callback from performing the success callback. I'm hoping to get some more time this weekend to play around and open a PR.

https://github.com/breamware/sidekiq-batch/blob/master/lib/sidekiq/batch.rb#L211

from sidekiq-batch.

github-actions avatar github-actions commented on May 18, 2024

Stale issue message

from sidekiq-batch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.