WIP III improve UX [snapshot task 2]

This commit is contained in:
Schluffe committed 2026-10-16 16:09:43 +02:00
1 parent b2bab26981
commit 28c90d1d71
5 files changed
+97 -2

No files matched your search

+33
View File
@@ -65,3 +65,36 @@ sent with no responses are distinct observations, not diagnoses by themselves.
Do not change firewall rules or shorten user copy/paste time based only on the
same-machine tests. The original/current comparison has not yet identified a
code change that demonstrably explains the user's physical-device failures.
## Two Brave peers on different networks, subsequent report
The reported setup is the same two devices/networks used for the first-version
trial. In the new logs both peers gather two host candidates and one srflx
candidate, with no relay. Neither reports a connected state or transfer activity.
The sender's sole live snapshot is immediately after applying the answer: one
in-progress pair, one request sent, and zero responses so far. This is not a
snapshot of the whole failed attempt. Both final snapshots have no candidate
pairs; the browser has already discarded the useful evidence.
Each log has its own time origin. Sender “answer applied at 25.8 s” cannot be
compared directly with receiver “failed at 15.1 s” to establish whether the answer
was applied before or after receiver failure. A 701 event with a gathered srflx
candidate also does not identify the reason the peer connection failed.
The v3 UX work changed the signaling envelope version, not candidate gathering or
the SDP applied to the browser. The original default STUN provider was Google;
the current default is PageQuit. Matching that selection is necessary for an
original/current comparison, even with unchanged devices and networks.
Diagnostics now sample candidate-pair counters at 3, 6, 9 and 12 seconds while ICE
is checking, and include allowlisted DTLS transport states. Sampling stops when
checking ends or the session is disposed. Receiver answer creation also takes a
snapshot. These changes improve evidence collection; they are not a demonstrated
fix for the physical-device connection failure.
The isolated comparison was also rerun with `/usr/bin/brave`: original, current,
and current-without-immediate-cleanup all delivered the fixed probe at roughly
20.25 seconds after a deliberate 20-second answer delay. In this local test the
receiver did not report checking until the delayed answer was applied on the
sender, unlike the reported physical-device attempt. It does not reproduce that
attempt or establish that its answer-exchange timing is safe.