#Yeah
1 messages ยท Page 1 of 1 (latest)
Yeah that's the thread I'd pull on at least. Previously there was a whole complicated terminal emulator but now it basically just hides the UI and lets you take over
Cool, I'll try that!
can the Frontend be passed around freely? (e.g. in withEngine to Connect?) Or are there some ordering limitations?
trying a "quick" win, see how it goes
(asking because I passed it around and I'm not getting anything with the setted stdin vs os.Stdin)
(delta to the above: https://github.com/dagger/dagger/commit/e7761fcc8741852eaef842a46be61504ce5d33fa)
I think that should work as expected, the only sensitive timing is up in main() with the OTel setup, and that should all be sorted out by then
(just from a quick look on mobile anyway)
Any tips on how to figure out why it's not working?
not really, can take a look when i have time
@frosty knot I switched to a callback system rather than passing frontend around -- still nothing. Here's a shorter repro: https://github.com/dagger/dagger/commit/42175e9968550512cf304574d21fad000903e292#diff-795418900a1393f763e470e6d47523b827388a69b1f9bdfd53191664a8f2c2e6R69-R72
With Frontend.Background, I lose stdin
@frosty knot oh wait! That only happens with --progress plain