You aren’t starting an app, you are defining an instance of Finch, monitored in your apps supervision tree, with a name. You’re explicitly starting it twice with the same name.
If you plan to use it from Swoosh and you want just one swoosh config then you should run finch in whatever app is using swoosh. If multiple apps are using swoosh then I would start two finch instances and configure each swoosh to use one.
Ultimately issues like this are why I abandoned umbrella apps. The “you might start parts of it separately” part was always theoretical, and the dependency struggles was always concrete and ever present.
I agree with Ben both that (1) umbrella apps are a trap and (2) Swoosh could have done its configuration setup better but having said that, why would you want to have separate API clients for both apps? Why not just one (and maybe give it a bigger connection pool)?
Though it’s not clear from your post how are your apps related (and are they started on separate nodes) so maybe my suggestion is not relevant.
In my case I have apps deployed independently. The reason I went for an Umbrella is that it is a well-documented setup for having one repo with multiple apps and shared dependencies, there is tooling provided such as running all tests from the root, run all apps at once in development, etc.
I could move away from Umbrella easily as those apps are not coupled except that they share some common files. Whether I use Umbrella or not, the alternative will result in nearly the same setup in my opinion… well, I could have configured Swoosh separately if I had totally separated apps without Umbrella.
I do not use Umbrella apps to enforce separation of concerns in code, but only to have a set of independently deployable apps that belong to one same suite of apps.
Deployment is not my forte. What I would do is simply have separate Finch instances and separate Swoosh configs, whether they are deployed on a same node or not, as it is the easiest to set up (i.e. just configure finch/swoosh for every app in the config file copy/paste:)) But again, Swoosh doesn’t allow that.