Repository navigation
feat(tunnel,collaboration): 修复云中继 TLS 443 握手与租约去重,优化协作空间长对话分页与渲染 - #102
Merged
DimoADE merged 1 commit intoNov 19, 2026
Merged
Conversation
…e lease renewal, and paginate long collaboration chats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes Desktop Cloud Relay connectivity over HTTPS (
port == 443TLS upgrade + lease renewal deduplication) and adds end-to-end backward pagination & rendering optimizations for long Collaboration Space threads (groupspaces anddirect:<id>DMs).Evidence
connect_to_relay_hostconnected plaintext TCP port80even whenrelay_port == 443, failing with Nginx308 Permanent Redirectagainst HTTPS-enforced relay endpoints (https://dimo-ai.com); windowfocussyncs re-issued relay leases repeatedly.space.listMessagesusedmax_seq - limitarithmetic withoutbeforeSeqsupport (capping threads at 200 messages), DM incremental syncs re-read 200 turns per delta, and each bubble instantiated its ownResizeObserver.cargo test -p dimo --lib commands::host_tunnel: 12/12 passed (http_tunnel_upgrade_consumes_exact_headers_and_rejects_308,mux_local_bridge_pumps_32k_chunks_and_emits_close_on_eof,official_quick_tunnel_requires_valid_account_lease_and_migrates_legacy_domain).cargo test -p conversations --lib collaboration_sidebar: 6/6 passed (space_and_dm_windows_paginate_backward_with_has_more_before).pnpm --filter ./frontend test(CollaborationSpacePage.test.tsx,SpaceMessageBody.test.tsx,threadApi.test.ts,accountHostConfigs.test.ts,HostTunnelPanel.test.tsx),tsc --noEmit,eslint --max-warnings 0,pnpm run arch:check, andcargo clippy -- -D warningsall pass with 0 warnings/violations.Merge Danger
Door: Two-way
space.listMessagesresponse fields (hasMoreBefore,oldestSeq) and request parameter (beforeSeq) are additive and backward-compatible; relay tunnel supports bothmuxand legacyOpenData/ReplenishPoolservers.Blast Radius: Low
Scoped to Desktop
host_tunnel, relay lease sync inaccountHostConfigs, and Collaboration Space message windowing/rendering (crates/conversations,crates/server/src/host/collaboration.rs,frontend/src/features/collaboration).