You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a workaround, we can make the coder_agent ephemeral by setting count = data.coder_worksapce.me.start_count. But your suggestion looks like a true solution.
@matifali I think that's a separate issue and something we may consider for other functionality. This suggestions doesn't directly tie into terraform, per-se.
In some cases, it's possible that the
coder agent
has gracefully exited inside a workspace (let's say a VM is turned off).It would be nice to reflect this state in the coder UI (web/cli) instead of simply stating that "the agent lost connection".
Currently, this state is detectable:
Currently the web shows "disconnected"/unhealthy, and the CLI also shows no warning (e.g.
coder ssh
simply, seemingly, hangs).In the
shutting_down
/off
state, there is a good chance the agent isn't coming back, so we should inform the user.Note: Even though the
coder agent
supports reporting this, it's dependent on how the shutdown process of the e.g. VM terminates the agent.The text was updated successfully, but these errors were encountered: