revert: cloudflared tunnel localhost fix — wrong diagnosis

The API container and tool instances share the 'backend' Docker network
(connect_container_to_network at tool_instances.py:1576). cloudflared
runs INSIDE the api container, so localhost:host_port is unreachable.

The original container_name:internal_port is correct for networking.
The 'app error 0' is an application-level issue, not networking.

This reverts commit a8fbca9.
This commit is contained in:
2026-05-29 15:40:52 +02:00
parent 23769e6ad4
commit cdf233378c
3 changed files with 31 additions and 18 deletions
+3 -3
View File
@@ -120,9 +120,9 @@ async def publish_lifecycle_event(
# Create notification for instance owner (fire-and-forget)
# Skip intermediate "starting" notifications — only notify on terminal states
# (failed or successful attempts)
_is_starting_intermediate = (
event_type == "instance.started" and (status or instance.status) == "starting"
)
_is_starting_intermediate = event_type == "instance.started" and (
status or instance.status
) == "starting"
if _is_starting_intermediate:
return