Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/bitdrift_public/protobuf/client/v1/artifact.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ import "bitdrift_public/protobuf/client/v1/feature_flag.proto";
import "bitdrift_public/protobuf/logging/v1/payload.proto";
import "google/protobuf/timestamp.proto";

enum StorageFormat {
CHECKSUMMED = 0;
RAW = 1;
}

// the upload manager to coordinate intents and uploads.
message ArtifactUploadIndex {
message Artifact {
Expand All @@ -37,6 +42,9 @@ message ArtifactUploadIndex {

// The type of the artifact, e.g. "client_report", "state_snapshot", etc. This is used by the server to determine how to process the artifact. For backwards compatibility, if this is absent the artifact is an issue report.
optional string type_id = 8;

// The storage format of the artifact, which determines whether we apply checksum validation during processing.
StorageFormat storage_format = 9;
}

// List of files, in order of time, that are pending upload.
Expand Down
5 changes: 5 additions & 0 deletions src/bitdrift_public/protobuf/client/v1/key_value.proto
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,8 @@ message AppVersion {
string build_number = 3;
}
}

message StateSnapshotRange {
uint64 oldest_micros = 1;
uint64 newest_micros = 2;
}
Loading