Skip to content

feat(relay): add manual session node selection - #10

Merged
lulu0119 merged 1 commit into
mainfrom
agent/manual-relay-node-selection-20260727
Jul 27, 2026
Merged

feat(relay): add manual session node selection#10
lulu0119 merged 1 commit into
mainfrom
agent/manual-relay-node-selection-20260727

Conversation

@lulu0119

Copy link
Copy Markdown
Contributor

What changed

  • let users measure and manually choose the Japan primary or China relay before each session
  • add a Settings default node while keeping active sessions pinned
  • disclose the China relay's direct-IP HTTP risk in the UI
  • reduce the China deployment to an API-only relay on port 8443 and remove Caddy/Cloudflare paths
  • configure the primary server with the China relay origin during production deployment

Why

Users need direct control over user-to-node latency. The China server cannot expose ports 80/443, so the relay uses a direct IP and port without pretending the connection is encrypted.

Validation

  • typecheck: app-shared, pages, web, desktop, playground, api
  • API tests: 22 passed
  • app-shared tests: 24 passed
  • Web production build passed
  • China relay health and latency endpoints verified on port 8443

@lulu0119
lulu0119 merged commit 3ae6444 into main Jul 27, 2026
2 checks passed
@lulu0119
lulu0119 deleted the agent/manual-relay-node-selection-20260727 branch July 27, 2026 03:12
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.

1 participant