Skip to content

Make supervised tunnel startup deterministic - #125

Merged
RobLe3 merged 1 commit into
mainfrom
codex/supervised-route-readiness
Aug 28, 2026
Merged

RobLe3 merged 1 commit into
mainfrom
codex/supervised-route-readiness

Conversation

@RobLe3

@RobLe3 RobLe3 commented Aug 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • resolve cloudflared through an authoritative absolute IICP_CLOUDFLARED_PATH, then PATH, and preserve the resolved path in supervisor units
  • preserve only an explicit IICP_TUNNEL override; unset keeps automatic reachability selection
  • defer dynamic-route registration until the listener exists and recover immediately from the empty startup token
  • make the mypy baseline use the active Python environment and replace the sleep-based recovery test with an event-driven assertion

Validation

  • Ruff and mypy baseline pass
  • full pytest: 1235 passed, 2 skipped, 9 subtests passed
  • supervisor, tunnel and route-readiness qualification assertions pass

Closes #124

@RobLe3
RobLe3 merged commit 821573f into main Aug 28, 2026
1 check passed
@RobLe3
RobLe3 deleted the codex/supervised-route-readiness branch August 28, 2026 15:57
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.

[pre-1.0][provider] Make Quick Tunnel startup and service configuration supervisor-safe

1 participant