Summary
If a gateway process from an earlier session is still running, launching the Workshop fails in a retry loop. The error does not mention the running gateway, so the cause is not discoverable from the message.
Steps to reproduce
- Build at master and run
.\target\debug\promptforge-workshop.exe (Windows 11).
- Close the Workshop window. The gateway keeps running, which I understand is intended.
- Later, run
.\target\debug\promptforge-workshop.exe again.
What happens
The Workshop prints this repeatedly and never opens:
could not recover the local gateway: the launched gateway wrote no validated gateway discovery file within 30s
Get-Process promptforge-gateway showed a gateway from the earlier session still running (about 23 minutes of CPU time).
Workaround
Stop-Process -Name promptforge-gateway -Force
After that the Workshop launched normally.
Expected
Either the Workshop attaches to the gateway already running, or the error names the real cause, for example that a gateway is already running and holding the port.
Notes
I launched the executable directly from target\debug rather than through the installer or the tray, so this may not be a supported path. Flagging in case the attach behaviour is meant to work either way.
Windows 11, Intel Core Ultra 7, Intel Arc 140V, built from master 16 September 2026.
Summary
If a gateway process from an earlier session is still running, launching the Workshop fails in a retry loop. The error does not mention the running gateway, so the cause is not discoverable from the message.
Steps to reproduce
.\target\debug\promptforge-workshop.exe(Windows 11)..\target\debug\promptforge-workshop.exeagain.What happens
The Workshop prints this repeatedly and never opens:
Get-Process promptforge-gatewayshowed a gateway from the earlier session still running (about 23 minutes of CPU time).Workaround
After that the Workshop launched normally.
Expected
Either the Workshop attaches to the gateway already running, or the error names the real cause, for example that a gateway is already running and holding the port.
Notes
I launched the executable directly from
target\debugrather than through the installer or the tray, so this may not be a supported path. Flagging in case the attach behaviour is meant to work either way.Windows 11, Intel Core Ultra 7, Intel Arc 140V, built from master 16 September 2026.