feat: upload diagnostics with redaction and crash capture
- 500-entry local ring buffer, immediate flush for warnings/errors - batch upload to POST /logs with device id, platform, version and session - redact tokens, Authorization headers and secrets before storage/upload - Android/desktop uncaught handlers persist a crash entry for the next launch - Settings diagnostics card with pending count, send now and clear - fall back cleanly when the server predates /logs - include X-Request-Id in API failure diagnostics; version 0.4.3
This commit is contained in:
1 parent
4d5a97cdac
commit
b1ccfc9ee1
20 files changed
+820
-21
No files matched your search
@@ -62,6 +62,10 @@ a server-driven radio session and songs are added from Deezer or YouTube Music.
|
||||
**Keep this mood offline** switch, and Delete at the bottom.
|
||||
- **Downloads** screen for device-side copies: play, delete, clear, storage
|
||||
usage.
|
||||
- **Diagnostics**: warnings, errors and crashes are kept in a 500-entry local
|
||||
ring buffer and uploaded in batches (tokens and passwords are redacted). The
|
||||
full-screen Settings screen shows the queue, last upload and a Send now action;
|
||||
`scripts/logs.sh` on the server prints or clears stored entries.
|
||||
- **Sleep timer** (15/30/45/60/90 minutes or **finish this track**) that pauses
|
||||
playback. On Android the
|
||||
pause is scheduled inside the media service, so it still fires when the app is
|
||||
@@ -208,7 +212,7 @@ Tagged builds (`v*`) publish to internal testing from CI. The Gitea secrets are:
|
||||
| `ANDROID_KEY_PASSWORD` | key password |
|
||||
| `PLAY_SERVICE_ACCOUNT_JSON` | contents of the service account JSON |
|
||||
|
||||
Then `git tag v0.4.2 && git push --tags` builds, signs and uploads the bundle.
|
||||
Then `git tag v0.4.3 && git push --tags` builds, signs and uploads the bundle.
|
||||
Gradle Play Publisher asks Play for the next free `versionCode`
|
||||
(`ResolutionStrategy.AUTO`), so only the tag/version name needs to change.
|
||||
|
||||
|
||||
Reference in new issue
Block a user