ash/test/reactor
James Harton 139058d4c0 fix(Ash.Reactor): crash when calling an ash reactor for the first time.
Thanks to @carlgleisner for the [detailed reproduction](https://github.com/carlgleisner/reactor_notification_worker_issue).

The problem was caused by an attempt to not have nested reactors indepdently publish their notifications separate to the parents but contained a logic flaw which caused the agent to not start, but only the first time you try and use a given reactor.

The fix involves _always_ starting a notification agent for each reactor, but nesting them.  When a reactor completes it either publishes it's notifications to the parent reactor or to ash if there are no parent reactors.
2024-04-10 06:19:38 +12:00
..
action_test.exs improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
change_test.exs feat(Ash.Reactor): Add new change step type which can be used to modify changesets. 2024-04-09 09:03:04 +12:00
create_test.exs feat(Ash.Reactor): Add new change step type which can be used to modify changesets. 2024-04-09 09:03:04 +12:00
destroy_test.exs improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
notifications_test.exs fix(Ash.Reactor): crash when calling an ash reactor for the first time. 2024-04-10 06:19:38 +12:00
reactor_test.exs fix(Ash.Reactor): crash when calling an ash reactor for the first time. 2024-04-10 06:19:38 +12:00
read_one_test.exs improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
read_test.exs improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
tracing_test.exs improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00
transaction_test.exs fix(Ash.Reactor): crash when calling an ash reactor for the first time. 2024-04-10 06:19:38 +12:00
update_test.exs improvement!: 3.0 (#955) 2024-03-27 16:31:59 -04:00