#Are --interactive terminals different?

1 messages · Page 1 of 1 (latest)

twilit rover
#

I have a pipeline that after calling many functions reaches the point below. I find that the first terminal is not the same as the second one through --interactive when integration tests fail:

test_container = (frontend_with_env
                  .with_service_binding('proxy', proxy_service)
                  .with_service_binding('backend', backend_service)
                  ).terminal()

return await test_container.with_exec(["pnpm", "test:integration"]).stderr()

I can not curl proxy or backend in the second one. The host names and working directory are also different. In the latter terminal, the hostname is invariably "dagger".

twilit rover
#

Are --interactive terminal different?

#

Are --interactive terminals different?

frozen shore
#

mmm yes they're generally a little different

#

can i just check, which version of dagger is this?

twilit rover
#

0.18.16

frozen shore
#

i have an idea of what this is

#

just to confirm, the first result is the expected one right? i.e. the hostname, working directory are all right?