Skip to content

Multitask transitive dependencies unpredictable. #189

Description

@aelsabbahy

Not sure if this is a bug or a misunderstanding on my part. I seem to be getting inconsistent race-condition like behavior with the following setup:

Rakefile:

multitask :default => [:one, :two] do
end

task :two => :one do
  puts "echo 'should not run?'"
end

task :one do
  raise
end

I would expect to never see "should not run?", but I see it intermittently.

for i in {1..10}; do rake 2>/dev/null | grep 'should'; done
echo 'should not run?'
echo 'should not run?'

Activity

  1. grzuy commented on Feb 7, 2018

    @grzuy
    Contributor

    I was able to reproduce.
    Working on a fix.

  2. added 2 commits that reference this issue on Feb 8, 2018
    2bb4029
    7caa6af
  3. grzuy commented on Feb 23, 2018

    @grzuy
    Contributor

    The following PR attempts to fix this issue
    #252

  4. added a commit that references this issue on Mar 19, 2018
    a8ebea2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions