Skip to content

TryCloudflare setup step waits forever for the tunnel process #4

Description

@codepilotios

Setup path

Mac menu bar > Setup CodePilot... > Cloudflare Remote Access > Start Temporary Test URL.

Friction

The wizard runs scripts/setup-cloudflare-remote-access.sh start-trycloudflare through runProcess, waits for the process to exit, and only then reads stdout. cloudflared tunnel --url ... is a long-running process by design, so the sheet can sit on "Running Cloudflare setup..." and never surface the temporary URL while the tunnel is alive.

Reproduction

  1. Open the Cloudflare setup wizard.
  2. Click Start Temporary Test URL with cloudflared installed.
  3. Observe that the helper waits for process exit instead of streaming the URL as soon as Cloudflare prints it.

Expected

Handle TryCloudflare as a managed long-running process: stream stdout until the URL is found, show the URL immediately, and provide a stop/restart action or launch it in Terminal with clear copy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcloudflareCloudflare Tunnel setupmacMac appsetupFirst-run setup and onboarding frictionseverity: mediumModerate user impact or setup friction

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions