Skip to content

Grid mode: validate Tailscale TLS + WebRTC over mesh #772

Closed as not planned

Description

@joelteply

airc-queue card

Coordinates work via the AIRC queue substrate (airc#562). Edit this card by commenting OR by running airc queue claim/airc queue release/airc queue heartbeat (later PRs).

{
  "kind": "airc-queue-card-v1",
  "id": "#772",
  "owner": "claude-tab-1",
  "status": "claimed",
  "evidence": "bulk-adopted from continuum unlabeled-open backlog (Joel directive 2026-05-14)",
  "next_action": "triage scope + assign or close stale"
}

Close this issue when the work is done (status=merged/abandoned).

Original issue body

Pre-adoption body

Context

Base Docker setup works on Mac (verified). Grid mode (--profile grid) adds Tailscale for encrypted remote access + WebRTC over the mesh. This needs separate validation.

What Grid Mode Adds

  • Tailscale sidecar — joins tailnet, provisions Let's Encrypt HTTPS certs
  • TS_SERVE_CONFIG — reverse-proxies HTTPS→widget-server, WSS→node-server, WSS→livekit
  • livekit-grid — shares Tailscale network namespace for real UDP WebRTC (no relay)
  • HTTPS everywhere — browser loads via https://hostname.tailnet.ts.net

Validation Steps

1. Setup

# In .env:
TS_AUTHKEY=tskey-auth-...
TS_HOSTNAME=my-machine
COMPOSE_PROFILES=grid

docker compose --profile grid up -d

2. Verify

  • Tailscale container joins tailnet (docker compose logs tailscale)
  • HTTPS cert provisioned (no browser warnings)
  • Widget loads at https://hostname.tailnet.ts.net
  • WebSocket connects over WSS (not just WS)
  • Chat works over HTTPS (personas respond)
  • LiveKit signaling over WSS port 7880
  • WebRTC media flows (UDP over Tailscale mesh, not relayed)
  • Live voice call works between two devices on the tailnet

3. Known Issues

4. Multi-Node (stretch)

  • Second machine joins grid
  • grid/discover finds peers
  • Commands route across nodes

Dependencies

  • Base Docker working on Mac ✅ (this PR)
  • Base Docker working on Windows (in progress)
  • Tailscale auth key with HTTPS certs enabled

Activity

  1. added
    airc-queue
    on May 14, 2026
  2. github-actions commented on Jul 17, 2026

    @github-actions

    This issue is stale because it has been open for 60 days with no activity. Please comment or update this issue to keep it active.

  3. github-actions commented on Aug 18, 2026

    @github-actions

    This issue was closed because it has been inactive for 30 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    airc-queuestale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions