While recording a demo of vhs itself (a tape whose commands include rendering another tape), the outer render reliably crashes:
panic: write tcp 127.0.0.1:<port>->127.0.0.1:<port>: use of closed network connection
Reproduced twice. It looks like the inner vhs's browser session (go-rod/chromedp) collides with the outer one's connection.
Repro:
inner.tape: any minimal tape (Output inner.gif, one Type/Enter).
outer.tape: Output outer.gif, then Type "vhs inner.tape", Enter, Sleep 10s.
vhs outer.tape β panic above.
Environment: vhs 0.11.0 via winget, Windows 10 (10.0.19045), ttyd via winget, recording shell is WSL Ubuntu 24.04 bash.
Fully understand if nested rendering is out of scope β if so, a graceful error ("vhs is already recording") would beat the panic. Happy to provide the exact tapes or test a patch.
While recording a demo of vhs itself (a tape whose commands include rendering another tape), the outer render reliably crashes:
Reproduced twice. It looks like the inner vhs's browser session (go-rod/chromedp) collides with the outer one's connection.
Repro:
inner.tape: any minimal tape (Output inner.gif, one Type/Enter).outer.tape:Output outer.gif, thenType "vhs inner.tape",Enter,Sleep 10s.vhs outer.tapeβ panic above.Environment: vhs 0.11.0 via winget, Windows 10 (10.0.19045), ttyd via winget, recording shell is WSL Ubuntu 24.04 bash.
Fully understand if nested rendering is out of scope β if so, a graceful error ("vhs is already recording") would beat the panic. Happy to provide the exact tapes or test a patch.