mirror of
https://github.com/kuhyx/todo-app.git
synced 2026-11-10 20:07:02 +01:00
|
Some checks are pending
release-apk / release (APK) (push) Waiting to run
Fleet audit for the bugs found on diet-guard's desktop; two were live here. `_autoSync` and the manual `_sync` both gated on `settings.isConfigured`, which means "has a GitHub token". A device connected only to Firebase would therefore never sync and would be told to "Add a GitHub token" -- advice that is wrong now and will be wrong for every device once the mirror retires. Both accept either backend, and the prompt names Firebase first. This only escaped notice because this machine happens to hold a GitHub token; diet-guard's desktop, which does not, never synced at all. `loadAccount()` also swallowed its exception whole, hiding why a device could not read its stored account -- indistinguishable from "no account set", and the single most useful diagnostic when provisioning fails. It now logs at error level with the stack trace and still returns null, so the settings screen behaves exactly as before. The unconfigured-Sync test now asserts the routing (unconfigured -> settings) rather than one snackbar phrasing, which is the behaviour that actually matters and does not break on wording. 256 tests, analyzer clean. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0177xwzcpfpWG2qca8Mr39q9 |
||
|---|---|---|
| .. | ||
| data | ||
| desktop | ||
| sync | ||
| ui | ||
| frame_stats_io.dart | ||
| frame_stats_web.dart | ||
| frame_stats.dart | ||
| main.dart | ||