You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With these recipes, I expect itamae executes 1, 2, and 3.
But I got an unexpected result, which depends on file order.
# It is the expected result.# 1, 2, and 3 are executed.
$ RUBYLIB=./lib bin/itamae local a.rb b.rb
INFO : Starting Itamae...
INFO : Recipe: /home/pocke/ghq/github.com/itamae-kitchen/itamae/a.rb
INFO : execute[1] executed will change from 'false' to 'true'
INFO : Notifying run to execute resource '2' (delayed)
INFO : execute[2] executed will change from 'false' to 'true'
INFO : Notifying run to execute resource '3' (delayed)
INFO : Recipe: /home/pocke/ghq/github.com/itamae-kitchen/itamae/b.rb
INFO : execute[3] executed will change from 'false' to 'true'
# It is unexpected behavior.# 1 and 2 are executed, and 3 is enqueued,# but 3 is not executed.
$ RUBYLIB=./lib bin/itamae local b.rb a.rb
INFO : Starting Itamae...
INFO : Recipe: /home/pocke/ghq/github.com/itamae-kitchen/itamae/b.rb
INFO : Recipe: /home/pocke/ghq/github.com/itamae-kitchen/itamae/a.rb
INFO : execute[1] executed will change from 'false' to 'true'
INFO : Notifying run to execute resource '2' (delayed)
INFO : execute[2] executed will change from 'false' to 'true'
INFO : Notifying run to execute resource '3' (delayed)
The text was updated successfully, but these errors were encountered:
Chained
notifies
don't work when they are defined in different recipes.For example:
With these recipes, I expect itamae executes 1, 2, and 3.
But I got an unexpected result, which depends on file order.
The text was updated successfully, but these errors were encountered: