hub v0.51.0: DR-tier-by-default — per-customer dr_tier flag (default ON, legacy backfill from reality), cascade stages, WG-registration auto-provision hook, offsite-requires-DR guard (F-6 policy), host-page capability chips (inactive=neutral)
Claude-Session: https://claude.ai/code/session_01NptTCFtu7dz2Ru89qHRagN
This commit is contained in:
@@ -67,7 +67,9 @@ func TestApplyOffsite_ClientDisconnectMidProvision(t *testing.T) {
|
||||
r := httptest.NewRequest(http.MethodPost,
|
||||
"/configs/cust-web/edit?offsite_enabled=on&offsite_type=shared&offsite_quota_gb=50", nil)
|
||||
r = r.WithContext(reqCtx)
|
||||
cfg := &store.CustomerConfig{CustomerID: "cust-web", ConfigJSON: "{}"}
|
||||
// DRTier: offsite requires the DR tier since v0.51.0 (the F-6 coupling) — this test is about
|
||||
// the disconnect atom, so the gate is satisfied.
|
||||
cfg := &store.CustomerConfig{CustomerID: "cust-web", ConfigJSON: "{}", DRTier: true}
|
||||
|
||||
err := s.applyOffsite(r.Context(), r, cfg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user