π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[server] Increase inactive/storage-warning rollout by 10% (#10048)
neeraj-pilota4efcafda7a1
diff --git a/server/pkg/controller/email/storage_warning.go b/server/pkg/controller/email/storage_warning.goindex 29ae14d5fd..d877e33a27 100644--- a/server/pkg/controller/email/storage_warning.go+++ b/server/pkg/controller/email/storage_warning.go@@ -29,7 +29,7 @@ const (storageWarningPreviousStageFreshnessWindow = 35 * 24 * time.MicroSecondsInOneHourstorageWarningOneDayInMicroseconds = 24 * time.MicroSecondsInOneHourstorageWarningBufferedCadenceExtraGrace = 2 * storageWarningOneDayInMicroseconds- storageWarningRolloutPercentage = 20+ storageWarningRolloutPercentage = 30storageWarningRolloutNonce = "storage-warning-v1"storageWarningActiveOverageNotificationGroup = "storage_warning_active_overage"diff --git a/server/pkg/controller/email/storage_warning_test.go b/server/pkg/controller/email/storage_warning_test.goindex 9ca6775485..99922b29c5 100644--- a/server/pkg/controller/email/storage_warning_test.go+++ b/server/pkg/controller/email/storage_warning_test.go@@ -1061,7 +1061,7 @@ func TestBuildStorageWarningRunSummary(t *testing.T) {stats.SkippedRolloutPct = 39got := buildStorageWarningRunSummary(stats, 0)- want := "Storage warning run summary (1970-01-01T00:00:00Z): processed=42 | sent=3 | success={expired_0d=1, active_overage_0d=2} | failures={active_overage_60d=1} | skipped_rollout={expired_30d=39} | pre_stage_failures=4 | skipped_rollout_percentage=39 | rollout_percentage=20"+ want := "Storage warning run summary (1970-01-01T00:00:00Z): processed=42 | sent=3 | success={expired_0d=1, active_overage_0d=2} | failures={active_overage_60d=1} | skipped_rollout={expired_30d=39} | pre_stage_failures=4 | skipped_rollout_percentage=39 | rollout_percentage=30"if got != want {t.Fatalf("unexpected summary:\n got: %s\nwant: %s", got, want)}diff --git a/server/pkg/controller/user/inactive_user_orchestrator.go b/server/pkg/controller/user/inactive_user_orchestrator.goindex 07f73b7788..ecceec41c1 100644--- a/server/pkg/controller/user/inactive_user_orchestrator.go+++ b/server/pkg/controller/user/inactive_user_orchestrator.go@@ -63,7 +63,7 @@ const (inactiveUserGap7dTo1d = 6 * inactiveUserOneDayInMicroSecondsinactiveUserGap1dToFinal = inactiveUserOneDayInMicroSeconds- inactiveUserRolloutPercentage = 50+ inactiveUserRolloutPercentage = 60inactiveUserRolloutNonce = "inactive-user-deletion-v1")