From 546c80885e2046699ba2a5babbbe608a8691cf2d Mon Sep 17 00:00:00 2001 From: PJ Date: Sun, 16 Aug 2026 01:27:02 +0530 Subject: [PATCH] docs(ioscompanion): name the vacuity behind the empty log slice Claude-Session: https://claude.ai/code/session_01ShuAy8q8ZfPi8KHxwc8JpQ --- internal/driver/ioscompanion/driver.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/internal/driver/ioscompanion/driver.go b/internal/driver/ioscompanion/driver.go index aa12589..d335b44 100644 --- a/internal/driver/ioscompanion/driver.go +++ b/internal/driver/ioscompanion/driver.go @@ -1084,7 +1084,10 @@ func (d *Driver) WaitForIdle(ctx context.Context, _ time.Duration) error { } // RecentLogs returns no entries: the companion log RPC is a follow-up, so v1 -// reports an empty slice rather than failing. +// reports an empty slice rather than failing. Every property reading state.logs +// therefore holds vacuously on iOS and nothing says so; closing it means +// tailing idb's streaming log RPC and mapping os_log levels onto the +// single-letter scale driver.LogEntry declares. func (d *Driver) RecentLogs(_ context.Context, _ time.Time, _ string) ([]driver.LogEntry, error) { return []driver.LogEntry{}, nil }