Files
swiftcontrol/lib
Jonas Bark 49358ab446 fix(support): attach a fresh diagnostic snapshot to every message, not the first
The support chat gathered debugText() once when the page opened and reused
that resolved Future for every send (telemetryBuilder: () async =>
TelemetrySnapshot(freetext: await debugFuture)). So a follow-up message sent
minutes later — after the user changed something, connected a trainer app,
reconnected hardware — silently carried the compose-time snapshot. A real
case: four messages three minutes apart, one of them literally "log after
connecting MyWhoosh", all four byte-identical with the same no-client /
lastCtl age, so the state the user was trying to show never reached us.

telemetryBuilder now re-gathers debugText() per send across all entry points
(self-test, network troubleshooting, onboarding, help, proxy details). The
one-shot diagnosticPreviewFuture (the compose-time preview) is unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-24 08:38:39 +02:00
..
2026-08-23 09:08:59 +02:00