You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tray glance: error detail is truncated mid-identifier, and the header count can disagree with the list beneath it #934
Two low-severity findings from live QA of the glance section (#930). Both are cosmetic; neither blocks that PR.
1. Error detail cut mid-identifier
GlanceSection.firstClause splits the error message on the first ., : or newline. Because mcpproxy error text routinely embeds a server:tool identifier, the split lands inside the identifier. Observed:
Real core message: invalid arguments for memory:create_entities: at '/entities': got string, want array
Rendered: memory:create_entities · invalid arguments for memory — 8s
It reads as though the server named memory were at fault. This is the common case for mcpproxy errors, not an edge case. The full message is still available in the tooltip.
Suggested fix: skip separators that fall inside a server:tool token, or split on ": " (colon-space) rather than a bare colon.
2. Header count disagrees with the list
Two separate causes, same symptom:
The header counts all clients while the list caps at 5 rows, with no "+N more" affordance — observed "11 clients" above 5 rows.
The header count comes from the 30s usage poll while the rows arrive over SSE, so immediately after a call the header can contradict the rows below it — observed header "12 calls this hour" sitting above a 5-second-old row that had already made it 13.
Suggested fix: add a "+N more" row when truncating, and derive the header from the same SSE-updated state the rows use so the two cannot drift.
(a) Clause truncation. The error-detail splitter no longer cuts inside a server:tool identifier:
input : invalid arguments for memory:create_entities: at '/entities': got string, want array
before: invalid arguments for memory <- accuses the server
after : invalid arguments for memory:create_entities
input : failed to connect to 127.0.0.1:8080: connection refused
before: failed to connect to 127 after: failed to connect to 127.0.0.1:8080
Sentence and newline splits are unchanged. Any … still seen in the menu is the display-width truncation applied after the clause is kept whole, not the splitter.
(b) Header/list disagreement. Verified reconciled live: 8 extra MCP sessions → menu showed 5 client rows + +4 more under a header reading 9 active (5+4=9). Call count tracked correctly too: baseline 1 call this hour → 3 real tool calls → 4 calls this hour within 3s, stable across later polls (no double-count, no drop-back).
Left open per the repo's manual-closure convention.
Shipped in v0.53.0-rc.4 (published 2026-08-01). Verified live before merge: the error clause keeps server:tool identifiers whole, and the header count reconciles with the list (5 rows + +4 more under 9 active).
Closing now that the fix is in a testable build. Reopen if it does not behave as described on a real install.
Activity
fix(tray): give the glance call count a poll boundary and an hour
fix(tray): glance clause/header consistency, saturated-core guard, in…
Dumbris commentedon Aug 1, 2026
Fixed in #945 (merged as
b30407fea).(a) Clause truncation. The error-detail splitter no longer cuts inside a
server:toolidentifier:Sentence and newline splits are unchanged. Any
…still seen in the menu is the display-width truncation applied after the clause is kept whole, not the splitter.(b) Header/list disagreement. Verified reconciled live: 8 extra MCP sessions → menu showed 5 client rows +
+4 moreunder a header reading9 active(5+4=9). Call count tracked correctly too: baseline1 call this hour→ 3 real tool calls →4 calls this hourwithin 3s, stable across later polls (no double-count, no drop-back).Left open per the repo's manual-closure convention.
Dumbris commentedon Aug 2, 2026
Shipped in v0.53.0-rc.4 (published 2026-08-01). Verified live before merge: the error clause keeps
server:toolidentifiers whole, and the header count reconciles with the list (5 rows ++4 moreunder9 active).Closing now that the fix is in a testable build. Reopen if it does not behave as described on a real install.
feat(tray): one 24h frame for every number in the glance
fix(tray): align the Recent filter to the hour-aligned axis (codex cr…
feat(tray): render the 24h activity histogram inline at the top of th…