feat: always show Recreate Tunnel button for web instances
Show the Recreate Tunnel button on all active web-enabled session cards (instead of only when tunnel_status is unreachable) so users can manually trigger tunnel recreation at any time. Also adds it to the mobile action sheet. Quality gates: eslint clean, tsc clean
This commit is contained in:
@@ -1723,15 +1723,23 @@ async def start_instance(
|
||||
logger.debug("Container ID for instance %s: %s", instance.id, container_id)
|
||||
|
||||
instance.container_name = expected_container_name
|
||||
logger.debug("Container name for instance %s: %s", instance.id, expected_container_name)
|
||||
logger.debug(
|
||||
"Container name for instance %s: %s", instance.id, expected_container_name
|
||||
)
|
||||
|
||||
# Connect container to backend network so API can reach it
|
||||
logger.debug("Connecting container %s to backend network...", expected_container_name)
|
||||
logger.debug(
|
||||
"Connecting container %s to backend network...", expected_container_name
|
||||
)
|
||||
connected = connect_container_to_network(expected_container_name, "backend")
|
||||
if connected:
|
||||
logger.debug("Successfully connected %s to backend network", expected_container_name)
|
||||
logger.debug(
|
||||
"Successfully connected %s to backend network", expected_container_name
|
||||
)
|
||||
else:
|
||||
logger.warning("Failed to connect %s to backend network", expected_container_name)
|
||||
logger.warning(
|
||||
"Failed to connect %s to backend network", expected_container_name
|
||||
)
|
||||
|
||||
# Verify container reached running state
|
||||
if instance.container_id:
|
||||
|
||||
Reference in New Issue
Block a user