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
Fix(abctl): address CodeRabbit review — tunnel marker, raw method, footer text
Three review findings on PR #527:
- (Major) Don't infer CONNECT tunnels from host/extension shape. With
unconditional recording, an ordinary unparsed outbound request can look
like a tunnel-open (no protocol ext + host:port) and get wrongly folded
with a following same-host request. Add an explicit Tunnel marker to
SessionEvent, set by recordTunnelOpened, and key abctl's isTunnelOpen on
it instead of the heuristic. (Drops the now-unused hasPort helper.)
- (Minor) eventMethod truncates to 22 chars for display but was used for
pairing and search — long names sharing a 22-char prefix mis-paired, and
truncated suffixes weren't searchable. Add eventMethodValue (raw) for
logic; keep eventMethod (truncated) for rendering only.
- (Minor) The `s` footer hint said "hide skips" but the toggle also hides
passthrough/no-plugin messages — now "[s] hide passthru/skip".
Tests: SessionEvent JSON round-trip covers Tunnel; recordTunnelOpened sets
the marker; abctl tunnel tests set Tunnel explicitly.
Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com>
Signed-off-by: Hai Huang <huang195@gmail.com>
0 commit comments