From 545ba93557982344a16468b6e41364c61a3b8ec3 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Thu, 4 Jun 2026 13:17:14 -0400 Subject: [PATCH] zebra-spaces: don't truncate uuids in the latency panel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fox 2026-06-04: 'don't truncate uuids in the latency page'. Mesh peer rows previously showed `peer abcd…wxyz` (shortHex 4+4 chars) when no handle was known, or just `peer HANDLE` (uuid hidden) when it was. Neither is useful for QA — same shortHex prefix can collide across sessions, and handle alone makes it hard to correlate with SFU/signal logs. New format: `peer HANDLE FULL_UUID` when both known, else just `peer FULL_UUID`. Full 32-char hex always present. --- web/zebra-spaces.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/web/zebra-spaces.html b/web/zebra-spaces.html index 26324df..6bd0736 100644 --- a/web/zebra-spaces.html +++ b/web/zebra-spaces.html @@ -5097,11 +5097,15 @@ async function refreshLatency(){ if (sfuCameraPC){ rows.push({ name: 'sfu camera out', pc: sfuCameraPC, key: 'camera' }); } /* SFU subscriber — carries every incoming stream from other speakers */ if (sfuSubPC){ rows.push({ name: 'sfu in (host + screen + cams)', pc: sfuSubPC, key: 'sub' }); } - /* mesh peers — one row each */ + /* mesh peers — one row each. Show the FULL uuid (no shortHex) so + * QA can pin which session is which without scrolling logs — fox + * 2026-06-04 "don't truncate uuids in the latency page". When we + * have a handle, prepend it for human readability. */ for (const [uuid, pc] of peers){ const mm = members.get(uuid); - const handle = (mm && mm.handle) || shortHex(uuid); - rows.push({ name: 'peer '+handle, pc, key: 'mesh-'+uuid }); + const handle = mm && mm.handle; + const name = handle ? ('peer ' + handle + ' ' + uuid) : ('peer ' + uuid); + rows.push({ name, pc, key: 'mesh-'+uuid }); } const container = $('latency-rows'); if (!container) return; @@ -5564,8 +5568,8 @@ logLine('', 'ready — pick a handle, type a rendezvous code, enter the space');