Add additional debug info for the backups alpha.

This commit is contained in:
Greyson Parrelli
2025-07-03 10:09:03 -04:00
committed by Alex Hart
parent 869b5aa3d5
commit dc8e93a9d3
13 changed files with 252 additions and 38 deletions

View File

@@ -11,6 +11,7 @@ message BackupInfo {
bytes mediaRootBackupKey = 3; // 32-byte random value generated when the backup is uploaded for the first time.
string currentAppVersion = 4;
string firstAppVersion = 5;
bytes debugInfo = 6; // Client-specific data field for debug info during testing
}
// Frames must follow in the following ordering rules:

View File

@@ -0,0 +1,18 @@
syntax = "proto3";
option java_package = "org.thoughtcrime.securesms.backup.v2.proto";
message BackupDebugInfo {
message AttachmentDetails {
uint32 notStartedCount = 1;
uint32 uploadInProgressCount = 2;
uint32 copyPendingCount = 3;
uint32 finishedCount = 4;
uint32 permanentFailureCount = 5;
uint32 temporaryFailureCount = 6;
}
string debuglogUrl = 1;
AttachmentDetails attachmentDetails = 2;
bool usingPaidTier = 3;
}