Skip to content

[codex] Guard Cloudflare tunnel setup without ID - #9

Merged
codepilotios merged 55 commits into
mainfrom
agent/issue-triage
Jul 2, 2026
Merged

codepilotios merged 55 commits into
mainfrom
agent/issue-triage

Conversation

@codepilotios

Copy link
Copy Markdown
Owner

Summary

  • stop permanent Cloudflare setup when cloudflared tunnel create returns no tunnel ID
  • avoid writing config or metadata with an empty credentials path
  • add shell coverage for the no-ID failure path

Root Cause

configure-permanent ignored cloudflared tunnel create failures, parsed an empty ID, then continued into DNS/config/metadata writes.

Validation

  • scripts/test-cloudflare-setup.sh
  • swift test

Fixes #5

@codepilotios
codepilotios marked this pull request as ready for review July 2, 2026 05:38
@codepilotios
codepilotios merged commit 89efdc9 into main Jul 2, 2026
1 check passed
codepilotios added a commit that referenced this pull request Jul 19, 2026
* docs: design secure remote desktop

* docs: plan secure remote desktop

* chore: ignore local worktrees

* build: add remote desktop wire contracts

* fix: finalize remote desktop lease revocation

* feat: add remote desktop native IPC

* fix: harden remote desktop native IPC

* feat: add remote desktop gateway APIs

* feat: add remote desktop trust management UI

* feat: stream and control the Mac desktop

* feat: pair trusted CodePilot devices

* feat: add iPhone remote desktop controls

* feat: harden remote desktop sessions

* docs: specify WebRTC remote desktop transport

* feat: add secure remote desktop foundation

* feat: follow remote cursor while zoomed

* feat: stream display frames with ScreenCaptureKit

* feat: negotiate Mac WebRTC remote desktop peer

* feat: render WebRTC remote desktop video on iOS

* feat: send remote desktop input over WebRTC

* fix: smooth remote desktop cursor overlay

* fix: align remote cursor coordinate space

* fix: sync remote cursor from host

* fix: align remote cursor hotspot

* fix: scale remote pointer deltas by viewport

* fix: use host cursor for remote desktop video

* fix: remove remote desktop cursor overlay

* fix: show host cursor marker

* fix: preserve remote input ordering

* fix: click at remote cursor marker

* fix: align click injection with remote cursor

* fix: match WebRTC video layout to viewport

* fix: align remote desktop cursor marker

* fix: lower remote desktop cursor marker

* fix: preserve chat message line breaks

* feat: open Mac localhost URLs in iOS app

* docs: specify CodePilot production readiness

* docs: plan CodePilot production readiness work

* feat: expose stable gateway health and errors

* feat: clarify CodePilot setup and gateway operations

* feat: add CodePilot iOS connection setup

* docs: prepare CodePilot public beta guides

* test: isolate gateway tests from local account state

* docs: specify Cloudflare setup wizard

* docs: plan Cloudflare setup wizard

* feat: add Cloudflare setup automation

* feat: model Cloudflare setup state

* feat: add Cloudflare setup wizard

* docs: document Cloudflare setup wizard

* docs: plan launch agent system

* fix: open markdown file links in codepilot app

* fix: add dismiss controls to file preview

* docs: record codepilot launch decisions

* chore: add codepilot agent fallback runner

* Guard Cloudflare tunnel setup without ID

---------

Co-authored-by: CodePilot <codepilotios@users.noreply.github.com>
@codepilotios
codepilotios deleted the agent/issue-triage branch July 19, 2026 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Permanent Cloudflare setup does not safely reuse existing tunnels

1 participant