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:
2026-05-30 11:58:38 +02:00
parent 4814ec2363
commit 401ad2e65d
2 changed files with 17 additions and 8 deletions
+12 -4
View File
@@ -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: