shapehq / tartelet

⚙️💻 A macOS app that makes it a breeze to manage multiple GitHub Actions runners in ephemeral virtual machines on a single host machine. The benefits are that runners can run in parallel, and each job runs in an isolated environment.
MIT License
531 stars 19 forks source link

Run Runners in No Graphics mode #100

Open AndreiChenchik opened 4 hours ago

AndreiChenchik commented 4 hours ago

Is your feature request related to a problem?

Yes, the problem is that I can't use Tartelet on my developer machine, due to the fact that VM restart leads to screen appearing in Foreground interrupting my work.

What solution would you like?

Start VMs with --no-graphics flag from tartelet, it will be something like tart run runner --no-graphics

What alternatives have you considered?

I've tried to create separate user (with macos fast user switching) and run tartelet from there, but it seems that while you switched to another user you can't have VMs started, they are waiting until the user will became active, so it's not working.

Any additional context?

--no-graphics mode behave a bit differently, in that mode the shell will be waiting until the process will be finished (vm stopped)

kuhnroyal commented 2 hours ago

You can try running the latest version 0.10.2 with the separate user. Just a guess but the fix for #98 might help there.

AndreiChenchik commented 2 hours ago

@kuhnroyal ready to try, but can't see an app in resources. Is there a new app with this version?

simonbs commented 2 hours ago

@kuhnroyal ready to try, but can't see an app in resources. Is there a new app with this version?

That's my bad. The binary is now included as an asset in the 0.10.2 release: https://github.com/shapehq/tartelet/releases/tag/0.10.2