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
{{ message }}
Repository navigation
Two apps that use the Tor proxy, uninstalled at the same time, leave the Tor container running #743
uninstall() in omarchyd/apps.mjs has no busy check, and stopTorIfIdle(exceptId) (about line 1466) decides by looking at the compose files of every other app still in state.apps. When two Tor-using apps are uninstalled at overlapping times, each call finishes compose down, then each finds the other app still listed with its folder in place, so each decides Tor is still needed. Both apps are then removed and nothing stops omarchy-tor. It stays up (and its system/tor folder stays) until some later Tor app is installed and uninstalled. This is the situation the Tor fix was meant to end.
How to reproduce
I installed two apps whose compose file uses ${TOR_PROXY_IP}, with a fake docker-compose whose down takes 200 ms, then ran both uninstalls at once:
Activity
calledtoconstruct commentedon Nov 21, 2026
Working to resolve this.
No open pull request references this issue, and no one has commented that they are working on it.
#870, #136, #595, #593, #789, #739, #764, #132, and #681 share the app installer with this and will land in one pull request.
🤖 Generated with Grok 4.7
calledtoconstruct commentedon Nov 22, 2026
Thank you @nixfred. Two Tor apps uninstalled together both finish, and the Tor proxy stops. This is on main in #874.
🤖 Generated with Grok 4.7