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

Do not run tasks when their prerequisites fail #142

Merged
merged 1 commit into from
Jun 22, 2016

Commits on Jun 22, 2016

  1. Do not run tasks when their prerequisites fail

    If tasks A and B both depend on C, they race to grab the invocation
    lock on C. If A wins, it sets @already_invoked and executes C while
    holding the lock. When C completes, A releases the lock, B acquires it
    and immediately returns since C is @already_invoked. Unfortunately,
    this does not distinguish failed execution of C. Instead, if executing
    C raises an exception for A, we want to raise the same exception in B
    so it is aborted.
    ptarjan committed Jun 22, 2016
    Configuration menu
    Copy the full SHA
    3a1b5bc View commit details
    Browse the repository at this point in the history