mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 00:56:16 +00:00
GetMigrationSummary now kicks off telnetPreflight in a goroutine at entry and merges the four Telnet* fields into the main summary just before returning. Wall time becomes max(ssh, telnet); the two transports are queried independently and their results combined — SSH retains visibility into /etc/hosts, /etc/resolv.conf and the on-device XML config, while telnet contributes the live URL set readable via `getpdo CurrentSystemConfiguration` without root. Race-free by construction: the goroutine writes to its own MigrationSummary instance and only the four telnet fields are copied back. Verified with `go test -race`. Tests cover telnet-only, ssh-only, and both-succeed paths. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>