Files
tailscale/ipn
Nick Khyl 45098febab ipn/auditlog: don't restore logs for a profile without an ID
The extension starts a logger when the control client is created,
which for a new profile happens before the profile has an ID.
Start then tried to load stored logs with an empty key and logged
"[unexpected] failed to restore logs: empty key" on every fresh start,
as seen in the Windows integration tests.

A profile without an ID has no stored logs, so skip the restore.

Updates #cleanup
Updates #22309 (the only [unexpected] log line in integration tests)

Signed-off-by: Nick Khyl <nickk@tailscale.com>
2026-12-02 07:19:55 -08:00
..