diff --git a/api/internal/handlers/resources.go b/api/internal/handlers/resources.go index f4b14782e..6f571ccdf 100644 --- a/api/internal/handlers/resources.go +++ b/api/internal/handlers/resources.go @@ -245,6 +245,12 @@ func createHandler(reg *kube.Registry, gvr schema.GroupVersionResource, auditor stampOwner(obj, req) stripRedactedConfig(obj) } + // spec.origin is the operator's proof that a BackupSchedule generated + // the Backup; retention prunes by it. Panel users only create manual + // Backups, so a forged origin is dropped rather than trusted. + if gvr.Resource == "backups" { + unstructured.RemoveNestedField(obj.Object, "spec", "origin") + } var created *unstructured.Unstructured if cluster(gvr) { created, err = k.Dynamic.Resource(gvr).Create(req.Context(), obj, metav1.CreateOptions{}) diff --git a/api/internal/handlers/resources_update_test.go b/api/internal/handlers/resources_update_test.go index 86930029d..476773665 100644 --- a/api/internal/handlers/resources_update_test.go +++ b/api/internal/handlers/resources_update_test.go @@ -1,6 +1,7 @@ package handlers import ( + "context" "net/http" "strings" "testing" @@ -9,6 +10,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/types" + + "github.com/GameplanePanel/gameplane/api/internal/kube" ) func templateObj(name string, labels map[string]string) *unstructured.Unstructured { @@ -264,3 +267,35 @@ func TestResources_Update_TunnelProviderSwitch_MissingSecretNotAnError(t *testin t.Fatal("prune path must not create a tunnel-auth secret that didn't exist") } } + +// spec.origin marks a Backup as generated by a BackupSchedule, and retention +// prunes by it (#960). A Backup created through the panel is always manual, +// so a client-supplied origin must never reach the cluster. +func TestResources_Create_BackupDropsOrigin(t *testing.T) { + k := fakeKubeClient() + r := mountResourcesRouter(k) + body := map[string]any{ + "apiVersion": "gameplane.local/v1alpha1", + "kind": "Backup", + "metadata": map[string]any{"name": "manual-1"}, + "spec": map[string]any{ + "serverRef": map[string]any{"name": "alpha"}, + "origin": map[string]any{"scheduleName": "alpha-auto", "scheduleUID": "u1", "serverUID": "u2"}, + }, + } + rr := do(t, r, "POST", "/backups", body) + if rr.Code != http.StatusCreated { + t.Fatalf("create backup: got %d %s, want 201", rr.Code, rr.Body) + } + got, err := k.Dynamic.Resource(kube.GVRs["backups"]).Namespace("gameplane-games"). + Get(context.Background(), "manual-1", metav1.GetOptions{}) + if err != nil { + t.Fatalf("get created backup: %v", err) + } + if _, found, _ := unstructured.NestedFieldNoCopy(got.Object, "spec", "origin"); found { + t.Error("spec.origin reached the cluster, want it dropped") + } + if name, _, _ := unstructured.NestedString(got.Object, "spec", "serverRef", "name"); name != "alpha" { + t.Errorf("spec.serverRef.name = %q, want the rest of the spec kept", name) + } +} diff --git a/api/specs.md b/api/specs.md index aef5798d4..dd78a1bae 100644 --- a/api/specs.md +++ b/api/specs.md @@ -152,7 +152,7 @@ The HTTP server listens on `:8000` (configurable) with these route groups. Prome - `/servers/{name}:capture-file` — GET: download completed PCAPNG file from the capture sidecar; query param `id={captureId}` (proxied to sidecar over mTLS; 409 if still running) - `/templates` — GET, POST: list and create GameTemplate CRDs - `/templates/{name}` — GET, PUT, DELETE: manage GameTemplate CRDs (cluster-scoped) -- `/backups` — GET, POST: list and create Backup CRDs +- `/backups` — GET, POST: list and create Backup CRDs. POST drops any client-supplied `spec.origin`: only the operator's BackupSchedule controller records a Backup's provenance, which retention prunes by (#960). - `/backups/{name}` — GET, PUT, DELETE: manage Backup CRDs (namespaced, cluster-dispatch) - `/schedules` — GET, POST: list and create BackupSchedule CRDs - `/schedules/{name}` — GET, PUT, DELETE: manage BackupSchedule CRDs (namespaced, cluster-dispatch). DELETE accepts the optional query parameters `expectedUID` and `expectedResourceVersion` together. Kubernetes checks both against the live schedule and returns 409 if either changed. diff --git a/assets/design-export/fig/1-46380.fig b/assets/design-export/fig/1-46380.fig index 470557630..0ca9b0de5 100644 Binary files a/assets/design-export/fig/1-46380.fig and b/assets/design-export/fig/1-46380.fig differ diff --git a/assets/design-export/fig/1-46381.fig b/assets/design-export/fig/1-46381.fig index 36c02bffc..7b5d5e778 100644 Binary files a/assets/design-export/fig/1-46381.fig and b/assets/design-export/fig/1-46381.fig differ diff --git a/assets/design-export/fig/1-46382.fig b/assets/design-export/fig/1-46382.fig index f21a2b000..18d44da17 100644 Binary files a/assets/design-export/fig/1-46382.fig and b/assets/design-export/fig/1-46382.fig differ diff --git a/assets/design-export/fig/1-46383.fig b/assets/design-export/fig/1-46383.fig index 324a7a88a..a091d94f7 100644 Binary files a/assets/design-export/fig/1-46383.fig and b/assets/design-export/fig/1-46383.fig differ diff --git a/assets/design-export/fig/1-46384.fig b/assets/design-export/fig/1-46384.fig index 306fc3d90..a698a8142 100644 Binary files a/assets/design-export/fig/1-46384.fig and b/assets/design-export/fig/1-46384.fig differ diff --git a/assets/design-export/fig/1-46385.fig b/assets/design-export/fig/1-46385.fig index 71cb21ba0..4b01766da 100644 Binary files a/assets/design-export/fig/1-46385.fig and b/assets/design-export/fig/1-46385.fig differ diff --git a/assets/design-export/fig/1-46387.fig b/assets/design-export/fig/1-46387.fig index a60b89a4d..08382aed0 100644 Binary files a/assets/design-export/fig/1-46387.fig and b/assets/design-export/fig/1-46387.fig differ diff --git a/assets/design-export/fig/1-46388.fig b/assets/design-export/fig/1-46388.fig index 1242e141f..02f45b2c9 100644 Binary files a/assets/design-export/fig/1-46388.fig and b/assets/design-export/fig/1-46388.fig differ diff --git a/assets/design-export/fig/1-46390.fig b/assets/design-export/fig/1-46390.fig index 5ac6c6866..ec4b761ca 100644 Binary files a/assets/design-export/fig/1-46390.fig and b/assets/design-export/fig/1-46390.fig differ diff --git a/assets/design-export/fig/1-46391.fig b/assets/design-export/fig/1-46391.fig index 966d99535..a9ac7acff 100644 Binary files a/assets/design-export/fig/1-46391.fig and b/assets/design-export/fig/1-46391.fig differ diff --git a/assets/design-export/fig/1-46392.fig b/assets/design-export/fig/1-46392.fig index f836f60e7..6234631fa 100644 Binary files a/assets/design-export/fig/1-46392.fig and b/assets/design-export/fig/1-46392.fig differ diff --git a/assets/design-export/fig/1-46393.fig b/assets/design-export/fig/1-46393.fig index 8aec31ec4..681eb2895 100644 Binary files a/assets/design-export/fig/1-46393.fig and b/assets/design-export/fig/1-46393.fig differ diff --git a/assets/design-export/fig/1-46394.fig b/assets/design-export/fig/1-46394.fig index 4ee2bbcd7..dfb20b08a 100644 Binary files a/assets/design-export/fig/1-46394.fig and b/assets/design-export/fig/1-46394.fig differ diff --git a/assets/design-export/fig/1-46395.fig b/assets/design-export/fig/1-46395.fig index 54ba73fa7..94a478dd0 100644 Binary files a/assets/design-export/fig/1-46395.fig and b/assets/design-export/fig/1-46395.fig differ diff --git a/assets/design-export/fig/1-46396.fig b/assets/design-export/fig/1-46396.fig index 8783d45bc..844e01c6f 100644 Binary files a/assets/design-export/fig/1-46396.fig and b/assets/design-export/fig/1-46396.fig differ diff --git a/assets/design-export/fig/1-46397.fig b/assets/design-export/fig/1-46397.fig index cc84bd4d0..a1c4aec34 100644 Binary files a/assets/design-export/fig/1-46397.fig and b/assets/design-export/fig/1-46397.fig differ diff --git a/assets/design-export/fig/1-46398.fig b/assets/design-export/fig/1-46398.fig index 823d929d3..b0c1f7874 100644 Binary files a/assets/design-export/fig/1-46398.fig and b/assets/design-export/fig/1-46398.fig differ diff --git a/assets/design-export/fig/1006926387-2294.fig b/assets/design-export/fig/1006926387-2294.fig index 1f05a83cf..fcf76c17e 100644 Binary files a/assets/design-export/fig/1006926387-2294.fig and b/assets/design-export/fig/1006926387-2294.fig differ diff --git a/assets/design-export/fig/1006926387-2310.fig b/assets/design-export/fig/1006926387-2310.fig index ae8a689f5..cc9216871 100644 Binary files a/assets/design-export/fig/1006926387-2310.fig and b/assets/design-export/fig/1006926387-2310.fig differ diff --git a/assets/design-export/fig/1041846705-1.fig b/assets/design-export/fig/1041846705-1.fig index ecde87333..64d13148c 100644 Binary files a/assets/design-export/fig/1041846705-1.fig and b/assets/design-export/fig/1041846705-1.fig differ diff --git a/assets/design-export/fig/1041846705-38.fig b/assets/design-export/fig/1041846705-38.fig index 45e72fe20..9622294fc 100644 Binary files a/assets/design-export/fig/1041846705-38.fig and b/assets/design-export/fig/1041846705-38.fig differ diff --git a/assets/design-export/fig/1163467012-1553.fig b/assets/design-export/fig/1163467012-1553.fig index 3b76d05de..d7e13a7c4 100644 Binary files a/assets/design-export/fig/1163467012-1553.fig and b/assets/design-export/fig/1163467012-1553.fig differ diff --git a/assets/design-export/fig/1163467012-2214.fig b/assets/design-export/fig/1163467012-2214.fig index eeb4b4927..45ae950cb 100644 Binary files a/assets/design-export/fig/1163467012-2214.fig and b/assets/design-export/fig/1163467012-2214.fig differ diff --git a/assets/design-export/fig/1163467012-2492.fig b/assets/design-export/fig/1163467012-2492.fig index 26704f373..9cfb125fb 100644 Binary files a/assets/design-export/fig/1163467012-2492.fig and b/assets/design-export/fig/1163467012-2492.fig differ diff --git a/assets/design-export/fig/1163467012-259.fig b/assets/design-export/fig/1163467012-259.fig index 5ce502655..36524d1bd 100644 Binary files a/assets/design-export/fig/1163467012-259.fig and b/assets/design-export/fig/1163467012-259.fig differ diff --git a/assets/design-export/fig/1163467012-2680.fig b/assets/design-export/fig/1163467012-2680.fig index cd8585ab8..962613dcb 100644 Binary files a/assets/design-export/fig/1163467012-2680.fig and b/assets/design-export/fig/1163467012-2680.fig differ diff --git a/assets/design-export/fig/1163467012-2868.fig b/assets/design-export/fig/1163467012-2868.fig index b89634ffb..4af8ce8b9 100644 Binary files a/assets/design-export/fig/1163467012-2868.fig and b/assets/design-export/fig/1163467012-2868.fig differ diff --git a/assets/design-export/fig/1163467012-3056.fig b/assets/design-export/fig/1163467012-3056.fig index d1448abd0..e15c25f10 100644 Binary files a/assets/design-export/fig/1163467012-3056.fig and b/assets/design-export/fig/1163467012-3056.fig differ diff --git a/assets/design-export/fig/1163467012-3228.fig b/assets/design-export/fig/1163467012-3228.fig index 8a2371c88..1a7645876 100644 Binary files a/assets/design-export/fig/1163467012-3228.fig and b/assets/design-export/fig/1163467012-3228.fig differ diff --git a/assets/design-export/fig/1163467012-906.fig b/assets/design-export/fig/1163467012-906.fig index ba279350e..78c9e46d4 100644 Binary files a/assets/design-export/fig/1163467012-906.fig and b/assets/design-export/fig/1163467012-906.fig differ diff --git a/assets/design-export/fig/1274632774-1258.fig b/assets/design-export/fig/1274632774-1258.fig index f661defed..124735d2e 100644 Binary files a/assets/design-export/fig/1274632774-1258.fig and b/assets/design-export/fig/1274632774-1258.fig differ diff --git a/assets/design-export/fig/1274632774-130.fig b/assets/design-export/fig/1274632774-130.fig index d4d0d196e..04e29687a 100644 Binary files a/assets/design-export/fig/1274632774-130.fig and b/assets/design-export/fig/1274632774-130.fig differ diff --git a/assets/design-export/fig/1274632774-1722.fig b/assets/design-export/fig/1274632774-1722.fig index e83692ad5..5f5979c80 100644 Binary files a/assets/design-export/fig/1274632774-1722.fig and b/assets/design-export/fig/1274632774-1722.fig differ diff --git a/assets/design-export/fig/1274632774-2112.fig b/assets/design-export/fig/1274632774-2112.fig index fde93a848..d448973e0 100644 Binary files a/assets/design-export/fig/1274632774-2112.fig and b/assets/design-export/fig/1274632774-2112.fig differ diff --git a/assets/design-export/fig/1274632774-2492.fig b/assets/design-export/fig/1274632774-2492.fig index 106e09422..ec7251947 100644 Binary files a/assets/design-export/fig/1274632774-2492.fig and b/assets/design-export/fig/1274632774-2492.fig differ diff --git a/assets/design-export/fig/1274632774-2877.fig b/assets/design-export/fig/1274632774-2877.fig index 8fbd6d563..4d5b266f3 100644 Binary files a/assets/design-export/fig/1274632774-2877.fig and b/assets/design-export/fig/1274632774-2877.fig differ diff --git a/assets/design-export/fig/1274632774-3217.fig b/assets/design-export/fig/1274632774-3217.fig index d623d85a5..07089b923 100644 Binary files a/assets/design-export/fig/1274632774-3217.fig and b/assets/design-export/fig/1274632774-3217.fig differ diff --git a/assets/design-export/fig/1274632774-3559.fig b/assets/design-export/fig/1274632774-3559.fig index 47849dddb..7134290a8 100644 Binary files a/assets/design-export/fig/1274632774-3559.fig and b/assets/design-export/fig/1274632774-3559.fig differ diff --git a/assets/design-export/fig/1274632774-3890.fig b/assets/design-export/fig/1274632774-3890.fig index df8f3980f..a7e4c9d08 100644 Binary files a/assets/design-export/fig/1274632774-3890.fig and b/assets/design-export/fig/1274632774-3890.fig differ diff --git a/assets/design-export/fig/1274632774-4001.fig b/assets/design-export/fig/1274632774-4001.fig index dfc5d324b..dff20b95b 100644 Binary files a/assets/design-export/fig/1274632774-4001.fig and b/assets/design-export/fig/1274632774-4001.fig differ diff --git a/assets/design-export/fig/1274632774-4260.fig b/assets/design-export/fig/1274632774-4260.fig index 4ac3ba04b..6ea51b518 100644 Binary files a/assets/design-export/fig/1274632774-4260.fig and b/assets/design-export/fig/1274632774-4260.fig differ diff --git a/assets/design-export/fig/1274632774-470.fig b/assets/design-export/fig/1274632774-470.fig index de8158a4c..424efb4d8 100644 Binary files a/assets/design-export/fig/1274632774-470.fig and b/assets/design-export/fig/1274632774-470.fig differ diff --git a/assets/design-export/fig/1274632774-907.fig b/assets/design-export/fig/1274632774-907.fig index f0f3421f5..cab044c0a 100644 Binary files a/assets/design-export/fig/1274632774-907.fig and b/assets/design-export/fig/1274632774-907.fig differ diff --git a/assets/design-export/fig/1494270493-26.fig b/assets/design-export/fig/1494270493-26.fig index 9c3d9eb02..8a5404ffd 100644 Binary files a/assets/design-export/fig/1494270493-26.fig and b/assets/design-export/fig/1494270493-26.fig differ diff --git a/assets/design-export/fig/2044649516-1099.fig b/assets/design-export/fig/2044649516-1099.fig index 26ef056ee..c90a9e732 100644 Binary files a/assets/design-export/fig/2044649516-1099.fig and b/assets/design-export/fig/2044649516-1099.fig differ diff --git a/assets/design-export/fig/2044649516-13.fig b/assets/design-export/fig/2044649516-13.fig index 5f57e0b1c..2e9c74422 100644 Binary files a/assets/design-export/fig/2044649516-13.fig and b/assets/design-export/fig/2044649516-13.fig differ diff --git a/assets/design-export/fig/2044649516-1687.fig b/assets/design-export/fig/2044649516-1687.fig index 60e7ade19..9f781732b 100644 Binary files a/assets/design-export/fig/2044649516-1687.fig and b/assets/design-export/fig/2044649516-1687.fig differ diff --git a/assets/design-export/fig/2044649516-2282.fig b/assets/design-export/fig/2044649516-2282.fig index 779de7df6..50fce8b62 100644 Binary files a/assets/design-export/fig/2044649516-2282.fig and b/assets/design-export/fig/2044649516-2282.fig differ diff --git a/assets/design-export/fig/2044649516-2862.fig b/assets/design-export/fig/2044649516-2862.fig index 74a2d5d97..40700c383 100644 Binary files a/assets/design-export/fig/2044649516-2862.fig and b/assets/design-export/fig/2044649516-2862.fig differ diff --git a/assets/design-export/fig/2044649516-2982.fig b/assets/design-export/fig/2044649516-2982.fig index 229c6210b..dc53d88f1 100644 Binary files a/assets/design-export/fig/2044649516-2982.fig and b/assets/design-export/fig/2044649516-2982.fig differ diff --git a/assets/design-export/fig/2044649516-579.fig b/assets/design-export/fig/2044649516-579.fig index 2383df79e..d6d539b7a 100644 Binary files a/assets/design-export/fig/2044649516-579.fig and b/assets/design-export/fig/2044649516-579.fig differ diff --git a/assets/design-export/fig/46479436-2.fig b/assets/design-export/fig/46479436-2.fig index 447b1cd20..81976df28 100644 Binary files a/assets/design-export/fig/46479436-2.fig and b/assets/design-export/fig/46479436-2.fig differ diff --git a/assets/design-export/fig/901437436-1.fig b/assets/design-export/fig/901437436-1.fig index 64ab44e2c..159064acb 100644 Binary files a/assets/design-export/fig/901437436-1.fig and b/assets/design-export/fig/901437436-1.fig differ diff --git a/assets/design-export/fig/901437436-1393.fig b/assets/design-export/fig/901437436-1393.fig index 51a26fdc8..4fb0e3315 100644 Binary files a/assets/design-export/fig/901437436-1393.fig and b/assets/design-export/fig/901437436-1393.fig differ diff --git a/assets/design-export/fig/901437436-1857.fig b/assets/design-export/fig/901437436-1857.fig index 77b6d387e..b91831db7 100644 Binary files a/assets/design-export/fig/901437436-1857.fig and b/assets/design-export/fig/901437436-1857.fig differ diff --git a/assets/design-export/fig/901437436-2321.fig b/assets/design-export/fig/901437436-2321.fig index e5ef01f6e..31b610154 100644 Binary files a/assets/design-export/fig/901437436-2321.fig and b/assets/design-export/fig/901437436-2321.fig differ diff --git a/assets/design-export/fig/901437436-2785.fig b/assets/design-export/fig/901437436-2785.fig index 22809d92f..a0eadcdb4 100644 Binary files a/assets/design-export/fig/901437436-2785.fig and b/assets/design-export/fig/901437436-2785.fig differ diff --git a/assets/design-export/fig/901437436-3249.fig b/assets/design-export/fig/901437436-3249.fig index 74f7ffe23..d9b40e56b 100644 Binary files a/assets/design-export/fig/901437436-3249.fig and b/assets/design-export/fig/901437436-3249.fig differ diff --git a/assets/design-export/fig/901437436-3713.fig b/assets/design-export/fig/901437436-3713.fig index b40ca0cf7..ab96c2fd6 100644 Binary files a/assets/design-export/fig/901437436-3713.fig and b/assets/design-export/fig/901437436-3713.fig differ diff --git a/assets/design-export/fig/901437436-465.fig b/assets/design-export/fig/901437436-465.fig index 43e4cce51..cb4e51f2c 100644 Binary files a/assets/design-export/fig/901437436-465.fig and b/assets/design-export/fig/901437436-465.fig differ diff --git a/assets/design-export/fig/901437436-929.fig b/assets/design-export/fig/901437436-929.fig index 2c49a720d..4580bb11d 100644 Binary files a/assets/design-export/fig/901437436-929.fig and b/assets/design-export/fig/901437436-929.fig differ diff --git a/assets/design-export/fig/A8vGwM.fig b/assets/design-export/fig/A8vGwM.fig index 6cfb965b2..4ac35ae20 100644 Binary files a/assets/design-export/fig/A8vGwM.fig and b/assets/design-export/fig/A8vGwM.fig differ diff --git a/assets/design-export/fig/B57dG.fig b/assets/design-export/fig/B57dG.fig index 39edc0873..c058fb11f 100644 Binary files a/assets/design-export/fig/B57dG.fig and b/assets/design-export/fig/B57dG.fig differ diff --git a/assets/design-export/fig/Bbnga.fig b/assets/design-export/fig/Bbnga.fig index 755facfcb..802f8a09f 100644 Binary files a/assets/design-export/fig/Bbnga.fig and b/assets/design-export/fig/Bbnga.fig differ diff --git a/assets/design-export/fig/BdmAW.fig b/assets/design-export/fig/BdmAW.fig index 54202e7de..a9317554f 100644 Binary files a/assets/design-export/fig/BdmAW.fig and b/assets/design-export/fig/BdmAW.fig differ diff --git a/assets/design-export/fig/Be7ZW.fig b/assets/design-export/fig/Be7ZW.fig index 6d0c45471..0e4355de5 100644 Binary files a/assets/design-export/fig/Be7ZW.fig and b/assets/design-export/fig/Be7ZW.fig differ diff --git a/assets/design-export/fig/BguST.fig b/assets/design-export/fig/BguST.fig index ebcfab1b0..f872618c8 100644 Binary files a/assets/design-export/fig/BguST.fig and b/assets/design-export/fig/BguST.fig differ diff --git a/assets/design-export/fig/Bq2Yg.fig b/assets/design-export/fig/Bq2Yg.fig index dfb730c1b..5ac01b461 100644 Binary files a/assets/design-export/fig/Bq2Yg.fig and b/assets/design-export/fig/Bq2Yg.fig differ diff --git a/assets/design-export/fig/C2LQE4.fig b/assets/design-export/fig/C2LQE4.fig index 8a231f1ac..4c92ad76b 100644 Binary files a/assets/design-export/fig/C2LQE4.fig and b/assets/design-export/fig/C2LQE4.fig differ diff --git a/assets/design-export/fig/C5Aoe.fig b/assets/design-export/fig/C5Aoe.fig index 8e0ebfe9c..16b8a3997 100644 Binary files a/assets/design-export/fig/C5Aoe.fig and b/assets/design-export/fig/C5Aoe.fig differ diff --git a/assets/design-export/fig/C9bR6.fig b/assets/design-export/fig/C9bR6.fig index b5b5424d4..e40fdd7e1 100644 Binary files a/assets/design-export/fig/C9bR6.fig and b/assets/design-export/fig/C9bR6.fig differ diff --git a/assets/design-export/fig/Cb3eC.fig b/assets/design-export/fig/Cb3eC.fig index 71c00ecef..2e01e4cb3 100644 Binary files a/assets/design-export/fig/Cb3eC.fig and b/assets/design-export/fig/Cb3eC.fig differ diff --git a/assets/design-export/fig/D9QYZ.fig b/assets/design-export/fig/D9QYZ.fig index 2d842b3f1..f8e5477b4 100644 Binary files a/assets/design-export/fig/D9QYZ.fig and b/assets/design-export/fig/D9QYZ.fig differ diff --git a/assets/design-export/fig/DBQyF.fig b/assets/design-export/fig/DBQyF.fig index afe4ffdfa..6b6be4775 100644 Binary files a/assets/design-export/fig/DBQyF.fig and b/assets/design-export/fig/DBQyF.fig differ diff --git a/assets/design-export/fig/DMnEi.fig b/assets/design-export/fig/DMnEi.fig index 18321d34e..f47588353 100644 Binary files a/assets/design-export/fig/DMnEi.fig and b/assets/design-export/fig/DMnEi.fig differ diff --git a/assets/design-export/fig/DPrYX.fig b/assets/design-export/fig/DPrYX.fig index 89b5c6b5b..4ff72beba 100644 Binary files a/assets/design-export/fig/DPrYX.fig and b/assets/design-export/fig/DPrYX.fig differ diff --git a/assets/design-export/fig/DWztv.fig b/assets/design-export/fig/DWztv.fig index ddb1824e0..900aa8ad1 100644 Binary files a/assets/design-export/fig/DWztv.fig and b/assets/design-export/fig/DWztv.fig differ diff --git a/assets/design-export/fig/Dpb9f.fig b/assets/design-export/fig/Dpb9f.fig index f86a01958..4087f43e4 100644 Binary files a/assets/design-export/fig/Dpb9f.fig and b/assets/design-export/fig/Dpb9f.fig differ diff --git a/assets/design-export/fig/DxKOh.fig b/assets/design-export/fig/DxKOh.fig index e7a08fc63..193b36105 100644 Binary files a/assets/design-export/fig/DxKOh.fig and b/assets/design-export/fig/DxKOh.fig differ diff --git a/assets/design-export/fig/E9EEv0.fig b/assets/design-export/fig/E9EEv0.fig index f6873895f..7d1f92828 100644 Binary files a/assets/design-export/fig/E9EEv0.fig and b/assets/design-export/fig/E9EEv0.fig differ diff --git a/assets/design-export/fig/EKJyM.fig b/assets/design-export/fig/EKJyM.fig index a67e0abd4..f957ac3b6 100644 Binary files a/assets/design-export/fig/EKJyM.fig and b/assets/design-export/fig/EKJyM.fig differ diff --git a/assets/design-export/fig/EWrn0.fig b/assets/design-export/fig/EWrn0.fig index bda1b5d47..f4341f91f 100644 Binary files a/assets/design-export/fig/EWrn0.fig and b/assets/design-export/fig/EWrn0.fig differ diff --git a/assets/design-export/fig/EcoGD.fig b/assets/design-export/fig/EcoGD.fig index d4b7ebe63..cddb2fda0 100644 Binary files a/assets/design-export/fig/EcoGD.fig and b/assets/design-export/fig/EcoGD.fig differ diff --git a/assets/design-export/fig/F9pUrx.fig b/assets/design-export/fig/F9pUrx.fig index be4718d0f..24a976c85 100644 Binary files a/assets/design-export/fig/F9pUrx.fig and b/assets/design-export/fig/F9pUrx.fig differ diff --git a/assets/design-export/fig/FBiMN.fig b/assets/design-export/fig/FBiMN.fig index 43bd3113d..e0c3d7be6 100644 Binary files a/assets/design-export/fig/FBiMN.fig and b/assets/design-export/fig/FBiMN.fig differ diff --git a/assets/design-export/fig/FOVMf.fig b/assets/design-export/fig/FOVMf.fig index 3d2145b65..32a095e5e 100644 Binary files a/assets/design-export/fig/FOVMf.fig and b/assets/design-export/fig/FOVMf.fig differ diff --git a/assets/design-export/fig/GR1G9.fig b/assets/design-export/fig/GR1G9.fig index 25daa5c9b..cba6f7d69 100644 Binary files a/assets/design-export/fig/GR1G9.fig and b/assets/design-export/fig/GR1G9.fig differ diff --git a/assets/design-export/fig/GsofJ.fig b/assets/design-export/fig/GsofJ.fig index 88325b2d6..0d5c9eab6 100644 Binary files a/assets/design-export/fig/GsofJ.fig and b/assets/design-export/fig/GsofJ.fig differ diff --git a/assets/design-export/fig/HVhmb.fig b/assets/design-export/fig/HVhmb.fig index b03729bfb..67eeef5d4 100644 Binary files a/assets/design-export/fig/HVhmb.fig and b/assets/design-export/fig/HVhmb.fig differ diff --git a/assets/design-export/fig/Hy9r0.fig b/assets/design-export/fig/Hy9r0.fig index a771d3364..c1c40946f 100644 Binary files a/assets/design-export/fig/Hy9r0.fig and b/assets/design-export/fig/Hy9r0.fig differ diff --git a/assets/design-export/fig/IBUqJ.fig b/assets/design-export/fig/IBUqJ.fig index b77d018a2..0b67adea0 100644 Binary files a/assets/design-export/fig/IBUqJ.fig and b/assets/design-export/fig/IBUqJ.fig differ diff --git a/assets/design-export/fig/IMSD5.fig b/assets/design-export/fig/IMSD5.fig index 0f0af3601..2bb268394 100644 Binary files a/assets/design-export/fig/IMSD5.fig and b/assets/design-export/fig/IMSD5.fig differ diff --git a/assets/design-export/fig/IdbiB.fig b/assets/design-export/fig/IdbiB.fig index c93993876..ee0a60155 100644 Binary files a/assets/design-export/fig/IdbiB.fig and b/assets/design-export/fig/IdbiB.fig differ diff --git a/assets/design-export/fig/IyMFM.fig b/assets/design-export/fig/IyMFM.fig index 8160a8799..983e34d66 100644 Binary files a/assets/design-export/fig/IyMFM.fig and b/assets/design-export/fig/IyMFM.fig differ diff --git a/assets/design-export/fig/IzuY2.fig b/assets/design-export/fig/IzuY2.fig index 20f3f4cba..c9f09b6b6 100644 Binary files a/assets/design-export/fig/IzuY2.fig and b/assets/design-export/fig/IzuY2.fig differ diff --git a/assets/design-export/fig/J8GzM9.fig b/assets/design-export/fig/J8GzM9.fig index 3cb12d6d2..569912098 100644 Binary files a/assets/design-export/fig/J8GzM9.fig and b/assets/design-export/fig/J8GzM9.fig differ diff --git a/assets/design-export/fig/K5XinZ.fig b/assets/design-export/fig/K5XinZ.fig index ad74371bb..3940eea19 100644 Binary files a/assets/design-export/fig/K5XinZ.fig and b/assets/design-export/fig/K5XinZ.fig differ diff --git a/assets/design-export/fig/KJdxg.fig b/assets/design-export/fig/KJdxg.fig index 56f202c55..16516ef3d 100644 Binary files a/assets/design-export/fig/KJdxg.fig and b/assets/design-export/fig/KJdxg.fig differ diff --git a/assets/design-export/fig/KhYNc.fig b/assets/design-export/fig/KhYNc.fig index 175245176..8e420563e 100644 Binary files a/assets/design-export/fig/KhYNc.fig and b/assets/design-export/fig/KhYNc.fig differ diff --git a/assets/design-export/fig/LYPXU.fig b/assets/design-export/fig/LYPXU.fig index a9bff3b27..4777a85f6 100644 Binary files a/assets/design-export/fig/LYPXU.fig and b/assets/design-export/fig/LYPXU.fig differ diff --git a/assets/design-export/fig/M2sA4u.fig b/assets/design-export/fig/M2sA4u.fig index b5221744b..b77dbb948 100644 Binary files a/assets/design-export/fig/M2sA4u.fig and b/assets/design-export/fig/M2sA4u.fig differ diff --git a/assets/design-export/fig/MaoHP.fig b/assets/design-export/fig/MaoHP.fig index b046b7508..074665fcc 100644 Binary files a/assets/design-export/fig/MaoHP.fig and b/assets/design-export/fig/MaoHP.fig differ diff --git a/assets/design-export/fig/N2nTf.fig b/assets/design-export/fig/N2nTf.fig index fb4ba03dd..a790c19c9 100644 Binary files a/assets/design-export/fig/N2nTf.fig and b/assets/design-export/fig/N2nTf.fig differ diff --git a/assets/design-export/fig/NKiqf.fig b/assets/design-export/fig/NKiqf.fig index ac3f76cad..cb276672c 100644 Binary files a/assets/design-export/fig/NKiqf.fig and b/assets/design-export/fig/NKiqf.fig differ diff --git a/assets/design-export/fig/NLDDv.fig b/assets/design-export/fig/NLDDv.fig index 36cea2d1f..2bd7366e8 100644 Binary files a/assets/design-export/fig/NLDDv.fig and b/assets/design-export/fig/NLDDv.fig differ diff --git a/assets/design-export/fig/NLu2I.fig b/assets/design-export/fig/NLu2I.fig index 78d2cfe75..95a5a0403 100644 Binary files a/assets/design-export/fig/NLu2I.fig and b/assets/design-export/fig/NLu2I.fig differ diff --git a/assets/design-export/fig/Ne5TA.fig b/assets/design-export/fig/Ne5TA.fig index 2225c8b45..1e64c82ee 100644 Binary files a/assets/design-export/fig/Ne5TA.fig and b/assets/design-export/fig/Ne5TA.fig differ diff --git a/assets/design-export/fig/NqaaU.fig b/assets/design-export/fig/NqaaU.fig index 8e8bc976d..40db1df9d 100644 Binary files a/assets/design-export/fig/NqaaU.fig and b/assets/design-export/fig/NqaaU.fig differ diff --git a/assets/design-export/fig/O08uaD.fig b/assets/design-export/fig/O08uaD.fig index 855a2d280..73bf11d99 100644 Binary files a/assets/design-export/fig/O08uaD.fig and b/assets/design-export/fig/O08uaD.fig differ diff --git a/assets/design-export/fig/O5kaV.fig b/assets/design-export/fig/O5kaV.fig index e9f906c64..b6a0f21ea 100644 Binary files a/assets/design-export/fig/O5kaV.fig and b/assets/design-export/fig/O5kaV.fig differ diff --git a/assets/design-export/fig/OC804.fig b/assets/design-export/fig/OC804.fig index eec5b8056..9142cc15b 100644 Binary files a/assets/design-export/fig/OC804.fig and b/assets/design-export/fig/OC804.fig differ diff --git a/assets/design-export/fig/OecJ5.fig b/assets/design-export/fig/OecJ5.fig index 291b61556..4e29d3ead 100644 Binary files a/assets/design-export/fig/OecJ5.fig and b/assets/design-export/fig/OecJ5.fig differ diff --git a/assets/design-export/fig/QFEg9.fig b/assets/design-export/fig/QFEg9.fig index b5b1b7b5b..7edf9859a 100644 Binary files a/assets/design-export/fig/QFEg9.fig and b/assets/design-export/fig/QFEg9.fig differ diff --git a/assets/design-export/fig/QQtUD.fig b/assets/design-export/fig/QQtUD.fig index b15d01767..753e635de 100644 Binary files a/assets/design-export/fig/QQtUD.fig and b/assets/design-export/fig/QQtUD.fig differ diff --git a/assets/design-export/fig/QgW58.fig b/assets/design-export/fig/QgW58.fig index 6cf35564f..df282a66f 100644 Binary files a/assets/design-export/fig/QgW58.fig and b/assets/design-export/fig/QgW58.fig differ diff --git a/assets/design-export/fig/QpEvu.fig b/assets/design-export/fig/QpEvu.fig index be63ab860..773379602 100644 Binary files a/assets/design-export/fig/QpEvu.fig and b/assets/design-export/fig/QpEvu.fig differ diff --git a/assets/design-export/fig/RC3Kf.fig b/assets/design-export/fig/RC3Kf.fig index 921357ad2..1f5cf9528 100644 Binary files a/assets/design-export/fig/RC3Kf.fig and b/assets/design-export/fig/RC3Kf.fig differ diff --git a/assets/design-export/fig/RS0KZ.fig b/assets/design-export/fig/RS0KZ.fig index 7400c2b3f..317caf8db 100644 Binary files a/assets/design-export/fig/RS0KZ.fig and b/assets/design-export/fig/RS0KZ.fig differ diff --git a/assets/design-export/fig/RodrS.fig b/assets/design-export/fig/RodrS.fig index feedd1f01..d500ca67f 100644 Binary files a/assets/design-export/fig/RodrS.fig and b/assets/design-export/fig/RodrS.fig differ diff --git a/assets/design-export/fig/SUcad.fig b/assets/design-export/fig/SUcad.fig index 3d89304e9..89210f857 100644 Binary files a/assets/design-export/fig/SUcad.fig and b/assets/design-export/fig/SUcad.fig differ diff --git a/assets/design-export/fig/SUtGZ.fig b/assets/design-export/fig/SUtGZ.fig index c98b83ee9..609a310c6 100644 Binary files a/assets/design-export/fig/SUtGZ.fig and b/assets/design-export/fig/SUtGZ.fig differ diff --git a/assets/design-export/fig/SeizD.fig b/assets/design-export/fig/SeizD.fig index c896672cc..5cb84d1e7 100644 Binary files a/assets/design-export/fig/SeizD.fig and b/assets/design-export/fig/SeizD.fig differ diff --git a/assets/design-export/fig/T1wkiT.fig b/assets/design-export/fig/T1wkiT.fig index 91f9772ec..c03b12c2c 100644 Binary files a/assets/design-export/fig/T1wkiT.fig and b/assets/design-export/fig/T1wkiT.fig differ diff --git a/assets/design-export/fig/T70dJ.fig b/assets/design-export/fig/T70dJ.fig index 6a0f794b5..2dad6bf37 100644 Binary files a/assets/design-export/fig/T70dJ.fig and b/assets/design-export/fig/T70dJ.fig differ diff --git a/assets/design-export/fig/TBvTC.fig b/assets/design-export/fig/TBvTC.fig index 53a20d2cc..da78931a8 100644 Binary files a/assets/design-export/fig/TBvTC.fig and b/assets/design-export/fig/TBvTC.fig differ diff --git a/assets/design-export/fig/TE2jI.fig b/assets/design-export/fig/TE2jI.fig index 73e6556e7..0865eace4 100644 Binary files a/assets/design-export/fig/TE2jI.fig and b/assets/design-export/fig/TE2jI.fig differ diff --git a/assets/design-export/fig/U9xSg.fig b/assets/design-export/fig/U9xSg.fig index 7d6b01128..fed6ce44f 100644 Binary files a/assets/design-export/fig/U9xSg.fig and b/assets/design-export/fig/U9xSg.fig differ diff --git a/assets/design-export/fig/UCNBm.fig b/assets/design-export/fig/UCNBm.fig index 3f9372add..f2fd4fb9a 100644 Binary files a/assets/design-export/fig/UCNBm.fig and b/assets/design-export/fig/UCNBm.fig differ diff --git a/assets/design-export/fig/UdnBT.fig b/assets/design-export/fig/UdnBT.fig index 7f17321db..95592eb9c 100644 Binary files a/assets/design-export/fig/UdnBT.fig and b/assets/design-export/fig/UdnBT.fig differ diff --git a/assets/design-export/fig/Uzzje.fig b/assets/design-export/fig/Uzzje.fig index 414a2f535..74ddb0b90 100644 Binary files a/assets/design-export/fig/Uzzje.fig and b/assets/design-export/fig/Uzzje.fig differ diff --git a/assets/design-export/fig/VM7ro.fig b/assets/design-export/fig/VM7ro.fig index 19c06df0a..b9536f175 100644 Binary files a/assets/design-export/fig/VM7ro.fig and b/assets/design-export/fig/VM7ro.fig differ diff --git a/assets/design-export/fig/VctzT.fig b/assets/design-export/fig/VctzT.fig index 418db6e6a..3349f844f 100644 Binary files a/assets/design-export/fig/VctzT.fig and b/assets/design-export/fig/VctzT.fig differ diff --git a/assets/design-export/fig/WZdnw.fig b/assets/design-export/fig/WZdnw.fig index d567970d7..466260736 100644 Binary files a/assets/design-export/fig/WZdnw.fig and b/assets/design-export/fig/WZdnw.fig differ diff --git a/assets/design-export/fig/Wj0V4.fig b/assets/design-export/fig/Wj0V4.fig index a755da265..b1414b517 100644 Binary files a/assets/design-export/fig/Wj0V4.fig and b/assets/design-export/fig/Wj0V4.fig differ diff --git a/assets/design-export/fig/WrmU5.fig b/assets/design-export/fig/WrmU5.fig index 8840876d0..8a9eaeb99 100644 Binary files a/assets/design-export/fig/WrmU5.fig and b/assets/design-export/fig/WrmU5.fig differ diff --git a/assets/design-export/fig/X405l.fig b/assets/design-export/fig/X405l.fig index 7684691d6..3ea12d5f8 100644 Binary files a/assets/design-export/fig/X405l.fig and b/assets/design-export/fig/X405l.fig differ diff --git a/assets/design-export/fig/XR0f9.fig b/assets/design-export/fig/XR0f9.fig index b856cf6db..71e10adb7 100644 Binary files a/assets/design-export/fig/XR0f9.fig and b/assets/design-export/fig/XR0f9.fig differ diff --git a/assets/design-export/fig/YN8cE.fig b/assets/design-export/fig/YN8cE.fig index 06b6af665..3730baedf 100644 Binary files a/assets/design-export/fig/YN8cE.fig and b/assets/design-export/fig/YN8cE.fig differ diff --git a/assets/design-export/fig/YPKbV.fig b/assets/design-export/fig/YPKbV.fig index 0dddd661e..229632539 100644 Binary files a/assets/design-export/fig/YPKbV.fig and b/assets/design-export/fig/YPKbV.fig differ diff --git a/assets/design-export/fig/Z0oyh.fig b/assets/design-export/fig/Z0oyh.fig index e3fe64c88..da099ca98 100644 Binary files a/assets/design-export/fig/Z0oyh.fig and b/assets/design-export/fig/Z0oyh.fig differ diff --git a/assets/design-export/fig/ZU1BG.fig b/assets/design-export/fig/ZU1BG.fig index 3cbc03746..ad665cf5d 100644 Binary files a/assets/design-export/fig/ZU1BG.fig and b/assets/design-export/fig/ZU1BG.fig differ diff --git a/assets/design-export/fig/ZUAq1.fig b/assets/design-export/fig/ZUAq1.fig index 21edbad10..74c0b9460 100644 Binary files a/assets/design-export/fig/ZUAq1.fig and b/assets/design-export/fig/ZUAq1.fig differ diff --git a/assets/design-export/fig/ZlLf0.fig b/assets/design-export/fig/ZlLf0.fig index b3d33c3f8..342edcbf8 100644 Binary files a/assets/design-export/fig/ZlLf0.fig and b/assets/design-export/fig/ZlLf0.fig differ diff --git a/assets/design-export/fig/a7o9C.fig b/assets/design-export/fig/a7o9C.fig index 6a09523d2..d6cfc78bc 100644 Binary files a/assets/design-export/fig/a7o9C.fig and b/assets/design-export/fig/a7o9C.fig differ diff --git a/assets/design-export/fig/aMU7O.fig b/assets/design-export/fig/aMU7O.fig index 1b7aff7ed..3ceaa49df 100644 Binary files a/assets/design-export/fig/aMU7O.fig and b/assets/design-export/fig/aMU7O.fig differ diff --git a/assets/design-export/fig/akr4I.fig b/assets/design-export/fig/akr4I.fig index 792cc7d4d..f864a4482 100644 Binary files a/assets/design-export/fig/akr4I.fig and b/assets/design-export/fig/akr4I.fig differ diff --git a/assets/design-export/fig/atqRh.fig b/assets/design-export/fig/atqRh.fig index 95f7d73cf..5cdd57a89 100644 Binary files a/assets/design-export/fig/atqRh.fig and b/assets/design-export/fig/atqRh.fig differ diff --git a/assets/design-export/fig/b4eaUf.fig b/assets/design-export/fig/b4eaUf.fig index 38ff3785f..f1be8c683 100644 Binary files a/assets/design-export/fig/b4eaUf.fig and b/assets/design-export/fig/b4eaUf.fig differ diff --git a/assets/design-export/fig/bYDHC.fig b/assets/design-export/fig/bYDHC.fig index ff20b159a..f1c11cd26 100644 Binary files a/assets/design-export/fig/bYDHC.fig and b/assets/design-export/fig/bYDHC.fig differ diff --git a/assets/design-export/fig/cDiNb.fig b/assets/design-export/fig/cDiNb.fig index b05dee56c..944cd693f 100644 Binary files a/assets/design-export/fig/cDiNb.fig and b/assets/design-export/fig/cDiNb.fig differ diff --git a/assets/design-export/fig/dBILX.fig b/assets/design-export/fig/dBILX.fig index 6325f3f9f..ada0aef1e 100644 Binary files a/assets/design-export/fig/dBILX.fig and b/assets/design-export/fig/dBILX.fig differ diff --git a/assets/design-export/fig/dQV9N.fig b/assets/design-export/fig/dQV9N.fig index dff0e5a3e..8eb321033 100644 Binary files a/assets/design-export/fig/dQV9N.fig and b/assets/design-export/fig/dQV9N.fig differ diff --git a/assets/design-export/fig/dhPtX.fig b/assets/design-export/fig/dhPtX.fig index c58680aa9..08533f8b1 100644 Binary files a/assets/design-export/fig/dhPtX.fig and b/assets/design-export/fig/dhPtX.fig differ diff --git a/assets/design-export/fig/dxdEi.fig b/assets/design-export/fig/dxdEi.fig index c8da14737..9940a1d45 100644 Binary files a/assets/design-export/fig/dxdEi.fig and b/assets/design-export/fig/dxdEi.fig differ diff --git a/assets/design-export/fig/e9FnC.fig b/assets/design-export/fig/e9FnC.fig index a325794bf..2b9f01a19 100644 Binary files a/assets/design-export/fig/e9FnC.fig and b/assets/design-export/fig/e9FnC.fig differ diff --git a/assets/design-export/fig/e9lV4.fig b/assets/design-export/fig/e9lV4.fig index 61b3d991d..c56744eb5 100644 Binary files a/assets/design-export/fig/e9lV4.fig and b/assets/design-export/fig/e9lV4.fig differ diff --git a/assets/design-export/fig/eGbsg.fig b/assets/design-export/fig/eGbsg.fig index 97e840910..ead1449a2 100644 Binary files a/assets/design-export/fig/eGbsg.fig and b/assets/design-export/fig/eGbsg.fig differ diff --git a/assets/design-export/fig/epZO2.fig b/assets/design-export/fig/epZO2.fig index bb81261a7..dc1a9dd31 100644 Binary files a/assets/design-export/fig/epZO2.fig and b/assets/design-export/fig/epZO2.fig differ diff --git a/assets/design-export/fig/fbBqA.fig b/assets/design-export/fig/fbBqA.fig index 64605f8bb..ed2b5a42b 100644 Binary files a/assets/design-export/fig/fbBqA.fig and b/assets/design-export/fig/fbBqA.fig differ diff --git a/assets/design-export/fig/g5mEpx.fig b/assets/design-export/fig/g5mEpx.fig index e907bd88b..e42298dba 100644 Binary files a/assets/design-export/fig/g5mEpx.fig and b/assets/design-export/fig/g5mEpx.fig differ diff --git a/assets/design-export/fig/gWqMD.fig b/assets/design-export/fig/gWqMD.fig index 81318e233..6b2ad8d1e 100644 Binary files a/assets/design-export/fig/gWqMD.fig and b/assets/design-export/fig/gWqMD.fig differ diff --git a/assets/design-export/fig/gX7um.fig b/assets/design-export/fig/gX7um.fig index 68eb740b2..8d953d00f 100644 Binary files a/assets/design-export/fig/gX7um.fig and b/assets/design-export/fig/gX7um.fig differ diff --git a/assets/design-export/fig/hlwx3.fig b/assets/design-export/fig/hlwx3.fig index 09264844f..d9d81a829 100644 Binary files a/assets/design-export/fig/hlwx3.fig and b/assets/design-export/fig/hlwx3.fig differ diff --git a/assets/design-export/fig/hmPL7.fig b/assets/design-export/fig/hmPL7.fig index 8d2b7927e..13e68e7d1 100644 Binary files a/assets/design-export/fig/hmPL7.fig and b/assets/design-export/fig/hmPL7.fig differ diff --git a/assets/design-export/fig/i4L0M.fig b/assets/design-export/fig/i4L0M.fig index afae3187b..0b5564983 100644 Binary files a/assets/design-export/fig/i4L0M.fig and b/assets/design-export/fig/i4L0M.fig differ diff --git a/assets/design-export/fig/iLm38.fig b/assets/design-export/fig/iLm38.fig index 6aee7a9da..3342e216b 100644 Binary files a/assets/design-export/fig/iLm38.fig and b/assets/design-export/fig/iLm38.fig differ diff --git a/assets/design-export/fig/iYUWc.fig b/assets/design-export/fig/iYUWc.fig index 7299c1577..d7d2c0dbe 100644 Binary files a/assets/design-export/fig/iYUWc.fig and b/assets/design-export/fig/iYUWc.fig differ diff --git a/assets/design-export/fig/j88bl0.fig b/assets/design-export/fig/j88bl0.fig index 69238e221..e096e6049 100644 Binary files a/assets/design-export/fig/j88bl0.fig and b/assets/design-export/fig/j88bl0.fig differ diff --git a/assets/design-export/fig/jXykV.fig b/assets/design-export/fig/jXykV.fig index d21fe67de..4d7f076a2 100644 Binary files a/assets/design-export/fig/jXykV.fig and b/assets/design-export/fig/jXykV.fig differ diff --git a/assets/design-export/fig/l64bd.fig b/assets/design-export/fig/l64bd.fig index b4a01404b..941c517b0 100644 Binary files a/assets/design-export/fig/l64bd.fig and b/assets/design-export/fig/l64bd.fig differ diff --git a/assets/design-export/fig/l7TRz9.fig b/assets/design-export/fig/l7TRz9.fig index f9aef132f..3592754ce 100644 Binary files a/assets/design-export/fig/l7TRz9.fig and b/assets/design-export/fig/l7TRz9.fig differ diff --git a/assets/design-export/fig/lCTci.fig b/assets/design-export/fig/lCTci.fig index 90f281bbb..f344b32de 100644 Binary files a/assets/design-export/fig/lCTci.fig and b/assets/design-export/fig/lCTci.fig differ diff --git a/assets/design-export/fig/lWvcv.fig b/assets/design-export/fig/lWvcv.fig index bb76fdf5c..789861d74 100644 Binary files a/assets/design-export/fig/lWvcv.fig and b/assets/design-export/fig/lWvcv.fig differ diff --git a/assets/design-export/fig/lhKzN.fig b/assets/design-export/fig/lhKzN.fig index a4a09cbe6..f428226a2 100644 Binary files a/assets/design-export/fig/lhKzN.fig and b/assets/design-export/fig/lhKzN.fig differ diff --git a/assets/design-export/fig/m5kOm4.fig b/assets/design-export/fig/m5kOm4.fig index 30c3d199b..4ebbd3237 100644 Binary files a/assets/design-export/fig/m5kOm4.fig and b/assets/design-export/fig/m5kOm4.fig differ diff --git a/assets/design-export/fig/mrF6f.fig b/assets/design-export/fig/mrF6f.fig index e7f04c135..ee0f112c3 100644 Binary files a/assets/design-export/fig/mrF6f.fig and b/assets/design-export/fig/mrF6f.fig differ diff --git a/assets/design-export/fig/n2qdi.fig b/assets/design-export/fig/n2qdi.fig index 6c7819f9a..daba7993d 100644 Binary files a/assets/design-export/fig/n2qdi.fig and b/assets/design-export/fig/n2qdi.fig differ diff --git a/assets/design-export/fig/n6Xlo.fig b/assets/design-export/fig/n6Xlo.fig index f93087d34..7a07e81cd 100644 Binary files a/assets/design-export/fig/n6Xlo.fig and b/assets/design-export/fig/n6Xlo.fig differ diff --git a/assets/design-export/fig/nGJE1.fig b/assets/design-export/fig/nGJE1.fig index fa11172c1..1ecf3bf35 100644 Binary files a/assets/design-export/fig/nGJE1.fig and b/assets/design-export/fig/nGJE1.fig differ diff --git a/assets/design-export/fig/nNGDX.fig b/assets/design-export/fig/nNGDX.fig index afa329c5e..b59b18df9 100644 Binary files a/assets/design-export/fig/nNGDX.fig and b/assets/design-export/fig/nNGDX.fig differ diff --git a/assets/design-export/fig/o1uEP.fig b/assets/design-export/fig/o1uEP.fig index bf141eba3..983b93cd3 100644 Binary files a/assets/design-export/fig/o1uEP.fig and b/assets/design-export/fig/o1uEP.fig differ diff --git a/assets/design-export/fig/o4LH8W.fig b/assets/design-export/fig/o4LH8W.fig index 82990e7bf..7486d76ee 100644 Binary files a/assets/design-export/fig/o4LH8W.fig and b/assets/design-export/fig/o4LH8W.fig differ diff --git a/assets/design-export/fig/oMuyw.fig b/assets/design-export/fig/oMuyw.fig index 33a223b5b..a220e226d 100644 Binary files a/assets/design-export/fig/oMuyw.fig and b/assets/design-export/fig/oMuyw.fig differ diff --git a/assets/design-export/fig/oPF1n.fig b/assets/design-export/fig/oPF1n.fig index d9e0e30a7..0c30f3a3f 100644 Binary files a/assets/design-export/fig/oPF1n.fig and b/assets/design-export/fig/oPF1n.fig differ diff --git a/assets/design-export/fig/oyoTs.fig b/assets/design-export/fig/oyoTs.fig index 2e67cdaf1..31600f915 100644 Binary files a/assets/design-export/fig/oyoTs.fig and b/assets/design-export/fig/oyoTs.fig differ diff --git a/assets/design-export/fig/p8QSPq.fig b/assets/design-export/fig/p8QSPq.fig index e816124b8..3fe8a290b 100644 Binary files a/assets/design-export/fig/p8QSPq.fig and b/assets/design-export/fig/p8QSPq.fig differ diff --git a/assets/design-export/fig/pnAbF.fig b/assets/design-export/fig/pnAbF.fig index 76c2b990d..c8d30f38f 100644 Binary files a/assets/design-export/fig/pnAbF.fig and b/assets/design-export/fig/pnAbF.fig differ diff --git a/assets/design-export/fig/pssCT.fig b/assets/design-export/fig/pssCT.fig index 64887ba94..68877b8fe 100644 Binary files a/assets/design-export/fig/pssCT.fig and b/assets/design-export/fig/pssCT.fig differ diff --git a/assets/design-export/fig/pszxE.fig b/assets/design-export/fig/pszxE.fig index aa7022965..8c16e6f02 100644 Binary files a/assets/design-export/fig/pszxE.fig and b/assets/design-export/fig/pszxE.fig differ diff --git a/assets/design-export/fig/q31B6w.fig b/assets/design-export/fig/q31B6w.fig index f9b4233ad..2a52bcbcf 100644 Binary files a/assets/design-export/fig/q31B6w.fig and b/assets/design-export/fig/q31B6w.fig differ diff --git a/assets/design-export/fig/qFLfB.fig b/assets/design-export/fig/qFLfB.fig index 45f2a00bd..e232fdadc 100644 Binary files a/assets/design-export/fig/qFLfB.fig and b/assets/design-export/fig/qFLfB.fig differ diff --git a/assets/design-export/fig/r0heh.fig b/assets/design-export/fig/r0heh.fig index efb0fc023..2f710b5d5 100644 Binary files a/assets/design-export/fig/r0heh.fig and b/assets/design-export/fig/r0heh.fig differ diff --git a/assets/design-export/fig/r139UP.fig b/assets/design-export/fig/r139UP.fig index 0ad301174..c83a808a8 100644 Binary files a/assets/design-export/fig/r139UP.fig and b/assets/design-export/fig/r139UP.fig differ diff --git a/assets/design-export/fig/rJt1I.fig b/assets/design-export/fig/rJt1I.fig index 006d99812..c53743ea0 100644 Binary files a/assets/design-export/fig/rJt1I.fig and b/assets/design-export/fig/rJt1I.fig differ diff --git a/assets/design-export/fig/sSISK.fig b/assets/design-export/fig/sSISK.fig index c95eff78f..28aa5d2b4 100644 Binary files a/assets/design-export/fig/sSISK.fig and b/assets/design-export/fig/sSISK.fig differ diff --git a/assets/design-export/fig/t3IY3u.fig b/assets/design-export/fig/t3IY3u.fig index 6ad16b81e..ebaf828db 100644 Binary files a/assets/design-export/fig/t3IY3u.fig and b/assets/design-export/fig/t3IY3u.fig differ diff --git a/assets/design-export/fig/t56aLu.fig b/assets/design-export/fig/t56aLu.fig index e38f6614b..2a6001079 100644 Binary files a/assets/design-export/fig/t56aLu.fig and b/assets/design-export/fig/t56aLu.fig differ diff --git a/assets/design-export/fig/tSOeI.fig b/assets/design-export/fig/tSOeI.fig index b02a4091f..38c32c3f5 100644 Binary files a/assets/design-export/fig/tSOeI.fig and b/assets/design-export/fig/tSOeI.fig differ diff --git a/assets/design-export/fig/tooKB.fig b/assets/design-export/fig/tooKB.fig index 62266670e..638f82be2 100644 Binary files a/assets/design-export/fig/tooKB.fig and b/assets/design-export/fig/tooKB.fig differ diff --git a/assets/design-export/fig/tr6cE.fig b/assets/design-export/fig/tr6cE.fig index f98851559..b63924936 100644 Binary files a/assets/design-export/fig/tr6cE.fig and b/assets/design-export/fig/tr6cE.fig differ diff --git a/assets/design-export/fig/uCA23.fig b/assets/design-export/fig/uCA23.fig index f7890efc5..ebec63010 100644 Binary files a/assets/design-export/fig/uCA23.fig and b/assets/design-export/fig/uCA23.fig differ diff --git a/assets/design-export/fig/uMiwd.fig b/assets/design-export/fig/uMiwd.fig index d1db0f8c9..f72f279d6 100644 Binary files a/assets/design-export/fig/uMiwd.fig and b/assets/design-export/fig/uMiwd.fig differ diff --git a/assets/design-export/fig/uoxQW.fig b/assets/design-export/fig/uoxQW.fig index 55332a24e..6d7d4e355 100644 Binary files a/assets/design-export/fig/uoxQW.fig and b/assets/design-export/fig/uoxQW.fig differ diff --git a/assets/design-export/fig/w34N9.fig b/assets/design-export/fig/w34N9.fig index 366a4e4ef..eed011341 100644 Binary files a/assets/design-export/fig/w34N9.fig and b/assets/design-export/fig/w34N9.fig differ diff --git a/assets/design-export/fig/wqnM9.fig b/assets/design-export/fig/wqnM9.fig index 1b30b4386..29d29f63d 100644 Binary files a/assets/design-export/fig/wqnM9.fig and b/assets/design-export/fig/wqnM9.fig differ diff --git a/assets/design-export/fig/wxINm.fig b/assets/design-export/fig/wxINm.fig index e0533271a..ad688a847 100644 Binary files a/assets/design-export/fig/wxINm.fig and b/assets/design-export/fig/wxINm.fig differ diff --git a/assets/design-export/fig/xCJlu.fig b/assets/design-export/fig/xCJlu.fig index b3a0aa6b2..f8d587393 100644 Binary files a/assets/design-export/fig/xCJlu.fig and b/assets/design-export/fig/xCJlu.fig differ diff --git a/assets/design-export/fig/xvlB6.fig b/assets/design-export/fig/xvlB6.fig index a38129513..357f85685 100644 Binary files a/assets/design-export/fig/xvlB6.fig and b/assets/design-export/fig/xvlB6.fig differ diff --git a/assets/design-export/fig/y3YcQ.fig b/assets/design-export/fig/y3YcQ.fig index af2f0570d..6768c01d4 100644 Binary files a/assets/design-export/fig/y3YcQ.fig and b/assets/design-export/fig/y3YcQ.fig differ diff --git a/assets/design-export/fig/yrxK2.fig b/assets/design-export/fig/yrxK2.fig index abc0663c7..0d5d786af 100644 Binary files a/assets/design-export/fig/yrxK2.fig and b/assets/design-export/fig/yrxK2.fig differ diff --git a/assets/design-export/fig/zFiOW.fig b/assets/design-export/fig/zFiOW.fig index f4e053ff8..1e653b54e 100644 Binary files a/assets/design-export/fig/zFiOW.fig and b/assets/design-export/fig/zFiOW.fig differ diff --git a/assets/design-export/fig/zM0VF.fig b/assets/design-export/fig/zM0VF.fig index d803bfc89..f0f4b448e 100644 Binary files a/assets/design-export/fig/zM0VF.fig and b/assets/design-export/fig/zM0VF.fig differ diff --git a/assets/design-export/fig/zj5a3.fig b/assets/design-export/fig/zj5a3.fig index 196d409d2..3ca5ad7ca 100644 Binary files a/assets/design-export/fig/zj5a3.fig and b/assets/design-export/fig/zj5a3.fig differ diff --git a/assets/design-export/fig/zqzr4.fig b/assets/design-export/fig/zqzr4.fig index b55f87698..e59f1e377 100644 Binary files a/assets/design-export/fig/zqzr4.fig and b/assets/design-export/fig/zqzr4.fig differ diff --git a/assets/design-export/json/1006926387-2294.json b/assets/design-export/json/1006926387-2294.json index 8de305bdd..86694f737 100644 --- a/assets/design-export/json/1006926387-2294.json +++ b/assets/design-export/json/1006926387-2294.json @@ -28,7 +28,7 @@ }, "children": [ { - "id": "0:47945", + "id": "0:47947", "name": "cdTitle", "type": "TEXT", "x": 20, @@ -43,7 +43,7 @@ "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} }, { - "id": "0:47946", + "id": "0:47948", "name": "cdDescWrap", "type": "FRAME", "x": 20, @@ -63,7 +63,7 @@ "layoutAlignSelf": "STRETCH", "children": [ { - "id": "0:47947", + "id": "0:47949", "name": "cdDesc", "type": "TEXT", "x": 0, @@ -82,7 +82,7 @@ ] }, { - "id": "0:47948", + "id": "0:47950", "name": "cdPhrase", "type": "FRAME", "x": 20, @@ -103,7 +103,7 @@ "layoutAlignSelf": "STRETCH", "children": [ { - "id": "0:47949", + "id": "0:47951", "name": "cdPhraseRow", "type": "FRAME", "x": 0, @@ -122,7 +122,7 @@ }, "children": [ { - "id": "0:47950", + "id": "0:47952", "name": "cdPhraseType", "type": "TEXT", "x": 0, @@ -137,7 +137,7 @@ "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/muted"} }, { - "id": "0:47951", + "id": "0:47953", "name": "cdPhraseValue", "type": "TEXT", "x": 30, @@ -152,7 +152,7 @@ "variables": {"fontFamily": "typography/font-mono", "fills/0/color": "foreground/foreground"} }, { - "id": "0:47952", + "id": "0:47954", "name": "cdPhraseConfirm", "type": "TEXT", "x": 114, @@ -169,7 +169,7 @@ ] }, { - "id": "0:47953", + "id": "0:47955", "name": "cdInput", "type": "FRAME", "x": 0, @@ -198,7 +198,7 @@ }, "children": [ { - "id": "0:47954", + "id": "0:47956", "name": "cdInputValue", "type": "TEXT", "x": 12, @@ -217,7 +217,7 @@ ] }, { - "id": "0:47955", + "id": "0:47957", "name": "cdFooter", "type": "FRAME", "x": 20, @@ -237,7 +237,7 @@ "layoutAlignSelf": "STRETCH", "children": [ { - "id": "0:47956", + "id": "0:47958", "name": "btnCancel", "type": "FRAME", "x": 222, @@ -258,7 +258,7 @@ "variables": {"cornerRadius": "radius/md"}, "children": [ { - "id": "0:47957", + "id": "0:47959", "name": "cdCancelLabel", "type": "TEXT", "x": 12, @@ -275,7 +275,7 @@ ] }, { - "id": "0:47958", + "id": "0:47960", "name": "btnConfirm", "type": "FRAME", "x": 300, @@ -297,7 +297,7 @@ "variables": {"cornerRadius": "radius/md", "fills/0/color": "danger/danger"}, "children": [ { - "id": "0:47959", + "id": "0:47961", "name": "cdConfirmLabel", "type": "TEXT", "x": 12, diff --git a/assets/design-export/json/1006926387-2310.json b/assets/design-export/json/1006926387-2310.json index e1f4cfad9..37ee83431 100644 --- a/assets/design-export/json/1006926387-2310.json +++ b/assets/design-export/json/1006926387-2310.json @@ -28,7 +28,7 @@ }, "children": [ { - "id": "0:47960", + "id": "0:47962", "name": "cdTitle", "type": "TEXT", "x": 20, @@ -43,7 +43,7 @@ "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} }, { - "id": "0:47961", + "id": "0:47963", "name": "cdDescWrap", "type": "FRAME", "x": 20, @@ -63,7 +63,7 @@ "layoutAlignSelf": "STRETCH", "children": [ { - "id": "0:47962", + "id": "0:47964", "name": "cdDesc", "type": "TEXT", "x": 0, @@ -82,7 +82,7 @@ ] }, { - "id": "0:47963", + "id": "0:47965", "name": "cdPhrase", "type": "FRAME", "x": 20, @@ -103,7 +103,7 @@ "layoutAlignSelf": "STRETCH", "children": [ { - "id": "0:47964", + "id": "0:47966", "name": "cdPhraseRow", "type": "FRAME", "x": 0, @@ -122,7 +122,7 @@ }, "children": [ { - "id": "0:47965", + "id": "0:47967", "name": "cdPhraseType", "type": "TEXT", "x": 0, @@ -137,7 +137,7 @@ "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/muted"} }, { - "id": "0:47966", + "id": "0:47968", "name": "cdPhraseValue", "type": "TEXT", "x": 30, @@ -152,7 +152,7 @@ "variables": {"fontFamily": "typography/font-mono", "fills/0/color": "foreground/foreground"} }, { - "id": "0:47967", + "id": "0:47969", "name": "cdPhraseConfirm", "type": "TEXT", "x": 114, @@ -169,7 +169,7 @@ ] }, { - "id": "0:47968", + "id": "0:47970", "name": "cdInput", "type": "FRAME", "x": 0, @@ -198,7 +198,7 @@ }, "children": [ { - "id": "0:47969", + "id": "0:47971", "name": "cdInputValue", "type": "TEXT", "x": 12, @@ -217,7 +217,7 @@ ] }, { - "id": "0:47970", + "id": "0:47972", "name": "cdFooter", "type": "FRAME", "x": 20, @@ -237,7 +237,7 @@ "layoutAlignSelf": "STRETCH", "children": [ { - "id": "0:47971", + "id": "0:47973", "name": "btnCancel", "type": "FRAME", "x": 249, @@ -258,7 +258,7 @@ "variables": {"cornerRadius": "radius/md"}, "children": [ { - "id": "0:47972", + "id": "0:47974", "name": "cdCancelLabel", "type": "TEXT", "x": 12, @@ -275,7 +275,7 @@ ] }, { - "id": "0:47973", + "id": "0:47975", "name": "btnConfirm", "type": "FRAME", "x": 327, @@ -297,7 +297,7 @@ "variables": {"cornerRadius": "radius/md", "fills/0/color": "danger/danger"}, "children": [ { - "id": "0:47974", + "id": "0:47976", "name": "cdConfirmLabel", "type": "TEXT", "x": 12, diff --git a/assets/design-export/json/DPrYX.json b/assets/design-export/json/DPrYX.json index 963634d14..1d63023e9 100644 --- a/assets/design-export/json/DPrYX.json +++ b/assets/design-export/json/DPrYX.json @@ -690,17 +690,26 @@ }, "children": [ { - "id": "1:2614", "name": "Phase", - "type": "TEXT", + "type": "INSTANCE", "x": 12, - "y": 15.5, - "width": 67, - "height": 17, - "fills": [{"type": "SOLID", "color": "#F5F3F7"}], - "text": "Succeeded", - "font": ["Geist", 400, 13], - "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + "y": 14.5, + "width": 137, + "height": 19, + "component": "Chip/Soft/Warning/MD", + "componentId": "1:3907", + "fills": [{"type": "SOLID", "color": "#F7B750", "opacity": 0.15}], + "cornerRadius": 16, + "layout": { + "mode": "HORIZONTAL", + "gap": 2, + "padding": [2, 8, 2, 8], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "variables": {"cornerRadius": "radius/2xl", "fills/0/color": "warning/soft"}, + "texts": ["Awaiting snapshot ID"] } ] }, diff --git a/assets/design-export/json/pssCT.json b/assets/design-export/json/pssCT.json index 57ee140e6..50a4a494e 100644 --- a/assets/design-export/json/pssCT.json +++ b/assets/design-export/json/pssCT.json @@ -1327,7 +1327,7 @@ "type": "FRAME", "x": 0, "y": 3, - "width": 772, + "width": 720, "height": 48, "layout": { "mode": "HORIZONTAL", @@ -1358,9 +1358,9 @@ "id": "1:1273", "name": "Phase", "type": "FRAME", - "x": 772, + "x": 720, "y": 3, - "width": 120, + "width": 172, "height": 48, "layout": { "mode": "HORIZONTAL", @@ -1372,17 +1372,26 @@ }, "children": [ { - "id": "1:1274", "name": "Phase", - "type": "TEXT", + "type": "INSTANCE", "x": 12, - "y": 15.5, - "width": 67, - "height": 17, - "fills": [{"type": "SOLID", "color": "#F5F3F7"}], - "text": "Succeeded", - "font": ["Geist", 400, 13], - "variables": {"fontFamily": "typography/font-sans", "fills/0/color": "foreground/foreground"} + "y": 14.5, + "width": 137, + "height": 19, + "component": "Chip/Soft/Warning/MD", + "componentId": "1:3907", + "fills": [{"type": "SOLID", "color": "#F7B750", "opacity": 0.15}], + "cornerRadius": 16, + "layout": { + "mode": "HORIZONTAL", + "gap": 2, + "padding": [2, 8, 2, 8], + "primary": "MIN", + "counter": "CENTER", + "sizing": ["HUG", "HUG"] + }, + "variables": {"cornerRadius": "radius/2xl", "fills/0/color": "warning/soft"}, + "texts": ["Awaiting snapshot ID"] } ] }, diff --git a/assets/design-export/parts.json b/assets/design-export/parts.json index a9e6a6466..e00196175 100644 --- a/assets/design-export/parts.json +++ b/assets/design-export/parts.json @@ -21,7 +21,7 @@ "name": "Gameplane/Dialog/Add Module Source", "width": 480, "height": 885, - "hash": "9f233cda551fc2851ed8cdcb06cc7655dda18a979d4a3435367f2d36747f4ffa" + "hash": "96938c428b3f9ee8b2b11c849e11ee3aec0275dbadd495bae4d040fb05046bd8" }, { "file": "E9EEv0", @@ -29,7 +29,7 @@ "name": "Gameplane/Dialog/Restore Backup", "width": 480, "height": 389, - "hash": "11bb6f8c842344f1a13f26670ab31288fd1120df895dd7c6e0ae4c4f562715fd" + "hash": "0df49b5f3b5f725392f207e7bfc0af1747927921ea73711ace3a9c0fc1a2ab5d" }, { "file": "Kp48V", @@ -45,7 +45,7 @@ "name": "Gameplane/Dialog/Reset Password", "width": 480, "height": 215, - "hash": "d6cfb6f94c409cdcefe12e6f9899e6ff19f9e69f21e0bc667ff69c140132e080" + "hash": "33545798ed989592a84c146b6a27b93b1a88fae006e0da81ecf5f3a235bd7af8" }, { "file": "NLDDv", @@ -53,7 +53,7 @@ "name": "Gameplane/Dialog/Invite User", "width": 480, "height": 516, - "hash": "3f4182fc5d3d289a7462c22e152d805640c4b5ac4a3a75d13232f0c28b39907d" + "hash": "141842ff698bf54b3adda0927ba07877429e96b47c52c876c4496d61877fb35b" }, { "file": "R65Xyx", @@ -85,7 +85,7 @@ "name": "Gameplane/Dialog/Share Link Created", "width": 480, "height": 380, - "hash": "5bcd9949e4c21846e90460c0a3638147e0e59cf329488b67d30a460d5714aa01" + "hash": "aa9ef8aaeb745dd74194ce8a7b7e7156136ed80c5c4ac677f1be353f182eb2a2" }, { "file": "XL5ZU", @@ -101,7 +101,7 @@ "name": "Gameplane/Dialog/Create Share Link", "width": 480, "height": 302, - "hash": "8b0a88dec26581f704e6b90801445b0b293817ca037a59fce0d3030a850f6823" + "hash": "3ee758c1472e58ec5f336b020c055f5a86576ef9513da869b9cd8b04a8fa091e" }, { "file": "bHJy6", @@ -125,7 +125,7 @@ "name": "Gameplane/Dialog/Edit User", "width": 480, "height": 558, - "hash": "d37f641c6b5ed19c499d00c45a0623511c3d4101e4f74371c00daccec1483212" + "hash": "4402cdcc93ecfc6843e2a92b0b2592116edd8e5a51695a85fdd8577b2d33ea80" }, { "file": "uw0dB", diff --git a/assets/design-export/screens.json b/assets/design-export/screens.json index ea825dbba..781f2df53 100644 --- a/assets/design-export/screens.json +++ b/assets/design-export/screens.json @@ -141,7 +141,7 @@ "name": "Screen/Server Detail — Backups", "width": 1440, "height": 900, - "hash": "cffbac816ca1bc352bc72741c5ed0731fa5075d628474d5f79f211765da39495" + "hash": "0945f2a6416a7bef1b737504c5638b31a2d4b76c4064b0cae88fe2e4b6b8ab81" }, { "file": "hLB9Z", @@ -149,7 +149,7 @@ "name": "Screen/Server Detail — Settings", "width": 1440, "height": 900, - "hash": "78fc2834a0eedc96ae91eef6c83af9682eec3b7094527be2bd63f20005df894b" + "hash": "110e12e9925ed8a228c137395f1c0dd4f34b007fb512f4959aa90a4048a6ad7f" }, { "file": "swxkJ", @@ -157,7 +157,7 @@ "name": "Screen/Server Detail — Settings · Version", "width": 1440, "height": 900, - "hash": "b01a0b5d723b26fd6b3f8e4b746106159ff60b06c26caaf87635996526706bb8" + "hash": "d57d4cef425069281aeb06ec0af2fb97abfa24d35ff9f0c7fd697dc4e2730880" }, { "file": "E0ypH", @@ -165,7 +165,7 @@ "name": "Screen/Server Detail — Settings · Resources", "width": 1440, "height": 900, - "hash": "2ffe48a98d8e808a2be9bfa8e4fa3c61c68411fb9ac4145e7ab321fe423a920f" + "hash": "0e2ee82c67395d4c6af29ae8ab74c2c612aae566ade5a43be7fee0dbf97c8672" }, { "file": "J5pjJ3", @@ -173,7 +173,7 @@ "name": "Server Detail · Settings · Networking · Complete", "width": 1440, "height": 900, - "hash": "cce28e99c4dffb70018341d8264cad4af77b25156ebeb0aefb9c2f45f589bee9" + "hash": "cadb56cf18eaeec58e2776e85f807c44f67ad1474be69a1c413be7121a83c427" }, { "file": "ugDSa", @@ -181,7 +181,7 @@ "name": "Screen/Server Detail — Settings · Environment", "width": 1440, "height": 900, - "hash": "a94dd92139a98f10db1c83624253a5933e37be3279a2a2a4c9fc4ac1bbf14c51" + "hash": "8d2c86a3e4842ff3cf1b8f611267509d31fc5ceb7cc508fc01d3338f1d5901b0" }, { "file": "i1bLR", @@ -189,7 +189,7 @@ "name": "Screen/Server Detail — Settings · Lifecycle", "width": 1440, "height": 1620, - "hash": "667e0982a0224cf804645fe28db9ef0f85a6123f45f1fb23243454296df0a46d" + "hash": "786ce77fa2137acef2763f4af65ae4bf6f1b0c09a6e4052369e08b2d5c0e0659" }, { "file": "KaRFX", @@ -197,7 +197,7 @@ "name": "Screen/Server Detail — Settings · Scheduled backups", "width": 1440, "height": 900, - "hash": "5dabdfb8abb229c17375c8e9891a7f475967278092094d7618b1c56cb448bc96" + "hash": "02d1c5479c4e3c729a22c3a5baee3e5cc0b78cc6af2aa69ab72fa0073f5541da" }, { "file": "Y5cmvI", @@ -205,7 +205,7 @@ "name": "Screen/Server Detail — Settings · Placement", "width": 1440, "height": 900, - "hash": "b3649307a70aa2a125eac0f973041171d7788fcf133640501777d1a663494f0d" + "hash": "be59b4e6e854b587aca7f2ff455477a991417e41ecf0e59c0fdecfe8c2760696" }, { "file": "iSA6R", @@ -213,7 +213,7 @@ "name": "Screen/Mobile — Server Detail — Settings · Placement", "width": 375, "height": 900, - "hash": "58bf23ebaf0cbaf2828abf2d7eb68bcde7bae05788544b8a5596b95298f48805" + "hash": "d25c7e1decacfe3c363fecac7b82d358b92307f08687891785fc7afb85d0a297" }, { "file": "VfB0Y", @@ -221,7 +221,7 @@ "name": "Screen/Server Detail — Settings · RBAC & access", "width": 1440, "height": 900, - "hash": "850d28fe24024c865f96d70c4ead6bf8a5470df5bebfec78d536c143a13e1670" + "hash": "effb64fd79e1eecd0f81dfe747b65a969a966941860eb0a41a8cb5ebabf362e9" }, { "file": "i8wib", @@ -229,7 +229,7 @@ "name": "Screen/Server Detail — Settings · Danger zone", "width": 1440, "height": 900, - "hash": "d2c565d37e94f3ad6ba754df009d0ade80c000bf5d6444d94d2eb2d83445f425" + "hash": "c5c7e4b036828e4d914f6ca4a0ec270589b75406c3471afed8006fd457467469" }, { "file": "W8idqY", @@ -237,7 +237,7 @@ "name": "Screen/Create Server — Step 1 Template", "width": 1440, "height": 980, - "hash": "4abe454a56da904c13fde946483c102a9785e7d12a5689473e9707e6c3cba7aa" + "hash": "a644d6a0546faf58f4fc83d3ed06dcfc926fc650719b83790013f20a3f2cdabb" }, { "file": "nNL3E", @@ -245,7 +245,7 @@ "name": "Screen/Create Server — Step 2 Version", "width": 1440, "height": 1000, - "hash": "51881425369e87120ed9468ad15e56cd62d284877ddb53e79371eb78a98f829c" + "hash": "9cff412e8eeb9f3acc06126aeec03647ad9f500bed2b35b3208e4ea9ebb0f101" }, { "file": "vUqMl", @@ -253,7 +253,7 @@ "name": "Screen/Create Server — Step 3 Configure", "width": 1440, "height": 2120, - "hash": "ea378e110e95e9787100076f8f673789b0de5904749008aeaaf2c584d9ca0187" + "hash": "22b2c8321fd3a5fa0a76dc64cadfe022da5bad5f17d75070de490f9d7e378fcc" }, { "file": "f1Vga", @@ -261,7 +261,7 @@ "name": "Screen/Create Server — Step 4 Network", "width": 1440, "height": 1270, - "hash": "32a2064622f433724a9f5c744d9804d563e0faa6e8c2752a01b33494192c220e" + "hash": "d9d22a1f10dc441ffffd326ef22472aa22e482346ee8eb9150e975a117265dda" }, { "file": "UMJli", @@ -269,7 +269,7 @@ "name": "Screen/Create Server — Step 5 Review", "width": 1440, "height": 1000, - "hash": "b9297bf90d851334ff7e4e56d4062dc5f20fa82445756ca677a7c80411467bc2" + "hash": "9a267c35319dcdc7195da1cd4709677cceb8931404c780f419165091e51e9fda" }, { "file": "kK8Ji", @@ -277,7 +277,7 @@ "name": "Screen/Modules Catalog", "width": 1440, "height": 1320, - "hash": "0521e2955c5c1aec7ab8073dfc603fffe86faecd660b630835cdef6b2a1e2a01" + "hash": "bfd2d9b474b3545f36019d53c03b01b50a3e216b5b1197e101b1b559b2dd0fe1" }, { "file": "DPrYX", @@ -285,7 +285,7 @@ "name": "Screen/Backups — Index", "width": 1440, "height": 900, - "hash": "3e7e2cb2e867d4105ff2f1a7a86444a356a7e6164c5cebb9d03547e7f0e6c829" + "hash": "b88dd01f65baf96c51da1321f7b39dec7b20f59a9c32a2d7b019183dab900d0c" }, { "file": "9dBXM", @@ -293,7 +293,7 @@ "name": "Screen/Backups — Index (Empty)", "width": 1440, "height": 900, - "hash": "f541499917ac3d78e85ba9344cf3e80b3a8c52911559f73c8aaf8857058baa90" + "hash": "5ad444d2c3f61cfd1f7b992e7dc0f1d143ee53216ac72953e5a255ca12ec7277" }, { "file": "fK8Bi", @@ -301,7 +301,7 @@ "name": "Screen/Backups — Schedules", "width": 1440, "height": 1150, - "hash": "20257b4033f7d2f6327b337ca9f45765698e457de0c4932aea0afa4d31a50d5b" + "hash": "791c517f1047d4d749e02634bbe89dd944e6fa647d92efcfb0f72fa3a4269af2" }, { "file": "vtExV", @@ -309,7 +309,7 @@ "name": "Screen/Backups — Schedules (Empty)", "width": 1440, "height": 1150, - "hash": "22d67113d055fd9070b6876918cc69d145f9c779cb7d3994bfa3337ee6a06494" + "hash": "7afa82741a6a7041c0dbbde7c7e5140defae53e84c66e0eb5047c87e7bd17eea" }, { "file": "tTSdi", @@ -317,7 +317,7 @@ "name": "Screen/Backups — Restores", "width": 1440, "height": 900, - "hash": "f5e1412b9b94edf785887625f6d67ecbf2e9727e20b5ee0369e18ea781188251" + "hash": "93e7f1d3564cbdb9c13039d283ea9e560c62b3897333e7b3173c0c6c35b594c9" }, { "file": "nfMMj", @@ -325,7 +325,7 @@ "name": "Screen/Backups — Restores (Empty)", "width": 1440, "height": 900, - "hash": "70d2fef75665ce96caf8790cabf2ba7d7d2f0b299f3927d4975c4f80a68dd834" + "hash": "cc873ce29af3254b59c7a761cbc301821c1739d763edde9a306842b5dbf5a1e9" }, { "file": "j9W8A", @@ -333,7 +333,7 @@ "name": "Legacy/Cluster Settings — Superseded", "width": 1440, "height": 900, - "hash": "08ec8db75665685db283cd382700a04993c98d61397ddc4bbabe70728e4d2dd7" + "hash": "976b417ab574b91f455624614d48ec4bc3427dd2ea2e1076c8d1a91e6a017e63" }, { "file": "bYDHC", @@ -341,7 +341,7 @@ "name": "Screen/Users & RBAC", "width": 1440, "height": 900, - "hash": "c279d091f7db5e85889445b38aaee9c1a591ddd2355b4c8879f0cd3e42ee921a" + "hash": "90144faf8ad4770ddc64b50421ed2c13c46a0db39479091adcbeb632727d1dd0" }, { "file": "e9lV4", @@ -349,7 +349,7 @@ "name": "Screen/Users & RBAC — Roles", "width": 1440, "height": 900, - "hash": "9aca3eff1ec0ac1db49c4c364b9f51c856f01e8de1fbb009b04c6e8f1c2f005d" + "hash": "7dbab6e16ed90ea0a17a72710b418e54db8c98e56320b93ac92c16c646b7796a" }, { "file": "TBvTC", @@ -357,7 +357,7 @@ "name": "Screen/Users & RBAC — Service accounts", "width": 1440, "height": 900, - "hash": "a8dab1e3c1c810ddbb6c4881e48b818f1e8bb670c193f38053cc6fb261eaa300" + "hash": "db1a65cb8493193f97baefb71fa96db979b54a29e7413650a4c423852b68e1bb" }, { "file": "Dpb9f", @@ -365,7 +365,7 @@ "name": "Screen/Users & RBAC — Identity providers", "width": 1440, "height": 900, - "hash": "af009aa25afc157550d6ad277c0447344965f8147fb573aa9652aa4375c75db2" + "hash": "83ab186569c40b8963d5d9634c68c796e2d1b0fd97cbdfcd6937923624edfa2b" }, { "file": "DxKOh", @@ -373,7 +373,7 @@ "name": "Screen/Audit Log", "width": 1440, "height": 900, - "hash": "a7164c5f5f92a3d06a8b5624d6b75638992c520ba7c879b250fbc60f94d02b6d" + "hash": "7be3b3c79203416cbea68619a22522c3ffa1306c87b7028598beeda9d280cab8" }, { "file": "Bq2Yg", @@ -381,7 +381,7 @@ "name": "Screen/Admin — System Logs", "width": 1440, "height": 900, - "hash": "8b0b7136583d8864046380dd945b55f65c320d0501b0fd78a9c603df142618ec" + "hash": "e91868011f7dfa84619df5dcf8028b2e334f8402f0b242eb0837ec8c231a7785" }, { "file": "WZdnw", @@ -389,7 +389,7 @@ "name": "Screen/Admin Settings", "width": 1440, "height": 900, - "hash": "24547ea29de042b2fc298071b9e0e6b8445cbe43d2f2fea0bae91b9ff706b322" + "hash": "d55421248c9aad7519de535ddd33f1a5b290a60fa37ab9774a0ca51aa44ee212" }, { "file": "uMiwd", @@ -397,7 +397,7 @@ "name": "Screen/Admin Settings — Authentication", "width": 1440, "height": 1636, - "hash": "113b25178e890a2c83bded6e70d8cf639633827731eaf7cfb9b7d6a2b7fbb9a3" + "hash": "c0b5faed38c92f1ed5e7fcac58a7a3a8af5708a9fadae738c67833d4fe2140d2" }, { "file": "RC3Kf", @@ -405,7 +405,7 @@ "name": "Legacy/Admin Settings — Backup destinations — Moved", "width": 1440, "height": 900, - "hash": "1d7a4e475c170cc5f15c3798cb47176958e5419d9df7eff6712af0ded1d51af5" + "hash": "0bc487957825aea80bdce5a86e0f6d54540dd784313f2c8b5b4d605fb48daddb" }, { "file": "g5mEpx", @@ -413,7 +413,7 @@ "name": "Screen/Admin Settings — Module sources", "width": 1440, "height": 900, - "hash": "658b922e8cea05e1d19e3b411195d6b07763cb9aa2000a34feac213aa8d0865d" + "hash": "852b993f7474ba3340dd41cc292bebe5b202628fda939584ac52c54101eb26a5" }, { "file": "n6Xlo", @@ -421,7 +421,7 @@ "name": "Screen/Admin Settings — Notifications", "width": 1440, "height": 900, - "hash": "b5c4bff755cc3e4f1779e70c1b958571c19c73c0738283c41ce76ce4058555c9" + "hash": "bc4c5bfdefde8f83342eb6a41f85fc9e7c927675cc4c05038ef0cf77c03d6956" }, { "file": "uoxQW", @@ -429,7 +429,7 @@ "name": "Screen/Admin Settings — Telemetry", "width": 1440, "height": 900, - "hash": "b8d17e70fd2b2ee7377d4a6f1ee7e02360a16b5a39701365244e84e05eea207b" + "hash": "e2fad06d490cb497ee09f9c48537d072b2ab67279e3931bc99d8ba2cec828193" }, { "file": "M2sA4u", @@ -437,7 +437,7 @@ "name": "Screen/Admin Settings — Updates", "width": 1440, "height": 900, - "hash": "ccf9a92261aa870a3019126cb84e9f5c8b753e5854d97e4a4041ebe12acee0a9" + "hash": "2d799c417b8b1f65955a6a601c5e636cb28c11361334f05c6b2fc0a71425aeed" }, { "file": "zM0VF", @@ -445,7 +445,7 @@ "name": "Screen/Admin Settings — About", "width": 1440, "height": 900, - "hash": "3f5fa78e9a26c1e511bcb7e3c264480d447eff386ee8bc106aa0812f2d4a560a" + "hash": "c39055fe6bca457c6daa778f77fa54a537f9042ff15c355b86cb2fa4c2461090" }, { "file": "tooKB", @@ -453,7 +453,7 @@ "name": "Screen/Mobile — Servers", "width": 390, "height": 954, - "hash": "23f1b367e43a63942a20f71b9bd689b790e402c32006d30c4308b082a722d6f7" + "hash": "df3902bb20c78f833b7e1e31d61e2308459e8fb099663372772140388d20e919" }, { "file": "SeizD", @@ -461,7 +461,7 @@ "name": "Screen/Mobile — Nav Drawer", "width": 390, "height": 844, - "hash": "753f1772ba398734f330450f0fdf6fcb960486f3d51e8ff6f84b7bf11f34d386" + "hash": "0d711ff51f37154f4da452833063fad8157e81eb6a2b519665fb7351fb7ed2f8" }, { "file": "Wj0V4", @@ -469,7 +469,7 @@ "name": "Screen/Admin Settings — Mod registries", "width": 1440, "height": 900, - "hash": "992d7d1a764000914e05ec97e01e6db9d8b8d5c9dc03045668c09f1fd79aea7c" + "hash": "ac46fbc363672255f76ad7d4591ca0a915e58d49360fd0d13ea792cd7585a668" }, { "file": "i4L0M", @@ -477,7 +477,7 @@ "name": "Screen/Admin Settings — Mod registries (Key saved)", "width": 1440, "height": 900, - "hash": "c1a8c671e72a1ae5bcab9e00346a878de3f3cd39afee616ac36ee6f6a3e07144" + "hash": "d39b42d10fa896c7f9ae7b128c6ca1b0baac7b6e6ddd667bbab64d687f1f4683" }, { "file": "KhYNc", @@ -485,7 +485,7 @@ "name": "Screen/Server Detail — Mods (by ID)", "width": 1440, "height": 900, - "hash": "091a19f5a41ae4623b5410935b1a7cade34c204139bac43efe4caf1029738204" + "hash": "cacae7b868f2cad9839c7955ad81d20a8a76992e264b5720f9d71901b0f725c3" }, { "file": "IzuY2", @@ -493,7 +493,7 @@ "name": "Screen/Server Detail — Overview (Never sleeps)", "width": 1440, "height": 1725, - "hash": "b87a316f24f7dd6a31739e3348548c3cfd44114684a1c229daebb39f6dadb406" + "hash": "443c85b61ced18a81eeb29dc4ce94c5cf4d054105bb4086249cf113e99123755" }, { "file": "TE2jI", @@ -501,7 +501,7 @@ "name": "Screen/Server Detail — Overview (Asleep)", "width": 1440, "height": 1102, - "hash": "1b8e31f2858dfa83b45f244ec0a89ac8af1dd6ca45cf95654f88aff71bf6e6c6" + "hash": "526f6992d07c53416e69df2aa5dab0ef6d110898196ee6b48990c0410eab4acf" }, { "file": "x7MJI", @@ -517,7 +517,7 @@ "name": "Screen/Server Detail — Settings · Share links", "width": 1440, "height": 900, - "hash": "4c15994bed4f67d5a1f7c146aecec67309caa2ce22f7568a401f5127d9fbb9de" + "hash": "bb32c9b38fa2c705217c00d6c6f98f65cca30b86d0f8303d3b320663b52302d1" }, { "file": "dQV9N", @@ -525,7 +525,7 @@ "name": "Screen/Server Detail — Settings · Share links (Empty)", "width": 1440, "height": 900, - "hash": "145c8c5820883b55f6a2b89ec3353d5be0943b8e500acd221acda11d79109764" + "hash": "0d2a37d582b0d84e2ce9a813b33ae82848d9d757b836eba0bec6709ff0bd3c2f" }, { "file": "C2LQE4", @@ -533,7 +533,7 @@ "name": "Screen/Share Link — Up", "width": 1440, "height": 900, - "hash": "87eafb30530f27bcec2f83b27bb8a111dd6ad05c515c72348824f53d2f1f3818" + "hash": "9ecd4f77ef91331a79b333d36b8678791eee2fe801492f5145e56079cfdb95ba" }, { "file": "q31B6w", @@ -541,7 +541,7 @@ "name": "Screen/Share Link — Asleep (can start)", "width": 1440, "height": 900, - "hash": "6d5651b9c7cef6783c080799417c06f2cc9e5c4328ddcff1eab1b5d40fbd1e73" + "hash": "9a28b38bbeaefb951bc280c364805ca4b353eaa6748bef99f41cbce46d7080c0" }, { "file": "qFLfB", @@ -549,7 +549,7 @@ "name": "Historical/Share Link — Asleep (view only)", "width": 1440, "height": 900, - "hash": "c677b77d4a086f75dbefd11e822d495a817018fbd03db9126c9b2b26f1456bc3" + "hash": "261f61dd48f31fbe10c7afed673a44406e31f1f58d43c9f05dcb6099c3be71b5" }, { "file": "EcoGD", @@ -557,7 +557,7 @@ "name": "Screen/Share Link — Starting", "width": 1440, "height": 900, - "hash": "9e327d5fc9a89a33d08119458e06f9bdb19958fce3601f68ee9e3b708a57513e" + "hash": "45abc519381e72c1f56261aff9f9b749d556ea45277f080b950f6a7b599e3207" }, { "file": "epZO2", @@ -565,7 +565,7 @@ "name": "Screen/Share Link — Invalid or expired", "width": 1440, "height": 900, - "hash": "6230ca502c87a31a877c1aa80b70b0049d64cb2a23c677dc5ff0544e7f992613" + "hash": "45749b7fb4221fb9a7bbaf53ed8f5ac772425fc47ec89313a5d13cd4817d9d56" }, { "file": "LYPXU", @@ -573,7 +573,7 @@ "name": "Screen/Share Link — Stopped by owner", "width": 1440, "height": 900, - "hash": "0b821658cc6a4945929f17f30f7ecf093060f563dd7283482665df6f8c826721" + "hash": "0bd8bcc9de92299a2f01d965ccf5e2296c74002ee1843da82c65795a64211a83" }, { "file": "B57dG", @@ -581,7 +581,7 @@ "name": "Screen/Share Link — Start timed out", "width": 1440, "height": 900, - "hash": "ae087673bdac50b779d2c583a367ba4d5505c236e6932aaff9a5b49369b6e818" + "hash": "f9b9600a498c9d1dfb779a243a024b138314b41b9f07d45cf4872ef510b3ed68" }, { "file": "Bbnga", @@ -589,7 +589,7 @@ "name": "Screen/Server Detail — Capture (Not enabled)", "width": 1440, "height": 900, - "hash": "b55ef4e6d6cf2bd70e74ee70bb7080ef64514b46a8c053e5bf1923088a93db16" + "hash": "5f785aebaf80623acb09fd4365a1b71751da653cdcf58e41ea98fe480d302ed9" }, { "file": "dBILX", @@ -597,7 +597,7 @@ "name": "Screen/Server Detail — Capture (Empty)", "width": 1440, "height": 900, - "hash": "b8d63ca72f423dd7268b0ad696106906973802da0482625f7ec00bda096a726e" + "hash": "67ab79e0ca235ea169e2ce1dde9a2dc1fbd6adfd0bc0418b4825bc0608d8fb73" }, { "file": "xvlB6", @@ -605,7 +605,7 @@ "name": "Screen/Server Detail — Capture (Running)", "width": 1440, "height": 900, - "hash": "0ab139ce358d559c88079b16d042773f7efeb9ea40a596e48186045a3d499681" + "hash": "38d248faf8364a04e4e4e888203b30c37c75b542b07fa0bef12b0c8404c343a0" }, { "file": "m5kOm4", @@ -613,7 +613,7 @@ "name": "Screen/Server Detail — Capture (List)", "width": 1440, "height": 900, - "hash": "36fc12f6e6b1e450d1e537593f6bb7fc89547c6d3036fc678ae27bf482dc2377" + "hash": "37cbed69fa64eb60dc0c0a8c75437fd715ef5b0531d52bae4033d1595b4302ca" }, { "file": "O08uaD", @@ -621,7 +621,7 @@ "name": "Screen/Server Detail — Capture — Start capture", "width": 1440, "height": 900, - "hash": "c737d39c310dc8c0212609e014b6601445a5e2e3612345bb86ce3e23841a5288" + "hash": "4fc909e13e9243fa1ff9114a5efeccf47078952f9cd287c672c6d1c0cd7f9a46" }, { "file": "b4eaUf", @@ -629,7 +629,7 @@ "name": "Screen/Server Detail — Capture — Start capture (Invalid filter)", "width": 1440, "height": 900, - "hash": "7c867fbf27ac5623fa5cc3c2de5965c1e0b3a4ac2f2677b34debcd6f14812d40" + "hash": "cfe08145fe9b52b5f56fb28a88623e56e880c8efae56f63d6c36876eba1c0f01" }, { "file": "RodrS", @@ -637,7 +637,7 @@ "name": "Screen/Server Detail — Settings · Network capture", "width": 1440, "height": 900, - "hash": "d1eb325d7b5080f951f24bf64e6cbd8cefaf17ccd9445312347f61e34e82e741" + "hash": "19b1e27e45d868d141d3eed7bd3f988a8efb7426135751c54c04cbc027f58ece" }, { "file": "nNGDX", @@ -645,7 +645,7 @@ "name": "Screen/Admin Settings — Authentication (No OIDC mappings)", "width": 1440, "height": 1463, - "hash": "393977da6d02130a22ccb818d5e8de9ffd9b05ba045e5221f17f1a0a7d50020e" + "hash": "fa7ec4569aab2e15dd884a73d1ef6377a038feaf524f1eedcf450580c8b3397f" }, { "file": "dxdEi", @@ -653,7 +653,7 @@ "name": "Legacy/Cluster Settings — Default storage — Superseded", "width": 1440, "height": 900, - "hash": "6a649c6325dd84d9ebbffb430e86c86c1c4d4c147e4544e11ff6410998ad9212" + "hash": "69f02fc30ebb5f52fb2390454b57b0f46246ee828d0d1ba31fc990a2f80ef3e0" }, { "file": "QgW58", @@ -661,7 +661,7 @@ "name": "Screen/Admin Settings — Authentication (Save rejected)", "width": 1440, "height": 1660, - "hash": "14b82199855c4bfb3e6836ac340f3033d1f74707699a66faf5d352d5621ed7d7" + "hash": "b9c0ec2c55ce618724b437c3b5337d5842e5cffbc0a45ca3c3073908974df229" }, { "file": "zqzr4", @@ -669,7 +669,7 @@ "name": "Screen/Admin Settings — Authentication (Admin mapping warning)", "width": 1440, "height": 2488, - "hash": "1ffa037ef0b9614cd698c5707525f05910f04397e0c4006d3ab8e60726094ea5" + "hash": "53e14629bade8c4e2fe0d190808fb9ec85d302890f62a8da6552e2133675492b" }, { "file": "o4LH8W", @@ -677,7 +677,7 @@ "name": "Screen/Server Detail — Overview (PVC Provisioning Failed)", "width": 1440, "height": 1320, - "hash": "e1108e3dee1e6be99b074a2c546b4ad0cb5f00a93b735b418ca8932cbe11919d" + "hash": "c81e4754eb01e694aa70f81b5d8695a0517245825db5507b2ccf8fb65ae522e6" }, { "file": "zFiOW", @@ -685,7 +685,7 @@ "name": "Screen/Servers (Light)", "width": 1440, "height": 1010, - "hash": "588c0fa790bc30a6e624f00ee363dcbc13830b2aa755b9474d714a8da0ad78cc" + "hash": "a4abb76612cdceea9884d69110e0f032bf739d5f7d27e2715b8ff152c3d0c302" }, { "file": "F9pUrx", @@ -693,7 +693,7 @@ "name": "Screen/Servers", "width": 1440, "height": 900, - "hash": "144a4cab27b71ae0a5bbdc5c6e1f6838cb6d6dbc129a546d8c2950ee6cd146c6" + "hash": "9695ac8d59d8b5cba6501343be679f63f5762fd2e97aad342bee89d0a443b7a6" }, { "file": "Hy9r0", @@ -701,7 +701,7 @@ "name": "Screen/Server Detail — Overview (Idle armed)", "width": 1440, "height": 1622, - "hash": "de510484d245d789423ca8a60b0f5d3851d3e8b10e49a3823c6e64713c3fa42d" + "hash": "7defbfdd84d8fa5b494b0f3a49bcb38d2cd97e819bf0ac7a71a15f474f185b6a" }, { "file": "sSISK", @@ -709,7 +709,7 @@ "name": "Screen/Server Detail — Overview (Light)", "width": 1440, "height": 1300, - "hash": "6ca24ae4eb1ad503b44ea8fe2b26161e0d6c987983bc27451f9ee03a74b83331" + "hash": "5cb86562e20866baa9c91bd732dfd4be76e4b117bb81986acc4fbea4023a459a" }, { "file": "gX7um", @@ -717,7 +717,7 @@ "name": "Screen/Login (Light)", "width": 1440, "height": 900, - "hash": "da807a4b9161a5b3de3d565e1652545965ab21642ee40dfa830a54a4a1ea1498" + "hash": "84ba58cbef8e72015208f1d901ce1a57f690a54774f3a95b4ae993f9658c20a1" }, { "file": "oyoTs", @@ -725,7 +725,7 @@ "name": "Screen/Dashboard Home (Light)", "width": 1440, "height": 1150, - "hash": "16599da165c724319859e4c30f5459a67b5c2b468a02079461d554cb2bc5b074" + "hash": "fdccb54dc423d88b3d182e9cea1effe8173081e91d037cf4eea2cbf8583f5434" }, { "file": "DWztv", @@ -733,7 +733,7 @@ "name": "Screen/Mobile — Servers (Light)", "width": 390, "height": 844, - "hash": "d8a64607e50d461ac58ccec7a3a10c0a5b2898b8d21ba871a8f2ebcb53915051" + "hash": "91fcdd397f5fa9041ab2c5d2e958bc7a8a3cc172a924a8d2ba95c0e703341116" }, { "file": "IdbiB", @@ -741,7 +741,7 @@ "name": "Screen/Dialog/Build Module — Step 1 (Preset & Metadata)", "width": 800, "height": 977, - "hash": "492f210f68ca7080352410a3ad7c1a0a4d3e1240270d07b445bb53cce3b022c8" + "hash": "f4b293736037349ec7b0d6556874542f317434f0d84a0b10e022d8e9ebd1a1ae" }, { "file": "O5kaV", @@ -749,7 +749,7 @@ "name": "Screen/Dialog/Build Module — Step 2 (Container & Ports)", "width": 800, "height": 546, - "hash": "1538e77951a0e70a7d065f89814491ba21677a040e9a57db724c691f6cd502ff" + "hash": "3a1a80047613d9bb2b73fba80913cfe385fe1ce157899788d07a1b39287a9411" }, { "file": "hmPL7", @@ -757,7 +757,7 @@ "name": "Screen/Dialog/Build Module — Step 3 (Review & Export)", "width": 840, "height": 593, - "hash": "2c848083f403745b173ae030f32be153fe2de83f270c5a8f26a75db69fea92a0" + "hash": "2d5a70287f0c8308ec9c39544b08ec2a8da6e7be1155a5e97d3a5ee19cc96d56" }, { "file": "uCA23", @@ -765,7 +765,7 @@ "name": "Screen/Server Detail — Settings · General", "width": 1440, "height": 900, - "hash": "7d0fc9a46a90632f34db93972b0fc38e00dacaef027a685c9645c61499b5e8a1" + "hash": "b71775b359368b5609028ee57d59f9d78ed1effab3068eb15120eab37fc86ffd" }, { "file": "VctzT", @@ -773,7 +773,7 @@ "name": "Screen/Server Detail — Settings · Version", "width": 1440, "height": 900, - "hash": "cb0e4a170e21756b6fcd5d782dd272e2473d44457ef839f7b55f0443a85afaaf" + "hash": "7a16d3f97da0fcf0e07453ad8f0318f90118ae53853563a24cdf8f71f77dec81" }, { "file": "iLm38", @@ -781,7 +781,7 @@ "name": "Screen/Server Detail — Settings · Environment", "width": 1440, "height": 900, - "hash": "7f4e04e021b13ece0dbd4898fd9886cfb89c15e09d4829b5252129cfa31ec66c" + "hash": "1e0b63aa3b240651fa317a9f379b868c3729aa735bdae584483bcc8fc7be0e5d" }, { "file": "QpEvu", @@ -789,7 +789,7 @@ "name": "Screen/Server Detail — Settings · Access", "width": 1440, "height": 900, - "hash": "c5572708d1b9e00d149950e081a521b463f979e8e3b9fb2a651b2a8a0a7ec60d" + "hash": "1193346f14123a415b97684c3085153f0cf1f78555d8992b06abd4e4ee6577af" }, { "file": "XR0f9", @@ -797,7 +797,7 @@ "name": "Screen/Server Detail — Settings · Danger zone", "width": 1440, "height": 900, - "hash": "64f587d0dc3b727acf90b3d9ad10b8144c9877185e0a533f5e97b1befcb80e31" + "hash": "6ef87612cacef650e5133279bb11c19ef225b3713132ae54325343f8eced7a84" }, { "file": "QQtUD", @@ -805,7 +805,7 @@ "name": "Screen/Create Server — Step 4 Network (as built)", "width": 1440, "height": 1270, - "hash": "a23592a8f585f9403e012ed4879253cf2b3c34fdaa9987b4bd14207f4176efb8" + "hash": "f4f50307cdfc8f8086f101c0a0b20f8519d5458ef7cdec2586bcd93fa57626ca" }, { "file": "IyMFM", @@ -813,7 +813,7 @@ "name": "J5pjJ3 states/Tunnel enabled", "width": 500, "height": 476, - "hash": "0bd6590d7be9998d27f61fc23d39243739280b6db733d794be018ffc6e2cb482" + "hash": "9d6c34131ed521be1a9e90495515058c5458a1805f9b1bad60942130ea5e63b9" }, { "file": "jXykV", @@ -821,7 +821,7 @@ "name": "J5pjJ3 states/Alerts", "width": 700, "height": 246, - "hash": "de9d53cb5c24ff549e22cbf9757e4761e95d7fd85c5f10dd9f6a13ee28749896" + "hash": "9ca6a8fcc795ea13d9fffa6f42e2e0cfb48cce7f8a8c398aec275d232d6b1571" }, { "file": "tr6cE", @@ -829,7 +829,7 @@ "name": "Screen/Share links — Create link (No expiry)", "width": 480, "height": 322, - "hash": "c6bdd5da2421068b3057cc08a4b4595933dd839d0b06c7ebb4c20f32b9c0d9e6" + "hash": "c8160d8cf6dc53c166c794811b1db3e39051058cc7481a1869389047d5d4b428" }, { "file": "oPF1n", @@ -837,7 +837,7 @@ "name": "Screen/Share links — Create link (Custom date)", "width": 480, "height": 382, - "hash": "6fd0d9f21c1e9777f355f7b8c9a57f5ba24a85788cadb1489f60e18eb66012dd" + "hash": "7ef94c034694b8ee81af93de34964c8773c0ba684ab97578a8f570a5a6e3716f" }, { "file": "X405l", @@ -845,7 +845,7 @@ "name": "Screen/Server Detail — Console (not running – Stopped/Suspended)", "width": 1440, "height": 900, - "hash": "57a0cfc9122ec7ba4249fb778d6dd0f78d4d5d3732cab747acc14897e2bc8b8a" + "hash": "81c6216405f0433aca8a982451e0b2871d2d7754b1de86cca5d98b1fc93366f2" }, { "file": "j88bl0", @@ -853,7 +853,7 @@ "name": "Screen/Server Detail — Console (not running – Pod failure)", "width": 1440, "height": 900, - "hash": "2e83297d092cc8d8e08e34ea6f58a7ab3c0e7892201ab13df56f1d39a9ea4f64" + "hash": "60d6d3b5695826bfdf0902ffc3f4ec167ba5ae7c2c40423414b11cd445709c87" }, { "file": "lWvcv", @@ -861,7 +861,7 @@ "name": "Screen/Theme Settings", "width": 1440, "height": 2344, - "hash": "2971d0523eb1fc0c3cdde88c83f10f82a1d627fdcf13bc23b963a24fc1e982f0" + "hash": "0dcd0c9a1ed3a563c2d12209f1a455d6f18071bccb2bc9def590e0e90eda1e3e" }, { "file": "T1wkiT", @@ -869,7 +869,7 @@ "name": "Screen/Theme Settings — Warnings", "width": 1440, "height": 2490, - "hash": "38343df17bc429e8c92665c052b70984fcf4ad0a2eebcd33386bca2b1f5c12d1" + "hash": "14f6bdf27232c624c0d08ee7ea09be662a3b2c3123f7ebb388bdc9434bcdade0" }, { "file": "lhKzN", @@ -877,7 +877,7 @@ "name": "Create Server — Step 4 Network · Tunnel disabled", "width": 1440, "height": 1170, - "hash": "24513b8dd932d78d52d4a5a37248d3d8405ca166e07ad1f3ca6ce0e0ca30ca6c" + "hash": "30a190598aaf4f938b2b1f3d2da4f3162f07b56819c0b5e4ba9be5aff2ff49ae" }, { "file": "a7o9C", @@ -885,7 +885,7 @@ "name": "Create Server — Step 4 Network · Tunnel enabled, no provider", "width": 1440, "height": 1170, - "hash": "93ed804edb7669a5d91e63dd5bebd327fe397f11d875115318ced2a8c7e63781" + "hash": "11bdc9ca2f067e7657564a6ffa726cbcf2a83072980538fbc1833589c1a797db" }, { "file": "ZU1BG", @@ -893,7 +893,7 @@ "name": "Create Server — Step 4 Network · Tunnel enabled, provider selected", "width": 1440, "height": 1170, - "hash": "3b09464967ea5a5965a7299ddd4cfe65412c4b4a4b53a6b5bf917a4793339c07" + "hash": "38f85b582ed77f0c6680131a28799bd8fe8792f101264f1cad0e72b98743c9d8" }, { "file": "eGbsg", @@ -901,7 +901,7 @@ "name": "Create Server — Step 4 Network · Tunnel enabled, complete", "width": 1440, "height": 1170, - "hash": "62d49c38e3891a7138074aa8cc180413abeef6d6a031332ff751e32152a95f8d" + "hash": "e5e484c4cbe17165e6aab96156644634c4a2b2650858e115637099dfdc83a105" }, { "file": "nGJE1", @@ -909,7 +909,7 @@ "name": "Server Detail · Settings · Networking · Tunnel disabled", "width": 1440, "height": 900, - "hash": "f296a64716d0b10da1f232bb005123990ea1cbcbdcdf3e9ed906ba07742d6fa5" + "hash": "ca53aae8942a9a8768f9f64fb401795945f0c4a14f8935e9d593ecac5f0db1c6" }, { "file": "dhPtX", @@ -917,7 +917,7 @@ "name": "Server Detail · Settings · Networking · Tunnel initial enable", "width": 1440, "height": 900, - "hash": "e73ccff463e6fdb28c73fa856e1216ff3c4ca8c8030fb3a03b84bbf990c45244" + "hash": "db8af6673618c6387b4e88b9d076ca745b443fa2294550e5416b1e6486d1d3fe" }, { "file": "tSOeI", @@ -925,7 +925,7 @@ "name": "Server Detail · Settings · Networking · Provider selected", "width": 1440, "height": 900, - "hash": "dbf0fcb6f9e156638e65c87faa965ef769455cd96817a8644aaaa366b4d538ea" + "hash": "1edecddae8bf160725a7f7bb4da8963e2ed32309890d7280d88bce2ff1a693b6" }, { "file": "y3YcQ", @@ -933,7 +933,7 @@ "name": "Server Detail · Settings · Networking · Credentials entering", "width": 1440, "height": 900, - "hash": "176a9ff1476b07e072d6a31b01493e10c0f07239880ef22b7f8639dbffacf2fb" + "hash": "baf104d462c5f33314cb59c9dab8f3cb61464582153c2630f464d9e691e0eb4b" }, { "file": "EKJyM", @@ -941,7 +941,7 @@ "name": "Server Detail · Settings · Networking · Provider + credentials complete", "width": 1440, "height": 900, - "hash": "47a2720e101e38a7e5a6edaa53c6ebcc62d00260c1e3fcfe5d1635aa88b4eff2" + "hash": "528147c6ada57a3616876ff11c14f09b59f5a017581a31a2b686bf909039ec4f" }, { "file": "akr4I", @@ -949,7 +949,7 @@ "name": "Screen/Server Detail — Capture (No access)", "width": 1440, "height": 900, - "hash": "acacea3c5d024d426df608d70abc4a69923762e2e6ca74581d30cf3b55aa57dd" + "hash": "5179e9e15ffd73cf487f8de0a0a72e3dcfc80aa609ff6011cfde4c7e1a978ed2" }, { "file": "hlwx3", @@ -957,7 +957,7 @@ "name": "State/Server Actions Menu — Owner-only disabled", "width": 520, "height": 220, - "hash": "1c295f2cdf945cd9fd68921868a583057888e1809fa30c9c40782af9b8c91134" + "hash": "9591ee99fc6b25dacd8fa172491a4f52d241bf05758c5ef1f400104a1e42e6de" }, { "file": "IMSD5", @@ -965,7 +965,7 @@ "name": "Screen/Server Detail — Settings · Danger zone (Owner-only)", "width": 1440, "height": 900, - "hash": "d0205b20a1f64861bfe98d7d923448c36166e0bd6f2a50c73d93fef645e94bb5" + "hash": "85daa46358bed801738f4d92ff3e3d9374fc43e6ab35d7bdbc044b8beb34de21" }, { "file": "gWqMD", @@ -973,7 +973,7 @@ "name": "Screen/Server Detail — Settings · Access (Read-only)", "width": 1440, "height": 900, - "hash": "f08163d50957cea1720ddfe3e5892560baa0d810157916e857dd30986025904f" + "hash": "2181690977a398b38f16b3a86655dc01716de5f64635f6367603ccdb17ae1b78" }, { "file": "UCNBm", @@ -981,7 +981,7 @@ "name": "Screen/Servers — Cluster filters open", "width": 1440, "height": 900, - "hash": "82dc3eaf17757dbbb3466dd9f1cadf73f91246df982dd8bba704046b6abd4df0" + "hash": "205efc7c401243d7bd1979ee17877ef88803294929833c62d42b58ce79826f74" }, { "file": "pnAbF", @@ -989,7 +989,7 @@ "name": "Screen/Backups — Filters open", "width": 1440, "height": 900, - "hash": "24b9b902bb294935b2d01d3f7771aa11ec5f23dc411a823d7628b42f9364d6ac" + "hash": "bab60fd517ee6c26d8057b3e7ac9a676de1ff65db5d5fbe6f02cb2371896ee28" }, { "file": "Cb3eC", @@ -997,7 +997,7 @@ "name": "Screen/Backups — Schedules filters open", "width": 1440, "height": 1150, - "hash": "a850ce1ced9d89af180f324530153cace9c1cc3a344da60275e59fccf2aa1dcd" + "hash": "abcbba788b98a328e3b9afb3a1b7bb017496a6d6aa34da85749cfb787b5eb560" }, { "file": "fbBqA", @@ -1005,7 +1005,7 @@ "name": "Screen/Backups — Restores filters open", "width": 1440, "height": 900, - "hash": "5f73ffe09304c8275b0fe332696b4e44950965e5f67745d346124b3db95664d8" + "hash": "4142f053679d669aa61740f3f80e378bf56a626bb9730f18a40e4023f80cefb2" }, { "file": "YPKbV", @@ -1013,7 +1013,7 @@ "name": "Screen/Dashboard — Partial cluster coverage", "width": 1440, "height": 1220, - "hash": "5584e2f1304e7dd33d360cf5a61693dbe205c868be10fb281a3ef9d6c6f45210" + "hash": "6e7a2efd9c49b4638929fdde8fb7b6eba6c1baabb70fb6e178b4f7001183b8ed" }, { "file": "w1QYmf", @@ -1029,7 +1029,7 @@ "name": "Screen/Mobile — Remote server Capture", "width": 375, "height": 900, - "hash": "596ff0a1b9a01a3e9efd6b9426a1bc51eb4c1aecebd7a06cf33ca05ffbaa22dd" + "hash": "cf24ba40f99d04c585972720362b7cf8ae8dec2f178204ee7d661eb5f89efbc5" }, { "file": "C5Aoe", @@ -1037,7 +1037,7 @@ "name": "Screen/Mobile — Servers filters open", "width": 375, "height": 954, - "hash": "b537702de35d6518fab89731f5581ccac1ab428dd82704d3b26659dd1bb8cb51" + "hash": "a5f0c4d15ff36cca386008110c4a7216792849811ec4b8799881b09e11ef7579" }, { "file": "NKiqf", @@ -1045,7 +1045,7 @@ "name": "Screen/Mobile — Backups filters open", "width": 375, "height": 844, - "hash": "4ed0dd430d8dd22bdb30c5cd3981d8102dbe33103e113554b9b62e00d27dc114" + "hash": "b3ec8ab903ced08a8df5d4d36b1e93f250b7f9ef6960ded0ecb5685f8ea06ddb" }, { "file": "iYUWc", @@ -1053,7 +1053,7 @@ "name": "Screen/Clusters — Registered clusters", "width": 1440, "height": 900, - "hash": "ace1a254144ab38626053507a70117c4161ce9837bb003c12ec102b04f9e653f" + "hash": "7a20cdae28e9c5c4b846869d11d080b84a136727a9a8faf4573f71f9d76a2138" }, { "file": "oMuyw", @@ -1061,7 +1061,7 @@ "name": "Gameplane/Dialog/New File (Invalid name)", "width": 440, "height": 310, - "hash": "be61488ecd132ce08319321713f4985e16370eb867d54c0fe13e620ea5f82d09" + "hash": "15015cd627ddec0f1c2b9f748d7a15d9990298f2bb4fcd7be5f9a8a80e5a24c4" }, { "file": "OC804", @@ -1069,7 +1069,7 @@ "name": "Screen/Server Detail — Settings · Game configuration", "width": 1440, "height": 900, - "hash": "13ffdae8a67b0b6b2dba47d729ea739167af5ea2c13854ddc303172c015078ae" + "hash": "ac812bfeaba42603cc9b414bc8ad2e6fc54cfe66087215c0937157bac23d2b37" }, { "file": "QFEg9", @@ -1077,7 +1077,7 @@ "name": "Screen/Server Detail — Settings · Game configuration (Invalid value)", "width": 1440, "height": 900, - "hash": "c3b79ed86be1d398d4156a7c75f8c55f3542ccea5f831a3af90b8fbbb1c6d661" + "hash": "f4ac5b9cb244f67e62a8775f7f87f5db968103ce7f818f485ab139c423ed9013" }, { "file": "wxINm", @@ -1085,7 +1085,7 @@ "name": "Screen/Server Detail — Settings · Game configuration (Read-only)", "width": 1440, "height": 900, - "hash": "8ad577a0a35f65b7105a71a11f0726824e5f3cba3981969c8c2a33b182042224" + "hash": "925f874cac08d8056428f63ff8c41dcb82eb8cb4e00be4851faf32419cbaff6c" }, { "file": "e9FnC", @@ -1093,7 +1093,7 @@ "name": "Screen/Server Detail — Settings · Game configuration (Orphaned key)", "width": 1440, "height": 960, - "hash": "c4c0c47ad6877161df41a5b3132e0d415d8e3d9a4ede6c555b70754e5733dba0" + "hash": "3a99c913531a3aa2badd2fbfdcee974afb4f23d7c0765aeebf3ae7e26cb4d5ac" }, { "file": "Ne5TA", @@ -1101,7 +1101,7 @@ "name": "Screen/Not Found", "width": 1440, "height": 900, - "hash": "5403a43248dc1c482ea370c5730eeec9934b11a75abe832b7069282388bd0ff1" + "hash": "572d2cd4c20141e4483a08a412212ff35563e6c38c7bcc5219caa7db9ccda239" }, { "file": "FBiMN", @@ -1109,7 +1109,7 @@ "name": "Screen/Share Link — Asleep (Start cooldown)", "width": 1440, "height": 900, - "hash": "54ad694b161bf7dcc4172f2ee3163dafe21f0a8d9104b85e551a461d46f87256" + "hash": "b4b45e5e7094802537874ba37abd0aa979221707fbfd0e32d3545cc950b658f0" }, { "file": "zj5a3", @@ -1117,7 +1117,7 @@ "name": "Screen/Dashboard Home — Telemetry notice (default)", "width": 1440, "height": 1380, - "hash": "6cab227a27f39d0a8785f2ba2e9b7ac1823c77874dd052e0baea85ca951a6e29" + "hash": "444501ac8850184c00de91f4482e8cb98ebca5c43818d788e93c3844b895c8ee" }, { "file": "l7TRz9", @@ -1125,7 +1125,7 @@ "name": "Screen/Admin Settings — Telemetry (default)", "width": 1440, "height": 1031, - "hash": "f13d4ebcbbb145ba2d087e5becf2d35d6503799b848e4f2faa69414ebcfb6856" + "hash": "64efee0a52e315d06f6718b592cb98293be266f4caf1499d1f52e81b3211ea4c" }, { "file": "GR1G9", @@ -1133,7 +1133,7 @@ "name": "Screen/Dashboard Home — Telemetry notice (bundled)", "width": 1440, "height": 1380, - "hash": "2f3d01db0013abb54f35ba11aef4423d0673f06cba53fb5164e5a417922479a6" + "hash": "ce93cbf32124ccd7acbc2a922bce7db3ae62f0b89a0e3d81f8dd1d43506c3cc0" }, { "file": "r0heh", @@ -1141,7 +1141,7 @@ "name": "Screen/Admin Settings — Telemetry (custom)", "width": 1440, "height": 1032, - "hash": "8af1a82bf7842919ddc592cad9757e0f78956877c24cca21e0985972bb7f91fe" + "hash": "2d74d4a4fb4bd6670c37b8e538f12e145b4d33c9abd3b12fb745462d7f395c40" }, { "file": "cDiNb", @@ -1149,7 +1149,7 @@ "name": "Screen/Admin Settings — Telemetry (bundled)", "width": 1440, "height": 777, - "hash": "6bb5ef58a219ff5f9b4a9fa759d5af31f433862e5991a1b61279fc491ba50bf4" + "hash": "01c8947ddf2767cfe7bd59108541aebb20953103b532593a0217ec0244979a98" }, { "file": "DBQyF", @@ -1157,7 +1157,7 @@ "name": "Screen/Admin Settings — Telemetry (disabled)", "width": 1440, "height": 641, - "hash": "f68f346605e0b373d6621b472a15c510802f2cc160ee190ca7bedfbe9433bfa5" + "hash": "fff69a5235cc1462b4a839fa42d5a85ede692c58ed5bf335ab764d5ef5ac18d8" }, { "file": "K5XinZ", @@ -1165,7 +1165,7 @@ "name": "Screen/Admin Settings — Telemetry (none)", "width": 1440, "height": 605, - "hash": "396572613521cc7f18a51aa4466492478ef5132703f515674cf27e9e87a5bcec" + "hash": "e8c3d891e19c303f1af39b29e4839039c3d22f2bb4cb09e55daa670f84c9483d" }, { "file": "yrxK2", @@ -1173,7 +1173,7 @@ "name": "Screen/Admin Settings — Telemetry (Reset ID confirm)", "width": 1440, "height": 1031, - "hash": "1ed1141bdd4ccf70aa6fd697750876bca47a829da5ae94f85d40003ff5278f94" + "hash": "12f67513348c00991da79dc9360280f50c491e6575a9edd89ce2794c4d63bdf2" }, { "file": "n2qdi", @@ -1181,7 +1181,7 @@ "name": "Screen/Standalone — Clusters (Empty)", "width": 1440, "height": 900, - "hash": "4139d7fbee5551c3dbf9c26f1e80380e44440c2becd4233efb5316b2c35d95fa" + "hash": "b23f8be1d33c7dae0b0b153c89b5ecb7d28dc4b481808b9c841aa45cbd388a59" }, { "file": "WrmU5", @@ -1189,7 +1189,7 @@ "name": "Screen/Standalone — Clusters (Registered)", "width": 1440, "height": 900, - "hash": "f5abd82751ba7bf6ca7b853a41ea7e31b34916b894afdc5976c8653c84efbd6e" + "hash": "95aa980ccda295eff11a42eb2911997a801eeaf4516b641cc048580030e3f61e" }, { "file": "Be7ZW", @@ -1197,7 +1197,7 @@ "name": "Legacy/Standalone — Cluster inventory selection — Superseded", "width": 1440, "height": 900, - "hash": "910ea37987deac3cbae6b306ae4f831766cebfa85438a11fb16b79593e86fe82" + "hash": "5c3cf106a452e53b6f0e8b75b6e287fa6ad9924b59aadfff0005f9146219cba1" }, { "file": "Z0oyh", @@ -1205,7 +1205,7 @@ "name": "Screen/Standalone — Modules (No selection)", "width": 1440, "height": 900, - "hash": "5ba4fea741c614f5fee8d057391b797998ddad82b1f0ecf2ffee8de6f3a83c8b" + "hash": "495ff43e0ff30f3614a4a8c98d92a2882e96d452dc90b7be7ef3ee9b55269c38" }, { "file": "ZlLf0", @@ -1213,7 +1213,7 @@ "name": "Screen/Standalone — Modules (Permission denied)", "width": 1440, "height": 900, - "hash": "981c1d07e2c54b258ab93c01e37f6fd79c137e35a9e9e5d1eab9cc10e97b79d4" + "hash": "a6a7aad2c61f7ade54cba4ee1441608cf08f6d346b5fe54084f9b3517aa30355" }, { "file": "RpHBg", @@ -1221,7 +1221,7 @@ "name": "Screen/Standalone — Register cluster", "width": 1440, "height": 900, - "hash": "f163cd5f91fe5e6e01ada27a8cdded48d1f51d2bc2cc9e6f4e3cf2ef316852a6" + "hash": "c945de298a8350c919a6e1b8eb61fc67a3808492d965a934a45969a95458bf1a" }, { "file": "HVhmb", @@ -1229,7 +1229,7 @@ "name": "Legacy/Clusters list — Remove registration — Moved", "width": 1440, "height": 900, - "hash": "a448838b418bec8d32fa838517e43403b738d44cf057576a51fefadbf16099b1" + "hash": "220b3899b836d41e4c0e70c60304f25a4632b0478c48c772eb7ef79948bd8cbe" }, { "file": "RS0KZ", @@ -1237,7 +1237,7 @@ "name": "State/Standalone — Cluster selection and request states", "width": 1440, "height": 732, - "hash": "c73ef58e6bb194f25bf29caa8f2b8a209795951856f5960d9b13334207baa2c5" + "hash": "2d93eec43d07bcc0a802f5b0d1aad4565e10327324ec567adb397cc52f82bd86" }, { "file": "D9QYZ", @@ -1245,7 +1245,7 @@ "name": "Legacy/Standalone — Backup destinations — Moved", "width": 1440, "height": 900, - "hash": "da7ae67f78e6acdffa92520077b26e2cb6e272dd1cc11cd4626e4236c0ecd3cd" + "hash": "85927554a35d9f44fb593063e881069744d270028ec826ffd4ff7581d3143654" }, { "file": "l64bd", @@ -1253,7 +1253,7 @@ "name": "Screen/Standalone — Settings · Module sources", "width": 1440, "height": 900, - "hash": "8446a61e2541eff043345647cd9ab8a8976029cc6927ed8a9cc6a54599dc82fc" + "hash": "74c97fb46edd495522bab18574b100769a0d453cf9ad14e10e4d30d5d078f3d2" }, { "file": "Uzzje", @@ -1261,7 +1261,7 @@ "name": "Screen/Standalone — Settings · Updates", "width": 1440, "height": 900, - "hash": "ae0ddca4103ae0510b0e5fbcbed98871abdc7dbcf773f593a498c63438529ddd" + "hash": "6790b7c99973f83228df5f0dc5d986710998a931a795d9c223624ce181140a34" }, { "file": "FOVMf", @@ -1269,7 +1269,7 @@ "name": "Screen/Standalone — Settings · About", "width": 1440, "height": 900, - "hash": "747cab9b17b40265e1b957f1eb20b26dd0990ef115ee94cfd0ecd936168d92eb" + "hash": "a73c8f0c37d539fe986cb798ae889c636f0ebea685db46637f7760c3aeadac52" }, { "file": "r139UP", @@ -1277,7 +1277,7 @@ "name": "Screen/Standalone — System logs", "width": 1440, "height": 900, - "hash": "2aec87ef23dfb92966d2ad58ee65a19c746ea91fbf350281076ba7eb96aa0121" + "hash": "d447f761271f2cba30a9c487092c7446b7760338deb758b41db73eaed3f1cb9f" }, { "file": "EWrn0", @@ -1285,7 +1285,7 @@ "name": "Screen/Standalone — Modules (East selected)", "width": 1440, "height": 1900, - "hash": "38a9837561911710a1cf5a4b070446c52a8498075abcb5a790fdd8c71ffdca14" + "hash": "948bc2f8fd1af5a2a6818753de4ce81a7579d06cd1eb8a8dee0d02c5d9b1b076" }, { "file": "p8QSPq", @@ -1293,7 +1293,7 @@ "name": "Screen/Standalone — Modules (Manage sources)", "width": 1440, "height": 2050, - "hash": "235ab37e8c8713e282d204413c616feee68794d74fb54fb603c724c75933532b" + "hash": "3c7bc12c2841c08250ff3f528925ba632fa86d9a6b25530159efd5858b83a4a8" }, { "file": "aMU7O", @@ -1301,7 +1301,7 @@ "name": "Gameplane/Dialog/Edit user — Standalone (No target)", "width": 480, "height": 643, - "hash": "ceee43cdcbaa62832346e0dac29e651ceadb066545c330c604d97b4d8f0f73cf" + "hash": "f7641057b245a48dc838529b362bfab39c88f97b9853eb232c66c52459f4d57a" }, { "file": "C9bR6", @@ -1309,7 +1309,7 @@ "name": "Gameplane/Dialog/Edit user — Standalone (Remote grant)", "width": 480, "height": 643, - "hash": "c036a3abdced3d4375141fc23cb4093703673e2f204c964dd3cd950ad04195a5" + "hash": "bd998c05f6160fbd7eeaf63be37614426aebd9dac57d79715deda23c2084072e" }, { "file": "w34N9", @@ -1317,7 +1317,7 @@ "name": "Screen/Standalone — Dashboard (No workload clusters)", "width": 1440, "height": 1150, - "hash": "4277b9c06964929a0e9ab9852c4ca47ed4f22bb7a9b16b5ec3e76404a7b0c6ed" + "hash": "d1cd5aea6e54d5f5ec240550a9dae17c8d71b64da5a8d90f3999320b32e7f5d3" }, { "file": "U9xSg", @@ -1325,7 +1325,7 @@ "name": "Screen/Server Detail — Players (Nuclear Option)", "width": 1440, "height": 900, - "hash": "66a47d8dbf95c57610e31f35643a09792fda5406a295785f4ce603d2da4e1e8c" + "hash": "d9d5da9f9fb16d01d38245e008a82c0688782c48573d7c6a94427d011c973ec6" }, { "file": "BguST", @@ -1333,7 +1333,7 @@ "name": "Screen/Server Detail — Settings · Game configuration (Password will be removed)", "width": 1440, "height": 900, - "hash": "ef0296b0d77bb3c09e29ecd15f3c7d2567cd8dfbea003516d7d6f64d29271acd" + "hash": "bc3dab2d4a2cf8c3d21bd23ec70484b062d48b1833b982d1f6bfde0af67c1961" }, { "file": "YN8cE", @@ -1341,7 +1341,7 @@ "name": "Screen/Server Detail — Settings · Game configuration (New password typed)", "width": 1440, "height": 900, - "hash": "67ddd5beb08a3387f1c950237649a957dfe7220f673ba8a6d32441ba84e744b4" + "hash": "1790c4de0e36049d96c2ddb5d3c611a43adae3e8712830a3c1d7e9e0bc8897b7" }, { "file": "GsofJ", @@ -1349,7 +1349,7 @@ "name": "Screen/Login — Language menu open", "width": 1440, "height": 900, - "hash": "205c86ef6d213fdaa91d6537961d38f09085f63005c94af8b8e5e749377ed63b" + "hash": "6fa61642ec41482b3d04554f5efcdf8a1bff14896d6491f5641317cfebc3e6ba" }, { "file": "lCTci", @@ -1357,7 +1357,7 @@ "name": "Screen/Mobile — Theme Settings · Language", "width": 390, "height": 972, - "hash": "c7b418e9bf405f353a0d8c3d5f6ac07c4a604a4c30b744a1a323f0c3a1420e5c" + "hash": "395b01efc5a24ef48b8b96397439cca45e6e25ca47751fbfe95dbb62a8dcbcd0" }, { "file": "SUcad", @@ -1365,7 +1365,7 @@ "name": "Screen/Admin Settings — Notifications (Add sink)", "width": 1440, "height": 965, - "hash": "60d08296a1344ef5c452b45b9570b812aae13197f2d6e30bd00a712f02719c11" + "hash": "4deb4eb947d92ea228b62e2a7621622150210b2cafc04022d953300e5dc41eae" }, { "file": "NqaaU", @@ -1373,7 +1373,7 @@ "name": "Screen/Server Detail — Settings · Resources (Reserve less on)", "width": 1440, "height": 1000, - "hash": "6e13024eff0892ad63002fc86c787d44a2f4f479ec7f9e08a6a5ae66411ba741" + "hash": "e9b988bc569b3f92c8c1cf05e0fa7b989b97f2536b311215bb8ae11fbd5b8c3d" }, { "file": "NLu2I", @@ -1381,7 +1381,7 @@ "name": "Screen/Create Server — Step 3 Configure (Reserve less on)", "width": 1440, "height": 2214, - "hash": "2a368c72ad9ea1064126e802b9388db98d99ae1f458fd5de6d0e9d5160d3d80c" + "hash": "ad0caf40931062c1151c755a15bdad6c64a1bdd82b584fbc002c4d426d8cae30" }, { "file": "A8vGwM", @@ -1389,7 +1389,7 @@ "name": "Screen/Server Detail — Settings · Lifecycle (Wake on connect unavailable)", "width": 1440, "height": 1620, - "hash": "74ce5d6aa75c0f8207c8889bf7b35fc67b12060f4e2a79413ce296da95a55aa9" + "hash": "073633876f52a5ce3b4c6f47386f16641e111780f6cccd4c9f5262517ec86d9d" }, { "file": "BdmAW", @@ -1397,7 +1397,7 @@ "name": "Screen/Nodes — All clusters", "width": 1440, "height": 900, - "hash": "61e0a5ed4182584e85407bfe76be17ae2826331367ad0961c486c0f530fe4e5d" + "hash": "452cf7ac7ccb3a9024412ff0c9923c65adc04f6e6f0c0e538b009636d6ed9dcb" }, { "file": "wqnM9", @@ -1405,7 +1405,7 @@ "name": "Screen/Cluster Details — Overview", "width": 1440, "height": 900, - "hash": "abc587ab439a8f5f6e29a68a2fe4e3f8faabd4277652fa58c3d14971bff90533" + "hash": "94ffb5b350530da28698b49f4384abde65438e3bf1e68d4af19d30d78b71b30b" }, { "file": "J8GzM9", @@ -1413,7 +1413,7 @@ "name": "Screen/Cluster Details — Nodes", "width": 1440, "height": 900, - "hash": "b4907a5ad4aabde14afef523b132fe1e9e438138294f2775d33daf2a8578a979" + "hash": "cfd4d3d88cc222b11f2e18b3f0addffce428d2fee5246539b55ebbf75d4dd158" }, { "file": "OecJ5", @@ -1421,7 +1421,7 @@ "name": "Screen/Cluster Details — Configuration — Local", "width": 1440, "height": 1293, - "hash": "8098ae510b2e24ef9e48847715a3565e2c67c4c27706ee6df9f931dd15c9c37e" + "hash": "900475feb32e23d545a854422ca10d19e517d1873d5329d553892ac165409fb9" }, { "file": "t56aLu", @@ -1429,7 +1429,7 @@ "name": "Screen/Cluster Details — Configuration — Remote", "width": 1440, "height": 1293, - "hash": "72e94ad8d12b9e586dff327bee1e4eb3c067856950124cdcff66cb3ac7e9ab51" + "hash": "1f5c8bd8f45a3f27a4ce85139778fefd175aaf2275e050f8f4a7588c770bc260" }, { "file": "IBUqJ", @@ -1437,7 +1437,7 @@ "name": "Screen/Nodes — Add node target", "width": 1440, "height": 900, - "hash": "0ab7a15b0c2c48e199db5807aa2cf477918cd7faf1fd60e6d241d22af02c1c68" + "hash": "7f1f64fc8b3c9d7cb4986f7c9f1db791e2e4d1c520c632a05991ee3cc0f9cb1c" }, { "file": "N2nTf", @@ -1445,7 +1445,7 @@ "name": "Screen/Mobile — Nodes — All clusters", "width": 390, "height": 1620, - "hash": "86ff1fd72174845b25c2b35d13bf77149aabcb3a9544ba0c12e035b1e925efaf" + "hash": "3e95f30a41df08111312f52c76806c72842cf03daf5bbb50b60a6b6f482c5417" }, { "file": "T70dJ", @@ -1453,7 +1453,7 @@ "name": "Screen/Cluster Details — Configuration — Default storage", "width": 1440, "height": 1293, - "hash": "24569900686d78dc419051bcf686b660e336d984ddd2398ceda622e9a83b54db" + "hash": "ff12f3b1ec0a8f7fd3b246869881eb19f6133e5b7ac3b0240b2e620b38a43cce" }, { "file": "KJdxg", @@ -1461,7 +1461,7 @@ "name": "Screen/Server Detail — Settings · Minecraft JVM startup", "width": 1440, "height": 980, - "hash": "43fa5d80b0b83734dcd559fd324b9e54507e9d6fb9b1a3a3281fecadef97ac08" + "hash": "64c21ce7328b5f3de5901f97b94aa45a8340ae0e0b8648d8322a8b4dbbe5674e" }, { "file": "ZUAq1", @@ -1469,7 +1469,7 @@ "name": "Screen/Server Detail — Settings · Minecraft JVM heap validation", "width": 1440, "height": 980, - "hash": "59f6aa002842082e716ead2056309bce8a13f090cff0b0742014d46785145722" + "hash": "a0caf91d027e1cb6b839a268d54dcd5abd6dda61d2122769bb5e93e7dcef72a7" }, { "file": "o1uEP", @@ -1477,7 +1477,7 @@ "name": "Gameplane/Dialog/Create ZIP", "width": 448, "height": 196, - "hash": "8de9cc4e5340e53ab2af0da91ecb1b5500d7f9066b27f88eb1de1eee353cf980" + "hash": "5c94c348934d2cf96fae02bdbc4601612c4d3d2f9d979d2b54827cdac54a6d97" }, { "file": "UdnBT", @@ -1485,7 +1485,7 @@ "name": "Screen/Admin Settings — Authentication (Role rules)", "width": 1440, "height": 2600, - "hash": "b36151fac001fe8b770a7b213a66c4ad48fcb448904c47253560abc9a7649cc4" + "hash": "2280fcd4648c74e73bb5e6e7a1a478bbf2e2341a71db2588f3b1f292371bef8c" }, { "file": "mrF6f", @@ -1493,7 +1493,7 @@ "name": "Screen/Admin Settings — Authentication (Role rules empty, not overridden)", "width": 888, "height": 649, - "hash": "273a1ff9cfa45ec8817e66c7acc61164441ec70f7420959b44191be17be68572" + "hash": "9ecd7c4cbd16b460ea69bfddc61eb197f1d487803630067a8e14a10e9eb487d9" }, { "file": "rJt1I", @@ -1501,7 +1501,7 @@ "name": "Screen/Users & RBAC — Role source", "width": 1440, "height": 900, - "hash": "cc82d79806ad3c77bfece3075316940cee1ef0a294d18b518f543277f9428509" + "hash": "b6669c2284794e3bbb72a291619a4d37d1308692f901fb685ad7fc3f070290e4" }, { "file": "pszxE", @@ -1509,7 +1509,7 @@ "name": "Users & RBAC — Return to SSO control dialogs", "width": 1040, "height": 721, - "hash": "c0089fe7c298fc922ffaee198079625755ef5c963afb00d021d39ad18f131f96" + "hash": "9ff96e093ad8e0d2f8b04278c955a87ed7436e6efb8cb0e5a105127242f0e8c8" }, { "file": "1274632774-130", @@ -1517,7 +1517,7 @@ "name": "Screen/Server Detail — Modpacks (Active pack)", "width": 1440, "height": 900, - "hash": "01b5448f63f6244b5a6aedc44e299b9b981b2e60c730f3e81e41882b02c411d4" + "hash": "1ac07168d5f2a3a00660ad2c5f96fd37531889be10d24a2a9867b7f88d5e6356" }, { "file": "1274632774-470", @@ -1525,7 +1525,7 @@ "name": "Screen/Server Detail — Modpacks — Choose version", "width": 1440, "height": 900, - "hash": "6577a6b3f01e7f1f5cedbef6b8e3aa2f5cb43db3f0ec21896b3549040216bd75" + "hash": "39b07ff2cf32c4b95aec051417a5fc418747ca86d8290b9381abe35f2808776d" }, { "file": "1274632774-907", @@ -1533,7 +1533,7 @@ "name": "Screen/Server Detail — Modpacks — Confirm install", "width": 1440, "height": 900, - "hash": "bb64a4f5087731e57ffdd7e00156056f308eea356930d2294861e014bd89a60f" + "hash": "6beda12f3409a5006b903fe6455ac68c18259541ccd47f03bac0b53b39323c73" }, { "file": "1274632774-1258", @@ -1541,7 +1541,7 @@ "name": "Screen/Server Detail — Modpacks — Change version", "width": 1440, "height": 900, - "hash": "e62d3a828905c06fa5ff6787981b93c03c6d527bcfdf9c40acf365e5ef322f5b" + "hash": "e42c8c2fa4bf451fa7ee885eff9468d9eba077231bb450c4057db3f2e0cb2874" }, { "file": "1274632774-1722", @@ -1549,7 +1549,7 @@ "name": "Screen/Server Detail — Modpacks — Confirm downgrade", "width": 1440, "height": 900, - "hash": "ebd3f61a7375d9ed6387663e5a5bd6235963974f9fe236e27e6a4df2a976bef7" + "hash": "496752003da5eef63858071449ce04b4ffafeb12d257d9e0883bc473fa8d9441" }, { "file": "1274632774-2112", @@ -1557,7 +1557,7 @@ "name": "Screen/Server Detail — Modpacks — Remove", "width": 1440, "height": 900, - "hash": "8af9dac5220aaf60b45df2603e79debdcfa766bc59e9df837971afdc558129b4" + "hash": "297332ed6be3eb162f37b84da9a3b4bdeb12aac3ba58e0a5b31eff7e7b91df09" }, { "file": "1274632774-2492", @@ -1565,7 +1565,7 @@ "name": "Screen/Server Detail — Modpacks (Missing files)", "width": 1440, "height": 1080, - "hash": "d6561c7ef2e1c05ad6a0ca25e60dc97c2efaf7835074855c82fa3cd37556febd" + "hash": "a7f74c21343ed19e188a29abae6a8f3dd3734ddb7005092cc57e3897f6d512c9" }, { "file": "1274632774-2877", @@ -1573,7 +1573,7 @@ "name": "Screen/Server Detail — Modpacks (Active pack, Light)", "width": 1440, "height": 900, - "hash": "9b06b9d3b16dabab4d68f48673ceccae90d33a224637c8c3d9174c4d4fba465e" + "hash": "a92fc00484b9bc8733299fc6d986560d9dc469ba5cc12d4e7cb306bd193aa451" }, { "file": "1274632774-3217", @@ -1581,7 +1581,7 @@ "name": "Screen/Server Detail — Modpacks (Read-only)", "width": 1440, "height": 900, - "hash": "f990534bd38fb9c869bc987f3c7176ffcf07fd62e20fc0dcbc6412c467fe78ea" + "hash": "43643fae86d9ca035e2c9df36d69b2526ac40098de911b1ba88ba455a74e7eda" }, { "file": "1274632774-3559", @@ -1589,7 +1589,7 @@ "name": "States/Modpacks — Active card and tab states (reference)", "width": 2280, "height": 1158, - "hash": "6c948ca5043b81a3ac00b3df680211fd403a2f0b48810e7c198524e00783ef96" + "hash": "3f426f379fd74f7f16865ac6b34537659930ef2e686a580e7e12c3d9c196e0ce" }, { "file": "1274632774-3890", @@ -1597,7 +1597,7 @@ "name": "Screen/Mobile — Server Detail — Modpacks", "width": 390, "height": 1100, - "hash": "e07052a698f3d2067903c1434f1023c600885e446c1750ae7be7d1ef8f95d45c" + "hash": "0d45c7c663cfbb5b68a25f20f192298f17f52eca13a7c38a1c9b45cf4bf8a08c" }, { "file": "1274632774-4001", @@ -1605,7 +1605,7 @@ "name": "Screen/Admin Settings — Mod registries (Share CurseForge key)", "width": 1440, "height": 900, - "hash": "2db6ede1ce9b805cd6041f97e028770bbfad7c68cc70330669318afaa5516ee3" + "hash": "59660c7a4f38fce0b0f0b4a53aebb4b76dd0f6922e3e5d6e995983d76850fdb6" }, { "file": "1274632774-4260", @@ -1613,7 +1613,7 @@ "name": "Screen/Admin Settings — Mod registries (Key from startup flag)", "width": 1440, "height": 900, - "hash": "c9cd2c06ebff9c38cf39dbbe944c45019a6bc4484e6cd1ae81cc8335be2b2bb5" + "hash": "962029bb8f5f3e46b840758e23df983ab14396679f5837849f251a69da3bf962" }, { "file": "1494270493-26", @@ -1621,7 +1621,7 @@ "name": "States/Backup schedule — Edit with restricted snapshot strategy", "width": 1524, "height": 582, - "hash": "96474b0547bc69f34e345b3ab33a785442bbb66f3c3b14b104c37124167ebac6" + "hash": "6e133d4b1f8754e77d3c9322a4d14d8f8b0f3ac017b04353a96e4acc65dfdfca" }, { "file": "46479436-2", @@ -1629,7 +1629,7 @@ "name": "Gameplane/Dialog/Back up now (No destinations)", "width": 480, "height": 279, - "hash": "52efb1a6a7eec0ee5b3f6380f6593dfe2310f676a07502bd6afcd91f1f2f7c3a" + "hash": "c3a18016558b1656dc311bbc06052615d19ec83d910119c6115b6012e0b0fc45" }, { "file": "2044649516-13", @@ -1637,7 +1637,7 @@ "name": "Screen/MCP Tokens", "width": 1440, "height": 900, - "hash": "0b07536db606466343f6e9b9248bd4185f37d55ca4d0ed4c87f672c116a468cd" + "hash": "260c40d4d7f0703729df24b18ab12c65f667abaabe87853e9910e344395e8f36" }, { "file": "2044649516-579", @@ -1645,7 +1645,7 @@ "name": "Screen/MCP Tokens — Empty", "width": 1440, "height": 900, - "hash": "1cb265873f51beb82898b8f21d9c262bb1c49295f165421860282a113d65c9c0" + "hash": "301de2520b51269ff2536834d1601b24e8bdba642069cda2ec5a5b88f9da1eb5" }, { "file": "2044649516-1099", @@ -1653,7 +1653,7 @@ "name": "Screen/MCP Tokens — Create", "width": 1440, "height": 900, - "hash": "6d747004e7cd4878911797345d571af53324fab1f8c5eb3d9ba88910d971bde6" + "hash": "f490f0f04c2c0a1039c5189673ae8c0bda4517de716aa49508c58d649603f36b" }, { "file": "2044649516-1687", @@ -1661,7 +1661,7 @@ "name": "Screen/MCP Tokens — Created", "width": 1440, "height": 900, - "hash": "5d13af3927c49404cf986f7192830b1222bbc16f381240151872609b2d92c4c9" + "hash": "211d8ec69c069b878faebc0bd63d0a7d3648da25677bd86d16fe8d3ac638660e" }, { "file": "2044649516-2282", @@ -1669,7 +1669,7 @@ "name": "Screen/MCP Tokens — Revoke", "width": 1440, "height": 900, - "hash": "7ab9ba2144fb112f580d8cbff6062a2d814438ff75efea7f845f06ee5fd07a4c" + "hash": "e0f61a8a49afb7eb5cf14c9c0308af39fa432a6513ad8f73b7b61e0defca31e0" }, { "file": "2044649516-2862", @@ -1677,7 +1677,7 @@ "name": "Screen/Mobile — MCP Tokens", "width": 390, "height": 844, - "hash": "9c9364754da9cbb1815b78beac6e5224ffe2f700c5947d6e0e4c54867282f261" + "hash": "4d10060b3cf2be2e413e86866abc7578a68e146f2625db4413eed6d77de634fc" }, { "file": "2044649516-2982", @@ -1685,7 +1685,7 @@ "name": "Screen/Users & RBAC — MCP tokens", "width": 1440, "height": 900, - "hash": "65fd2b621c99ba8dea5c46babcbaf2d36a372edf304cdb40899173fc75ab47bb" + "hash": "ba276c459be9b4864e296628bc62bed9813205d5182379e935a7e93262c0b8bc" }, { "file": "901437436-1", @@ -1693,7 +1693,7 @@ "name": "Screen/Server Detail — Settings · Security", "width": 1440, "height": 1001, - "hash": "83e07493e3314c17a7cdff8754aece4c4403e199bc03909d3f96d08d87d428b2" + "hash": "757dd3200d2adaa7958713713c9d3d4b17129479b6475a35473758fd70c4267e" }, { "file": "901437436-465", @@ -1701,7 +1701,7 @@ "name": "Screen/Server Detail — Settings · Security (Light)", "width": 1440, "height": 1001, - "hash": "0ea5b2017a803738749515fb9c77d09b25afa267b5e00d15ce097d60f47a77f4" + "hash": "ec9d26991e67c6e640ee3b2a49adceb698ad3760685a7a83063df6689d8681c4" }, { "file": "901437436-929", @@ -1709,7 +1709,7 @@ "name": "Screen/Server Detail — Settings · Security (Image default, no effect)", "width": 1440, "height": 925, - "hash": "f8f5400a65a508d6c9b2abad6baa7384c45cc90cc382c41e809e883d398f8747" + "hash": "9639e7cdf9ebdc2e9ce14df3b8adf55cfaaa65b6de3c94c3c140401a59f33319" }, { "file": "901437436-1393", @@ -1717,7 +1717,7 @@ "name": "Screen/Server Detail — Settings · Security (Read-only)", "width": 1440, "height": 900, - "hash": "fe0e512b26c4559d9b8d9d3e7e3c05a93f30f5e518703db65dc08dbe5c7c8dd9" + "hash": "5f5ee4cb2c0a15e4a5f87ec04b8b8847464f0a525b73a25e0fca851b80751909" }, { "file": "901437436-1857", @@ -1725,7 +1725,7 @@ "name": "Screen/Server Detail — Settings · Security (Held back, stopped)", "width": 1440, "height": 1017, - "hash": "3dea1ed93bc0f4233c5335a7c573f2f758979ef63499a841d953f23772d346c0" + "hash": "85eeee31917808331b7bd50fdadbadeced3256feae9ba559abe6ef8162d9c385" }, { "file": "901437436-2321", @@ -1733,7 +1733,7 @@ "name": "Screen/Server Detail — Settings · Security (Held back, running)", "width": 1440, "height": 1017, - "hash": "5ca1757c9d80a41a9f80ebf88391728f6ffa22f65b8d2e27908c0f0ccc2c50dc" + "hash": "e61789c9b596135b9d18ea9dfe8573e7b69712d41f1a0344c0c63b5defc69d67" }, { "file": "901437436-2785", @@ -1741,7 +1741,7 @@ "name": "Screen/Server Detail — Settings · Security (Refused)", "width": 1440, "height": 1041, - "hash": "367f3a9d0c88489cfc7e242602d783217e307d8ee21e4c9586fdac6c00599ad5" + "hash": "427c4b62837c3b33cc5634f074868e44ac744dde107f9cdcadc661deca894464" }, { "file": "901437436-3249", @@ -1749,7 +1749,7 @@ "name": "Screen/Server Detail — Settings · Security (Forbidden)", "width": 1440, "height": 1001, - "hash": "0cc5c6c4a493aa4fd8ce04d95d57a6f1672f2d8a254c6ed0ea2cb25f1bed54b6" + "hash": "b12e3a8b97e82a607f347169c2dc809be62db71c9d05f46e729ee2761ecda117" }, { "file": "901437436-3713", @@ -1757,7 +1757,7 @@ "name": "Screen/Server Detail — Settings · Security (File-access warning)", "width": 1440, "height": 925, - "hash": "9b876af873816d9e86b06a9a5b7274cacda902bc1273f2e17374f85318d514a6" + "hash": "08e0f5344c93061a72e8f6e2ebdaff5419f7f798f6aa31b470abad7d4be4e504" }, { "file": "1163467012-2214", @@ -1765,7 +1765,7 @@ "name": "Screen/Mobile — Server Detail — Settings · Security", "width": 375, "height": 1352, - "hash": "c42287ca0d115dc76c0b71a00187c0bf3bf1f6577db063002ae927afee1381ab" + "hash": "08698e06a646b9621bdfeceb307874b12bd0e1db0ab92848f3573c114053a7a9" }, { "file": "1163467012-259", @@ -1773,7 +1773,7 @@ "name": "Screen/Create Server — Step 3 Configure (Advanced security open)", "width": 1440, "height": 2461, - "hash": "08742bcb3a5afc21ca38f7e6d2d7854b35e80e3da104889377d5960cdda3e236" + "hash": "8713467dc587f0e90a5000c430f72a9839dfe85463f564d7ff047d5f71df3ecf" }, { "file": "1163467012-906", @@ -1781,7 +1781,7 @@ "name": "Screen/Create Server — Step 3 Configure (Advanced security refused)", "width": 1440, "height": 2552, - "hash": "f07150dd548b850ea8269dfc5a423e13ae4ccce4c484cc8c557615c54b266512" + "hash": "8ebf4a6059071ea605c0f4e66d67b322b828d51136e01069cd047cfe255a55f3" }, { "file": "1163467012-1553", @@ -1789,7 +1789,7 @@ "name": "Screen/Create Server — Step 3 Configure (Risky value confirmation)", "width": 1440, "height": 2461, - "hash": "17d738b5421d7cdce27e1b34f438a022edb51e89a26e500ecbaf1daf6260bd11" + "hash": "9029ebb9557d8679ad0d2e5b773a938ae2e40fd38599166eeab72b6debb085f9" }, { "file": "1163467012-2492", @@ -1797,7 +1797,7 @@ "name": "Screen/Cluster Details — Configuration — Remote (Allow root on)", "width": 1440, "height": 1293, - "hash": "66d92a3a61a62649b1706154f9a0195c0600d2bd697926eb7e3b8fa9c3bab091" + "hash": "6174cfc6224ea8e7b5a0ea448b446f8a3a61d48e808fa979d41b9da71e17e15f" }, { "file": "1163467012-2680", @@ -1805,7 +1805,7 @@ "name": "Screen/Cluster Details — Configuration — Remote (Security settings missing)", "width": 1440, "height": 1385, - "hash": "cdaaf83d1eacf37f6827ada916ee55d39ad508732667b0fc49aba20909c0fe6d" + "hash": "8c2648a5b21de26705d2aa1d7d968a913e12a01e12927f37b2f4eff28fffdb81" }, { "file": "1163467012-2868", @@ -1813,7 +1813,7 @@ "name": "Screen/Cluster Details — Configuration — Remote (Light)", "width": 1440, "height": 1293, - "hash": "a3da6eb270d9bba935f516d149de8cd2676d045d991ef923260831d1c232fa45" + "hash": "a08e6124ab10030507653f8a8bbc0a4a3b404a837c5ee9a1c7f5a895459ba259" }, { "file": "1163467012-3056", @@ -1821,7 +1821,7 @@ "name": "Screen/Standalone — Register cluster (Control-plane namespace edited)", "width": 1440, "height": 900, - "hash": "a00031f84918aecd2e4760cccbef8d7e636b8278785b2f1c1c2706ec1bdf8eee" + "hash": "930e215544892268b74decebd2229e025a0b0c8b32c76629670f60146347e6d3" }, { "file": "1163467012-3228", @@ -1829,7 +1829,7 @@ "name": "Screen/Standalone — Register cluster (Invalid control-plane namespace)", "width": 1440, "height": 900, - "hash": "e132c09d898b66eb3f51e34a15c225eb485bcafb27facac87e9079786800d0b6" + "hash": "2f25359b85cd336542d8f90a711d462ff849698dd687cc8d220e1bf76a47a5d3" }, { "file": "1-46380", @@ -1837,7 +1837,7 @@ "name": "Screen/Settings — SFTP", "width": 1440, "height": 1169, - "hash": "8e062f7a88ed96da84772aac19b17d060592ac5fc776d8488b04615df4a173af" + "hash": "851d1bdc163485dffc72d890aec606218bdf5a950d627a42308eaed8487387ba" }, { "file": "1-46381", @@ -1845,7 +1845,7 @@ "name": "Screen/Settings — SFTP (Light)", "width": 1440, "height": 1169, - "hash": "8edf7ee25ab8d26bf4cc2f381d4243b6a5f6514a0b2a2b0989784fa30e1c0bc3" + "hash": "2c2794845018e5ae3a5d75d3e66b92ab51d587ec1dc88c5a52fb8135fb39c28f" }, { "file": "1-46382", @@ -1853,7 +1853,7 @@ "name": "Screen/Settings — SFTP (Not enabled)", "width": 1440, "height": 1080, - "hash": "272fd34ca8f1f3df7746aa28326824566e8dddfbdfbcfaf7695b0a9529b5c314" + "hash": "17162e3aad113088b27a00e3433b11bc01e00b438ec12490d4314439f37cf24d" }, { "file": "1-46383", @@ -1861,7 +1861,7 @@ "name": "Screen/Settings — SFTP (No password)", "width": 1440, "height": 1169, - "hash": "0313fed5076f1af44eb539b3a125d8f99cf88962afa26f3e687b044778a282af" + "hash": "62f9c9c9c52464dbf08bc70e7fc62bdca150529f4536a395f6dcf65deb419eb2" }, { "file": "1-46384", @@ -1869,7 +1869,7 @@ "name": "Gameplane/Dialog/Add SSH key", "width": 480, "height": 380, - "hash": "af4dc52008cce4ac49fd48c13507240d48145f146a563e12c2fcd98e6f442cf3" + "hash": "e054c056e5753cbd525c1713731f2f4ec79268d5343b979b661ff45528708169" }, { "file": "1-46385", @@ -1877,7 +1877,7 @@ "name": "Gameplane/Dialog/Add SSH key (Invalid key)", "width": 480, "height": 470, - "hash": "630448cc55a5dea891f01f9171522498da8176c444e20cfbe6d80170bc42b5e1" + "hash": "2282c78c733a2749d11ee5a142416703274b7392eb26979e4635ea1afe79998d" }, { "file": "1-46386", @@ -1893,7 +1893,7 @@ "name": "Gameplane/Dialog/SFTP password (Shown once)", "width": 480, "height": 420, - "hash": "53e8fd84c137f688971cc970d586b9af5b38f398b038590357b774d2467792b8" + "hash": "ade6f259fda8269c9235fb0c3a9b21ba1d1150342d6039aa5331a150b971cb6f" }, { "file": "1006926387-2294", @@ -1901,7 +1901,7 @@ "name": "Gameplane/Dialog/Regenerate SFTP password", "width": 440, "height": 163, - "hash": "53d676d8825d624d7fba468e9994ff2a2a4b48bbc51768dc15caad8ba9e8757a" + "hash": "9bae85c33e7090190c7f60731a0fe85127f3cad75c026d2d471c731d63e67f7a" }, { "file": "1006926387-2310", @@ -1909,7 +1909,7 @@ "name": "Gameplane/Dialog/Revoke SFTP password", "width": 440, "height": 163, - "hash": "7eb2b2066d5958db80a9bc40d5202582198e26ad1b7461fbb6d14acbfd3d214b" + "hash": "02528ea63cd5fef18d2c675e1e825b3b46b95cc18412959e1a96723e34d0f50d" }, { "file": "1-46388", @@ -1917,7 +1917,7 @@ "name": "Screen/Settings — SFTP (Non-admin)", "width": 1440, "height": 1169, - "hash": "855f8cffdaa82d0390b6dcca28ff2c7e75af04f91708c5a5e631e75086483166" + "hash": "0c3d36118e27ec9e6068411e6953a2e902830e2b8004842972c9a70e829df202" }, { "file": "1-46390", @@ -1925,7 +1925,7 @@ "name": "Screen/Server Detail — Files (Uploads)", "width": 1440, "height": 900, - "hash": "90a31deb7cf1744079cdff9daa88a834ab99033daaeac3461c76c106f62724e4" + "hash": "b67e1cc9eb02cea24ac1e3364071fc69c046f3089b3cd0e65c355c1aa191c651" }, { "file": "1-46391", @@ -1933,7 +1933,7 @@ "name": "Screen/Server Detail — Files (Uploads, Light)", "width": 1440, "height": 900, - "hash": "ab02c8d1cc4b5268b9a72fc5ca6326828be2e0883f0f05ea70cbd0445c05a009" + "hash": "089679fef719ffd2b10e6eb406030fed9415b259217e306b4028f181448bff3d" }, { "file": "1-46392", @@ -1941,7 +1941,7 @@ "name": "Screen/Server Detail — Files (Uploads with errors)", "width": 1440, "height": 900, - "hash": "cede75d280edda2f2f0c00132b454c95c52397381545c9554373b20e2e2d1f97" + "hash": "b1546293a33954dc05b80284baaa6b208580ef08a8c2d4217e69a9a3a9dcc6b1" }, { "file": "1-46393", @@ -1949,7 +1949,7 @@ "name": "Screen/Server Detail — Files (Starting)", "width": 1440, "height": 900, - "hash": "192388125a4009476e7f879129f8fc99858f9ed783f7979d984f4343d1a739cb" + "hash": "edec9922f24d0539ea2b8f4dcfdf5cb9a211359a8f49d0e3d745abe846e46a61" }, { "file": "1-46394", @@ -1957,7 +1957,7 @@ "name": "Screen/Server Detail — Files (Starting timed out)", "width": 1440, "height": 900, - "hash": "d1ad27afdf38728ec11246f1e162d182879d3f348302314991df083325878ced" + "hash": "ab73e8ac4bb4c58e7afe71b04ab1734e75acd5b8e7b2697e5b64eb361e3df022" }, { "file": "1-46395", @@ -1965,7 +1965,7 @@ "name": "Screen/Users & RBAC — SFTP access (admin)", "width": 1440, "height": 900, - "hash": "6a765fcd9d3abef92e5d6ed43caae57410415097004af4791041262c99acf093" + "hash": "44e32c1374e3f4d2bf26354f17d56d19379947a3107f2eae3f038e3115353253" }, { "file": "1-46396", @@ -1973,7 +1973,7 @@ "name": "Screen/Clusters — SFTP (remote-lab)", "width": 1440, "height": 900, - "hash": "025fa675cc8f736f561d0c2a0dbcf33ee3b69537e161b9811aed052b00ae2d21" + "hash": "06d516cceafb550d66362ebd94b19ac0c3e43c81a217c71728c5d9a6df18c887" }, { "file": "1-46397", @@ -1981,7 +1981,7 @@ "name": "Screen/Clusters — SFTP (remote-lab) — Token created", "width": 1440, "height": 900, - "hash": "97f133796d4869ff7bbfdf2ec45207aabba3b1fadfa4d94f728e4f24a1eccbb6" + "hash": "898471980b0c8a092d35216775e91cb3acb829d9887ec0436f4d00a421a6b032" }, { "file": "1-46398", @@ -1989,7 +1989,7 @@ "name": "Screen/Clusters — SFTP (remote-lab) — Token limit", "width": 1440, "height": 900, - "hash": "662510c9401eae59355ddc9df20682a9afb018d81f9fb4f2d1845a2d6039e15d" + "hash": "b15a1af0c7257da9aca734988c1fca7236e1f97714e4940f4837301241ccd77e" }, { "file": "1041846705-1", @@ -1997,7 +1997,7 @@ "name": "Gameplane/Dialog/Change SFTP username", "width": 480, "height": 203, - "hash": "2529a84e7b5d0f3c3af45428c8823b9dd872a13eed01d49119a25ebddef5f0d8" + "hash": "30e98cabd48b9ca3467a0137cf2202ccd20ac6cff0aec867ac1cfed5c79c8b09" }, { "file": "1041846705-38", @@ -2005,6 +2005,6 @@ "name": "Gameplane/Dialog/Change SFTP username (Taken)", "width": 480, "height": 203, - "hash": "71d76112fbeb58e135a84a24e8509efb36d853edebabaf8f8f7390b687dbf102" + "hash": "e63ea67445ad867e3848e24eba75cdce1e83762b8fd05717565c23a8a4a19787" } ] diff --git a/assets/design-export/screenshots/DPrYX.png b/assets/design-export/screenshots/DPrYX.png index 0463312f8..c14900b0e 100644 Binary files a/assets/design-export/screenshots/DPrYX.png and b/assets/design-export/screenshots/DPrYX.png differ diff --git a/assets/design-export/screenshots/pssCT.png b/assets/design-export/screenshots/pssCT.png index 0b535a016..ecae3266f 100644 Binary files a/assets/design-export/screenshots/pssCT.png and b/assets/design-export/screenshots/pssCT.png differ diff --git a/changelog/unreleased/1102-backup-retention-provenance.md b/changelog/unreleased/1102-backup-retention-provenance.md new file mode 100644 index 000000000..996a0fcdd --- /dev/null +++ b/changelog/unreleased/1102-backup-retention-provenance.md @@ -0,0 +1,3 @@ +# Breaking: backup retention only prunes its own, restorable backups + +A backup schedule now prunes only backups it can prove it created for the server that exists now, so deleting a server or schedule and creating a new one with the same name no longer deletes the old one's snapshots. Retention also ignores a backup that finished but has no snapshot ID yet, so it can no longer push out your last restorable snapshot, and the dashboard shows such a backup as "Awaiting snapshot ID". Backups made before this upgrade are no longer pruned automatically: see [Scheduled backup retention and provenance](../../docs/operator-operations.md#scheduled-backup-retention-and-provenance) to check and retire them; until you do, those snapshots stay in your repository. Roll back the operator only together with its CRDs: an older operator running against the new Backup CRD cannot update scheduled Backups. Fixes #960 and #961. [PR #1102](https://github.com/GameplanePanel/Gameplane/pull/1102) diff --git a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_backups.yaml b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_backups.yaml index 38f2abcae..8bbd60ebe 100644 --- a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_backups.yaml +++ b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_backups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: backups.gameplane.local spec: @@ -37,6 +37,8 @@ spec: Backup represents a one-shot backup of a GameServer's data volume. Recurring backups are expressed as BackupSchedules, which create Backup objects over time. + spec.origin is set only at creation: an update may not add, change or remove + it, including by removing the whole spec. properties: apiVersion: description: |- @@ -58,6 +60,41 @@ spec: spec: description: BackupSpec is the desired state of a one-shot backup. properties: + origin: + description: |- + Origin records which BackupSchedule generated this Backup and which + GameServer it captured, by UID. The schedule controller sets it when it + fires and it can never change afterwards. Retention and the Replace + concurrency policy act only on Backups whose origin matches the live + schedule and server, so a schedule or server recreated under the same + name can never prune or cancel its predecessor's Backups. Absent on + manual Backups and on scheduled Backups created before this field + existed; those are never pruned automatically. Immutability is enforced + on the Backup root, so dropping the whole spec cannot bypass it. + properties: + scheduleName: + description: ScheduleName is the BackupSchedule's name when it + fired. + maxLength: 253 + minLength: 1 + type: string + scheduleUID: + description: ScheduleUID is the UID of the BackupSchedule that + fired. + maxLength: 128 + minLength: 1 + type: string + serverUID: + description: |- + ServerUID is the UID of the GameServer named by spec.serverRef when the + schedule fired. Empty when that server did not exist at the time; such + a Backup is never pruned automatically. + maxLength: 128 + type: string + required: + - scheduleName + - scheduleUID + type: object powerPolicy: description: PowerPolicy preserves power by default; stop-copy-restart temporarily stops under lifecycle ownership. @@ -353,6 +390,11 @@ spec: type: string type: object type: object + x-kubernetes-validations: + - message: spec.origin can only be set when the Backup is created and is immutable + rule: (has(oldSelf.spec) && has(oldSelf.spec.origin)) == (has(self.spec) + && has(self.spec.origin)) && (!has(oldSelf.spec) || !has(oldSelf.spec.origin) + || self.spec.origin == oldSelf.spec.origin) served: true storage: true subresources: diff --git a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_backupschedules.yaml b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_backupschedules.yaml index 6d9f67e97..f3019a794 100644 --- a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_backupschedules.yaml +++ b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_backupschedules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: backupschedules.gameplane.local spec: diff --git a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_clusters.yaml b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_clusters.yaml index b9bb0ab0b..1b6b0003e 100644 --- a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_clusters.yaml +++ b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_clusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: clusters.gameplane.local spec: diff --git a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_gameservers.yaml b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_gameservers.yaml index f0c491e74..01279f35c 100644 --- a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_gameservers.yaml +++ b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_gameservers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: gameservers.gameplane.local spec: diff --git a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_gametemplates.yaml b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_gametemplates.yaml index b4f43703d..5bb2187f5 100644 --- a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_gametemplates.yaml +++ b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_gametemplates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: gametemplates.gameplane.local spec: diff --git a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_modules.yaml b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_modules.yaml index fb71d9bc0..214198348 100644 --- a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_modules.yaml +++ b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_modules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: modules.gameplane.local spec: diff --git a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_modulesources.yaml b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_modulesources.yaml index a1758c8da..ca1863a5c 100644 --- a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_modulesources.yaml +++ b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_modulesources.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: modulesources.gameplane.local spec: diff --git a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_networkcaptures.yaml b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_networkcaptures.yaml index dec6e733d..c81b81473 100644 --- a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_networkcaptures.yaml +++ b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_networkcaptures.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: networkcaptures.gameplane.local spec: diff --git a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_restores.yaml b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_restores.yaml index 7e86a46fe..73884d850 100644 --- a/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_restores.yaml +++ b/charts/gameplane/charts/gameplane-crds/crds/gameplane.local_restores.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: restores.gameplane.local spec: diff --git a/charts/gameplane/crd-manifests/gameplane.local_backups.yaml b/charts/gameplane/crd-manifests/gameplane.local_backups.yaml index 38f2abcae..8bbd60ebe 100644 --- a/charts/gameplane/crd-manifests/gameplane.local_backups.yaml +++ b/charts/gameplane/crd-manifests/gameplane.local_backups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: backups.gameplane.local spec: @@ -37,6 +37,8 @@ spec: Backup represents a one-shot backup of a GameServer's data volume. Recurring backups are expressed as BackupSchedules, which create Backup objects over time. + spec.origin is set only at creation: an update may not add, change or remove + it, including by removing the whole spec. properties: apiVersion: description: |- @@ -58,6 +60,41 @@ spec: spec: description: BackupSpec is the desired state of a one-shot backup. properties: + origin: + description: |- + Origin records which BackupSchedule generated this Backup and which + GameServer it captured, by UID. The schedule controller sets it when it + fires and it can never change afterwards. Retention and the Replace + concurrency policy act only on Backups whose origin matches the live + schedule and server, so a schedule or server recreated under the same + name can never prune or cancel its predecessor's Backups. Absent on + manual Backups and on scheduled Backups created before this field + existed; those are never pruned automatically. Immutability is enforced + on the Backup root, so dropping the whole spec cannot bypass it. + properties: + scheduleName: + description: ScheduleName is the BackupSchedule's name when it + fired. + maxLength: 253 + minLength: 1 + type: string + scheduleUID: + description: ScheduleUID is the UID of the BackupSchedule that + fired. + maxLength: 128 + minLength: 1 + type: string + serverUID: + description: |- + ServerUID is the UID of the GameServer named by spec.serverRef when the + schedule fired. Empty when that server did not exist at the time; such + a Backup is never pruned automatically. + maxLength: 128 + type: string + required: + - scheduleName + - scheduleUID + type: object powerPolicy: description: PowerPolicy preserves power by default; stop-copy-restart temporarily stops under lifecycle ownership. @@ -353,6 +390,11 @@ spec: type: string type: object type: object + x-kubernetes-validations: + - message: spec.origin can only be set when the Backup is created and is immutable + rule: (has(oldSelf.spec) && has(oldSelf.spec.origin)) == (has(self.spec) + && has(self.spec.origin)) && (!has(oldSelf.spec) || !has(oldSelf.spec.origin) + || self.spec.origin == oldSelf.spec.origin) served: true storage: true subresources: diff --git a/charts/gameplane/crd-manifests/gameplane.local_backupschedules.yaml b/charts/gameplane/crd-manifests/gameplane.local_backupschedules.yaml index 6d9f67e97..f3019a794 100644 --- a/charts/gameplane/crd-manifests/gameplane.local_backupschedules.yaml +++ b/charts/gameplane/crd-manifests/gameplane.local_backupschedules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: backupschedules.gameplane.local spec: diff --git a/charts/gameplane/crd-manifests/gameplane.local_clusters.yaml b/charts/gameplane/crd-manifests/gameplane.local_clusters.yaml index b9bb0ab0b..1b6b0003e 100644 --- a/charts/gameplane/crd-manifests/gameplane.local_clusters.yaml +++ b/charts/gameplane/crd-manifests/gameplane.local_clusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: clusters.gameplane.local spec: diff --git a/charts/gameplane/crd-manifests/gameplane.local_gameservers.yaml b/charts/gameplane/crd-manifests/gameplane.local_gameservers.yaml index f0c491e74..01279f35c 100644 --- a/charts/gameplane/crd-manifests/gameplane.local_gameservers.yaml +++ b/charts/gameplane/crd-manifests/gameplane.local_gameservers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: gameservers.gameplane.local spec: diff --git a/charts/gameplane/crd-manifests/gameplane.local_gametemplates.yaml b/charts/gameplane/crd-manifests/gameplane.local_gametemplates.yaml index b4f43703d..5bb2187f5 100644 --- a/charts/gameplane/crd-manifests/gameplane.local_gametemplates.yaml +++ b/charts/gameplane/crd-manifests/gameplane.local_gametemplates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: gametemplates.gameplane.local spec: diff --git a/charts/gameplane/crd-manifests/gameplane.local_modules.yaml b/charts/gameplane/crd-manifests/gameplane.local_modules.yaml index fb71d9bc0..214198348 100644 --- a/charts/gameplane/crd-manifests/gameplane.local_modules.yaml +++ b/charts/gameplane/crd-manifests/gameplane.local_modules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: modules.gameplane.local spec: diff --git a/charts/gameplane/crd-manifests/gameplane.local_modulesources.yaml b/charts/gameplane/crd-manifests/gameplane.local_modulesources.yaml index a1758c8da..ca1863a5c 100644 --- a/charts/gameplane/crd-manifests/gameplane.local_modulesources.yaml +++ b/charts/gameplane/crd-manifests/gameplane.local_modulesources.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: modulesources.gameplane.local spec: diff --git a/charts/gameplane/crd-manifests/gameplane.local_networkcaptures.yaml b/charts/gameplane/crd-manifests/gameplane.local_networkcaptures.yaml index dec6e733d..c81b81473 100644 --- a/charts/gameplane/crd-manifests/gameplane.local_networkcaptures.yaml +++ b/charts/gameplane/crd-manifests/gameplane.local_networkcaptures.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: networkcaptures.gameplane.local spec: diff --git a/charts/gameplane/crd-manifests/gameplane.local_restores.yaml b/charts/gameplane/crd-manifests/gameplane.local_restores.yaml index 7e86a46fe..73884d850 100644 --- a/charts/gameplane/crd-manifests/gameplane.local_restores.yaml +++ b/charts/gameplane/crd-manifests/gameplane.local_restores.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - gameplane.local/crd-bundle-sha256: 7424e31dee946368d1f4ebac4f3a8377d2705851ead1731a8adc2b9c1007815e + gameplane.local/crd-bundle-sha256: c5608982f8b8b5619ef0c0bc446995ecd231bf92d3c2dc5615bad2579107e906 controller-gen.kubebuilder.io/version: v0.22.0 name: restores.gameplane.local spec: diff --git a/design.fig b/design.fig index 8b9da20e6..a9a35c64e 100644 Binary files a/design.fig and b/design.fig differ diff --git a/docs/operator-operations.md b/docs/operator-operations.md index 6e3711bc7..0d5b52c5f 100644 --- a/docs/operator-operations.md +++ b/docs/operator-operations.md @@ -263,3 +263,54 @@ cleanup after saving and game ownership have already been restored. Inspect the condition/event identities before deleting retained storage manually. Existing PVCs remain usable after source Backup retention; administrator-managed external snapshots keep their direct-CRD behavior. + +## Scheduled backup retention and provenance + +A `BackupSchedule` only prunes Backups it can prove it created for the server +that exists now. When it fires, it records the schedule's UID and the +GameServer's UID in the Backup's immutable `spec.origin`. Retention and +`concurrencyPolicy: Replace` act only on Backups whose origin matches the live +schedule and server. Deleting a server or schedule and creating a new one with +the same name therefore never deletes, forgets or cancels the old one's +Backups. + +Retention counts a Backup only once it is a usable restore point: `Succeeded` +with a `status.completionTime` and a `status.snapshotID` (and, for CSI +snapshots, a bound `status.volumeSnapshotContentName`). A Backup missing any of +these, such as one still waiting for its Restic summary, does not take a keep +slot, so the previous usable snapshot stays until a newer one has its ID. A +scheduled Backup whose server was replaced before its capture started fails +instead of capturing the new server. + +Backups created before this change, manual Backups and a predecessor's Backups +have no matching origin and are never pruned automatically. To find them: + +```sh +# Backups of one schedule +kubectl get backups -n -l gameplane.local/backup-schedule= \ + -o custom-columns=NAME:.metadata.name,SCHEDULE_UID:.spec.origin.scheduleUID,SERVER_UID:.spec.origin.serverUID,SNAPSHOT:.status.snapshotID,DONE:.status.completionTime +# Every Backup in the namespace, including manual ones without the schedule label +kubectl get backups -n \ + -o custom-columns=NAME:.metadata.name,SCHEDULE:.metadata.labels.gameplane\.local/backup-schedule,SCHEDULE_UID:.spec.origin.scheduleUID,SERVER_UID:.spec.origin.serverUID,SNAPSHOT:.status.snapshotID,DONE:.status.completionTime +kubectl get backupschedule -n -o jsonpath='{.metadata.uid}{"\n"}' +kubectl get gameserver -n -o jsonpath='{.metadata.uid}{"\n"}' +``` + +Rows with an empty or different `SCHEDULE_UID` or `SERVER_UID` are outside +automatic retention. Check that the snapshot is one you no longer need (for +example with `restic snapshots` against the Backup's repository) and that no +Restore references it, then retire it with `kubectl delete backup -n +`. Deleting a restic Backup also forgets its snapshot in the +repository the Backup itself names. + +Rolling the operator back to a release without `spec.origin` brings back the +old name-based behaviour: its retention and `concurrencyPolicy: Replace` select +Backups by the schedule label alone and can delete, and forget the snapshots +of, a predecessor's Backups. Before such a rollback, use the listings above to +find Backups whose origin does not match the live schedule and server, and +note their snapshot IDs or move the ones you must keep out of the schedule's +reach (for example by removing their `gameplane.local/backup-schedule` label). +Roll the operator back together with its CRDs: an older operator does not +know `spec.origin`, so its updates to a scheduled Backup would drop the field +and the apiserver would refuse them, leaving such a Backup unable to finish +deletion. diff --git a/i18n/locales/en/app.json b/i18n/locales/en/app.json index 403c40477..a4c01bd0c 100644 --- a/i18n/locales/en/app.json +++ b/i18n/locales/en/app.json @@ -4979,6 +4979,10 @@ "defaultMessage": "Asleep", "description": "Phase badge: label for a suspended server that is asleep (derived display state)" }, + "web.components.ui.phase_chip.awaiting_snapshot": { + "defaultMessage": "Awaiting snapshot ID", + "description": "Phase badge: label for a backup whose copy finished but whose snapshot ID is not recorded yet, so it cannot be restored yet (derived display state)" + }, "web.components.ui.phase_chip.failed": { "defaultMessage": "Failed", "description": "Phase badge: label for a resource whose last operation failed" diff --git a/operator/api/v1alpha1/backup_types.go b/operator/api/v1alpha1/backup_types.go index 92b791e8f..7f4424baf 100644 --- a/operator/api/v1alpha1/backup_types.go +++ b/operator/api/v1alpha1/backup_types.go @@ -37,6 +37,18 @@ const BackupSnapshotFinalizer = "gameplane.local/backup-snapshot-finalizer" // +kubebuilder:validation:XValidation:rule="self.strategy == 'volume-snapshot' || has(self.repoRef)",message="repoRef is required for the restic-snapshot strategy" // +kubebuilder:validation:XValidation:rule="self.strategy != 'volume-snapshot' || ((!has(self.powerPolicy) || self.powerPolicy == 'preserve') && (!has(self.volumePolicy) || self.volumePolicy == 'primary-only'))",message="stopped and all-data policies require restic-snapshot" type BackupSpec struct { + // Origin records which BackupSchedule generated this Backup and which + // GameServer it captured, by UID. The schedule controller sets it when it + // fires and it can never change afterwards. Retention and the Replace + // concurrency policy act only on Backups whose origin matches the live + // schedule and server, so a schedule or server recreated under the same + // name can never prune or cancel its predecessor's Backups. Absent on + // manual Backups and on scheduled Backups created before this field + // existed; those are never pruned automatically. Immutability is enforced + // on the Backup root, so dropping the whole spec cannot bypass it. + // +optional + Origin *BackupOrigin `json:"origin,omitempty"` + // PowerPolicy preserves power by default; stop-copy-restart temporarily stops under lifecycle ownership. // +kubebuilder:validation:Enum=preserve;stop-copy-restart // +optional @@ -89,6 +101,26 @@ type BackupSpec struct { Tags []string `json:"tags,omitempty"` } +// BackupOrigin is the immutable provenance of a scheduled Backup. +type BackupOrigin struct { + // ScheduleName is the BackupSchedule's name when it fired. + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=253 + ScheduleName string `json:"scheduleName"` + + // ScheduleUID is the UID of the BackupSchedule that fired. + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=128 + ScheduleUID string `json:"scheduleUID"` + + // ServerUID is the UID of the GameServer named by spec.serverRef when the + // schedule fired. Empty when that server did not exist at the time; such + // a Backup is never pruned automatically. + // +kubebuilder:validation:MaxLength=128 + // +optional + ServerUID string `json:"serverUID,omitempty"` +} + // LocalObjectRef references a namespaced object by name only. Assumed // to live in the same namespace as the referring object. type LocalObjectRef struct { @@ -224,6 +256,9 @@ type BackupVolumeCoverage struct { // Backup represents a one-shot backup of a GameServer's data volume. // Recurring backups are expressed as BackupSchedules, which create // Backup objects over time. +// spec.origin is set only at creation: an update may not add, change or remove +// it, including by removing the whole spec. +// +kubebuilder:validation:XValidation:rule="(has(oldSelf.spec) && has(oldSelf.spec.origin)) == (has(self.spec) && has(self.spec.origin)) && (!has(oldSelf.spec) || !has(oldSelf.spec.origin) || self.spec.origin == oldSelf.spec.origin)",message="spec.origin can only be set when the Backup is created and is immutable" type Backup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/operator/api/v1alpha1/zz_generated.deepcopy.go b/operator/api/v1alpha1/zz_generated.deepcopy.go index 823a63765..cbe1a9d9d 100644 --- a/operator/api/v1alpha1/zz_generated.deepcopy.go +++ b/operator/api/v1alpha1/zz_generated.deepcopy.go @@ -251,6 +251,21 @@ func (in *BackupList) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackupOrigin) DeepCopyInto(out *BackupOrigin) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupOrigin. +func (in *BackupOrigin) DeepCopy() *BackupOrigin { + if in == nil { + return nil + } + out := new(BackupOrigin) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BackupRetention) DeepCopyInto(out *BackupRetention) { *out = *in @@ -398,6 +413,11 @@ func (in *BackupScheduleStatus) DeepCopy() *BackupScheduleStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BackupSpec) DeepCopyInto(out *BackupSpec) { *out = *in + if in.Origin != nil { + in, out := &in.Origin, &out.Origin + *out = new(BackupOrigin) + **out = **in + } out.ServerRef = in.ServerRef if in.RepoRef != nil { in, out := &in.RepoRef, &out.RepoRef diff --git a/operator/cmd/main.go b/operator/cmd/main.go index 1f8b4a9a2..26ef209f8 100644 --- a/operator/cmd/main.go +++ b/operator/cmd/main.go @@ -650,8 +650,9 @@ func main() { os.Exit(1) } if err := (&controller.BackupScheduleReconciler{ - Client: mgr.GetClient(), - Scheme: mgr.GetScheme(), + Client: mgr.GetClient(), + APIReader: mgr.GetAPIReader(), + Scheme: mgr.GetScheme(), }).SetupWithManager(mgr); err != nil { setupLog.Error(err, "unable to set up controller", "controller", "BackupSchedule") os.Exit(1) diff --git a/operator/config/crd/gameplane.local_backups.yaml b/operator/config/crd/gameplane.local_backups.yaml index 9e0c3ebc0..69db2de23 100644 --- a/operator/config/crd/gameplane.local_backups.yaml +++ b/operator/config/crd/gameplane.local_backups.yaml @@ -36,6 +36,8 @@ spec: Backup represents a one-shot backup of a GameServer's data volume. Recurring backups are expressed as BackupSchedules, which create Backup objects over time. + spec.origin is set only at creation: an update may not add, change or remove + it, including by removing the whole spec. properties: apiVersion: description: |- @@ -57,6 +59,41 @@ spec: spec: description: BackupSpec is the desired state of a one-shot backup. properties: + origin: + description: |- + Origin records which BackupSchedule generated this Backup and which + GameServer it captured, by UID. The schedule controller sets it when it + fires and it can never change afterwards. Retention and the Replace + concurrency policy act only on Backups whose origin matches the live + schedule and server, so a schedule or server recreated under the same + name can never prune or cancel its predecessor's Backups. Absent on + manual Backups and on scheduled Backups created before this field + existed; those are never pruned automatically. Immutability is enforced + on the Backup root, so dropping the whole spec cannot bypass it. + properties: + scheduleName: + description: ScheduleName is the BackupSchedule's name when it + fired. + maxLength: 253 + minLength: 1 + type: string + scheduleUID: + description: ScheduleUID is the UID of the BackupSchedule that + fired. + maxLength: 128 + minLength: 1 + type: string + serverUID: + description: |- + ServerUID is the UID of the GameServer named by spec.serverRef when the + schedule fired. Empty when that server did not exist at the time; such + a Backup is never pruned automatically. + maxLength: 128 + type: string + required: + - scheduleName + - scheduleUID + type: object powerPolicy: description: PowerPolicy preserves power by default; stop-copy-restart temporarily stops under lifecycle ownership. @@ -352,6 +389,11 @@ spec: type: string type: object type: object + x-kubernetes-validations: + - message: spec.origin can only be set when the Backup is created and is immutable + rule: (has(oldSelf.spec) && has(oldSelf.spec.origin)) == (has(self.spec) + && has(self.spec.origin)) && (!has(oldSelf.spec) || !has(oldSelf.spec.origin) + || self.spec.origin == oldSelf.spec.origin) served: true storage: true subresources: diff --git a/operator/internal/controller/backup_controller.go b/operator/internal/controller/backup_controller.go index 14546a7ae..824732e30 100644 --- a/operator/internal/controller/backup_controller.go +++ b/operator/internal/controller/backup_controller.go @@ -344,6 +344,27 @@ func (r *BackupReconciler) reconcile(ctx context.Context, req ctrl.Request) (ctr } return ctrl.Result{}, err } + // A scheduled Backup records the UID of the server its schedule fired for. + // If that server was replaced by a new one under the same name before the + // capture started, fail instead of capturing the replacement's data under + // the predecessor's provenance (#960). A cached mismatch is confirmed + // against the API server so a watch lag cannot fail a valid Backup. + if o := b.Spec.Origin; o != nil && o.ServerUID != "" && string(gs.UID) != o.ServerUID { + if err := r.backupAPIReader().Get(ctx, types.NamespacedName{ + Namespace: b.Namespace, Name: b.Spec.ServerRef.Name, + }, &gs); err != nil { + if apierrors.IsNotFound(err) { + return r.fail(ctx, &b, + fmt.Sprintf("GameServer %q not found in namespace %s", b.Spec.ServerRef.Name, b.Namespace)) + } + return ctrl.Result{}, fmt.Errorf("get server %s: %w", b.Spec.ServerRef.Name, err) + } + if string(gs.UID) != o.ServerUID { + return r.fail(ctx, &b, fmt.Sprintf( + "GameServer %q was replaced after schedule %q fired this backup; not capturing the new server", + b.Spec.ServerRef.Name, o.ScheduleName)) + } + } // Volume-snapshot backups take a CSI snapshot of the data PVC rather // than running restic, so they branch off here — before the restic diff --git a/operator/internal/controller/backupschedule_controller.go b/operator/internal/controller/backupschedule_controller.go index a584525bf..031e3f3be 100644 --- a/operator/internal/controller/backupschedule_controller.go +++ b/operator/internal/controller/backupschedule_controller.go @@ -11,6 +11,7 @@ import ( apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/types" "github.com/robfig/cron/v3" ctrl "sigs.k8s.io/controller-runtime" @@ -38,11 +39,17 @@ const conditionScheduleValid = "ScheduleValid" // is enforced by deleting oldest Backups that fall outside keep-* rules. type BackupScheduleReconciler struct { client.Client - Scheme *runtime.Scheme + // APIReader reads the target GameServer uncached in liveServerUID, so a + // watch lag right after a server is recreated can never make the old + // server's UID look live (#960). Wired from mgr.GetAPIReader() in + // cmd/main.go; may be nil in tests, in which case the cached Client is used. + APIReader client.Reader + Scheme *runtime.Scheme } // +kubebuilder:rbac:groups=gameplane.local,resources=backupschedules,verbs=get;list;watch // +kubebuilder:rbac:groups=gameplane.local,resources=backups,verbs=get;list;watch +// +kubebuilder:rbac:groups=gameplane.local,resources=gameservers,verbs=get;list;watch func (r *BackupScheduleReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) { logger := log.FromContext(ctx) @@ -119,7 +126,11 @@ func (r *BackupScheduleReconciler) Reconcile(ctx context.Context, req ctrl.Reque return ctrl.Result{}, err } if fire { - if err := r.fire(ctx, &sched, now); err != nil { + serverUID, err := r.liveServerUID(ctx, &sched) + if err != nil { + return ctrl.Result{}, err + } + if err := r.fire(ctx, &sched, now, serverUID); err != nil { return ctrl.Result{}, err } } @@ -168,8 +179,12 @@ func (r *BackupScheduleReconciler) SetupWithManager(mgr ctrl.Manager) error { Complete(r) } +// fire creates the Backup for one schedule occurrence. Besides the +// name-based schedule label (kept for listing), it records the schedule's and +// the server's UIDs in the immutable spec.origin: retention and the Replace +// policy only ever act on Backups whose origin matches the live objects. func (r *BackupScheduleReconciler) fire( - ctx context.Context, sched *gameplanev1alpha1.BackupSchedule, at time.Time, + ctx context.Context, sched *gameplanev1alpha1.BackupSchedule, at time.Time, serverUID types.UID, ) error { b := &gameplanev1alpha1.Backup{ ObjectMeta: metav1.ObjectMeta{ @@ -178,6 +193,11 @@ func (r *BackupScheduleReconciler) fire( Labels: map[string]string{"gameplane.local/backup-schedule": sched.Name}, }, Spec: gameplanev1alpha1.BackupSpec{ + Origin: &gameplanev1alpha1.BackupOrigin{ + ScheduleName: sched.Name, + ScheduleUID: string(sched.UID), + ServerUID: string(serverUID), + }, ServerRef: sched.Spec.ServerRef, RepoRef: sched.Spec.RepoRef, Strategy: sched.Spec.Strategy, @@ -213,7 +233,9 @@ func (r *BackupScheduleReconciler) inFlightBackups( } // updateLastSuccessfulTime advances Status.LastSuccessfulTime to the -// completion time of the newest Succeeded Backup this schedule owns. +// completion time of the newest restorable Backup this schedule provably +// generated for the live server (backupFromSchedule), so a schedule recreated +// under a reused name never inherits its predecessor's last success. // It only ever moves forward: retention trimming (or manual cleanup) can // delete the Backup that produced the current high-water mark, and // re-deriving from whichever succeeded Backups remain must never rewind @@ -227,10 +249,20 @@ func (r *BackupScheduleReconciler) updateLastSuccessfulTime( client.MatchingLabels{"gameplane.local/backup-schedule": sched.Name}); err != nil { return err } + serverUID, err := r.liveServerUID(ctx, sched) + if err != nil { + return err + } var newest *metav1.Time for i := range list.Items { b := &list.Items[i] - if b.Status.Phase != gameplanev1alpha1.BackupPhaseSucceeded || b.Status.CompletionTime == nil { + if !backupFromSchedule(b, sched, serverUID) { + continue + } + // A Succeeded Backup still waiting for its snapshot identity is not a + // recovery point yet (Restore would refuse it), so it must not count as + // the schedule's last success. + if !backupRestorable(b) { continue } if newest == nil || b.Status.CompletionTime.After(newest.Time) { @@ -248,6 +280,11 @@ func (r *BackupScheduleReconciler) updateLastSuccessfulTime( // concurrencyPolicy: Forbid skips while a previous backup is still in flight, // Replace deletes the in-flight ones first, Allow always fires. An empty policy // is treated as the CRD default (Forbid). +// +// Forbid is non-destructive, so any in-flight Backup carrying the schedule +// label holds it back. Replace is destructive: it only cancels Backups this +// exact schedule generated for the live server (see backupFromSchedule), never +// a predecessor's that happens to share the name. func (r *BackupScheduleReconciler) shouldFire( ctx context.Context, sched *gameplanev1alpha1.BackupSchedule, now, scheduled time.Time, active []gameplanev1alpha1.Backup, @@ -263,7 +300,14 @@ func (r *BackupScheduleReconciler) shouldFire( case "Allow": // No constraint. case "Replace": + serverUID, err := r.liveServerUID(ctx, sched) + if err != nil { + return false, err + } for i := range active { + if !backupFromSchedule(&active[i], sched, serverUID) { + continue + } if err := r.Delete(ctx, &active[i]); err != nil && !apierrors.IsNotFound(err) { return false, fmt.Errorf("replace in-flight backup %s: %w", active[i].Name, err) } diff --git a/operator/internal/controller/backupschedule_envtest_test.go b/operator/internal/controller/backupschedule_envtest_test.go index 916f14117..d98d83f3b 100644 --- a/operator/internal/controller/backupschedule_envtest_test.go +++ b/operator/internal/controller/backupschedule_envtest_test.go @@ -8,6 +8,7 @@ import ( "testing" "time" + apierrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/meta" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -128,8 +129,8 @@ func TestSchedule_InvalidCronDoesNotPanic(t *testing.T) { } // TestSchedule_RetentionTrimsSucceededBackups — Pre-create labelled -// succeeded Backups and confirm KeepLast=2 trims down to 2 keeping -// the newest. +// succeeded Backups the schedule fired (spec.origin) and confirm KeepLast=2 +// trims down to 2 keeping the newest. func TestSchedule_RetentionTrimsSucceededBackups(t *testing.T) { ns := newNamespace(t) startMgr(t, ns, withScheduleReconciler()) @@ -138,11 +139,20 @@ func TestSchedule_RetentionTrimsSucceededBackups(t *testing.T) { t.Fatalf("create secret: %v", err) } + // Schedule with KeepLast=2 — trim runs every Reconcile. We use a + // daily-midnight cron AND pre-set LastScheduleTime to "now" so the + // scheduler is dormant during the test (otherwise an extra Backup + // would appear in the namespace and skew the count). + sched := buildBackupSchedule(ns, "smp-sched", "smp", "repo", "0 0 * * *", + &gameplanev1alpha1.BackupRetention{KeepLast: 2}) + origin := createScheduleWithServer(t, sched) + // 5 succeeded backups, oldest first → newest last. for i := 0; i < 5; i++ { name := "smp-sched-bk-" + []string{"a", "b", "c", "d", "e"}[i] b := buildBackup(ns, name, "smp", "repo") b.Labels = map[string]string{"gameplane.local/backup-schedule": "smp-sched"} + b.Spec.Origin = origin if err := k8sClient.Create(context.Background(), b); err != nil { t.Fatalf("create backup %d: %v", i, err) } @@ -150,22 +160,14 @@ func TestSchedule_RetentionTrimsSucceededBackups(t *testing.T) { now := metav1.NewTime(time.Now().Add(time.Duration(i) * time.Second)) b.Status.Phase = gameplanev1alpha1.BackupPhaseSucceeded b.Status.CompletionTime = &now + b.Status.SnapshotID = "snap-" + name size := resource.MustParse("1Mi") b.Status.Size = &size if err := k8sClient.Status().Update(context.Background(), b); err != nil { t.Fatalf("status update %d: %v", i, err) } } - - // Schedule with KeepLast=2 — trim runs every Reconcile. We use a - // daily-midnight cron AND pre-set LastScheduleTime to "now" so the - // scheduler is dormant during the test (otherwise an extra Backup - // would appear in the namespace and skew the count). - sched := buildBackupSchedule(ns, "smp-sched", "smp", "repo", "0 0 * * *", - &gameplanev1alpha1.BackupRetention{KeepLast: 2}) - if err := k8sClient.Create(context.Background(), sched); err != nil { - t.Fatalf("create schedule: %v", err) - } + // Also triggers the reconcile that trims the Backups created above. freezeSchedule(t, ns, sched.Name) eventually(t, func() (bool, string) { @@ -197,9 +199,14 @@ func TestSchedule_DoesNotTrimRunningBackups(t *testing.T) { t.Fatalf("create secret: %v", err) } + sched := buildBackupSchedule(ns, "smp-sched", "smp", "repo", "0 0 * * *", + &gameplanev1alpha1.BackupRetention{KeepLast: 1}) + origin := createScheduleWithServer(t, sched) + // One Running, three Succeeded. running := buildBackup(ns, "smp-sched-running", "smp", "repo") running.Labels = map[string]string{"gameplane.local/backup-schedule": "smp-sched"} + running.Spec.Origin = origin if err := k8sClient.Create(context.Background(), running); err != nil { t.Fatalf("create running backup: %v", err) } @@ -212,22 +219,19 @@ func TestSchedule_DoesNotTrimRunningBackups(t *testing.T) { name := "smp-sched-old-" + []string{"a", "b", "c"}[i] b := buildBackup(ns, name, "smp", "repo") b.Labels = map[string]string{"gameplane.local/backup-schedule": "smp-sched"} + b.Spec.Origin = origin if err := k8sClient.Create(context.Background(), b); err != nil { t.Fatalf("create old %d: %v", i, err) } now := metav1.NewTime(time.Now().Add(time.Duration(i) * time.Second)) b.Status.Phase = gameplanev1alpha1.BackupPhaseSucceeded b.Status.CompletionTime = &now + b.Status.SnapshotID = "snap-" + name if err := k8sClient.Status().Update(context.Background(), b); err != nil { t.Fatalf("status update %d: %v", i, err) } } - - sched := buildBackupSchedule(ns, "smp-sched", "smp", "repo", "0 0 * * *", - &gameplanev1alpha1.BackupRetention{KeepLast: 1}) - if err := k8sClient.Create(context.Background(), sched); err != nil { - t.Fatalf("create schedule: %v", err) - } + // Also triggers the reconcile that trims the Backups created above. freezeSchedule(t, ns, sched.Name) eventually(t, func() (bool, string) { @@ -263,11 +267,28 @@ func TestSchedule_DoesNotTrimBackupReferencedByActiveRestore(t *testing.T) { t.Fatalf("create secret: %v", err) } + // KeepLast=1 — without pinning, would delete -old and -mid. + sched := buildBackupSchedule(ns, "smp-sched", "smp", "repo", "0 0 * * *", + &gameplanev1alpha1.BackupRetention{KeepLast: 1}) + origin := createScheduleWithServer(t, sched) + + // Active Restore pins the OLDEST backup. It exists before the Backups so + // no retention pass can run while the pin is missing. + rs := buildRestore(ns, "rs-active", "smp-sched-old", "smp") + if err := k8sClient.Create(context.Background(), rs); err != nil { + t.Fatalf("create restore: %v", err) + } + rs.Status.Phase = gameplanev1alpha1.RestorePhaseRunning + if err := k8sClient.Status().Update(context.Background(), rs); err != nil { + t.Fatalf("status update restore: %v", err) + } + // 3 succeeded backups, oldest first. names := []string{"smp-sched-old", "smp-sched-mid", "smp-sched-new"} for i, n := range names { b := buildBackup(ns, n, "smp", "repo") b.Labels = map[string]string{"gameplane.local/backup-schedule": "smp-sched"} + b.Spec.Origin = origin if err := k8sClient.Create(context.Background(), b); err != nil { t.Fatalf("create %s: %v", n, err) } @@ -280,22 +301,7 @@ func TestSchedule_DoesNotTrimBackupReferencedByActiveRestore(t *testing.T) { } } - // Active Restore pins the OLDEST backup. - rs := buildRestore(ns, "rs-active", "smp-sched-old", "smp") - if err := k8sClient.Create(context.Background(), rs); err != nil { - t.Fatalf("create restore: %v", err) - } - rs.Status.Phase = gameplanev1alpha1.RestorePhaseRunning - if err := k8sClient.Status().Update(context.Background(), rs); err != nil { - t.Fatalf("status update restore: %v", err) - } - - // KeepLast=1 — without pinning, would delete -old and -mid. - sched := buildBackupSchedule(ns, "smp-sched", "smp", "repo", "0 0 * * *", - &gameplanev1alpha1.BackupRetention{KeepLast: 1}) - if err := k8sClient.Create(context.Background(), sched); err != nil { - t.Fatalf("create schedule: %v", err) - } + // Also triggers the reconcile that trims the Backups created above. freezeSchedule(t, ns, sched.Name) eventually(t, func() (bool, string) { @@ -452,8 +458,16 @@ func TestSchedule_ReplaceDeletesInFlight(t *testing.T) { if err := k8sClient.Create(context.Background(), buildResticRepoSecret(ns, "repo")); err != nil { t.Fatalf("create secret: %v", err) } + // Suspended while the in-flight Backup it fired is set up, so no cron tick + // can fire before that Backup exists. + sched := buildBackupSchedule(ns, "smp-sched", "smp", "repo", "* * * * *", nil) + sched.Spec.ConcurrencyPolicy = "Replace" + sched.Spec.Suspend = true + origin := createScheduleWithServer(t, sched) + running := buildBackup(ns, "old-inflight", "smp", "repo") running.Labels = map[string]string{"gameplane.local/backup-schedule": "smp-sched"} + running.Spec.Origin = origin if err := k8sClient.Create(context.Background(), running); err != nil { t.Fatalf("create running backup: %v", err) } @@ -462,13 +476,14 @@ func TestSchedule_ReplaceDeletesInFlight(t *testing.T) { t.Fatalf("status update running: %v", err) } - sched := buildBackupSchedule(ns, "smp-sched", "smp", "repo", "* * * * *", nil) - sched.Spec.ConcurrencyPolicy = "Replace" - if err := k8sClient.Create(context.Background(), sched); err != nil { - t.Fatalf("create schedule: %v", err) + // Resume, and pin LastScheduleTime so the next occurrence is overdue (a new + // schedule no longer fires on its first reconcile). + sched = getSchedule(t, ns, "smp-sched") + sched.Spec.Suspend = false + if err := k8sClient.Update(context.Background(), sched); err != nil { + t.Fatalf("resume schedule: %v", err) } - // A new schedule no longer fires on its first reconcile; pin - // LastScheduleTime so the next occurrence is overdue. + sched = getSchedule(t, ns, "smp-sched") fiveMinAgo := metav1.NewTime(time.Now().Add(-5 * time.Minute)) sched.Status.LastScheduleTime = &fiveMinAgo if err := k8sClient.Status().Update(context.Background(), sched); err != nil { @@ -557,13 +572,12 @@ func TestSchedule_LastSuccessfulTimeAdvancesAndNeverRewinds(t *testing.T) { // Daily-midnight cron, frozen dormant so the scheduler itself doesn't // fire an extra Backup that would confuse "newest". sched := buildBackupSchedule(ns, "smp-sched", "smp", "repo", "0 0 * * *", nil) - if err := k8sClient.Create(context.Background(), sched); err != nil { - t.Fatalf("create schedule: %v", err) - } + origin := createScheduleWithServer(t, sched) freezeSchedule(t, ns, sched.Name) older := buildBackup(ns, "smp-sched-older", "smp", "repo") older.Labels = map[string]string{"gameplane.local/backup-schedule": "smp-sched"} + older.Spec.Origin = origin if err := k8sClient.Create(context.Background(), older); err != nil { t.Fatalf("create older backup: %v", err) } @@ -573,18 +587,21 @@ func TestSchedule_LastSuccessfulTimeAdvancesAndNeverRewinds(t *testing.T) { t1 := metav1.NewTime(time.Now().Add(-time.Hour).Truncate(time.Second)) older.Status.Phase = gameplanev1alpha1.BackupPhaseSucceeded older.Status.CompletionTime = &t1 + older.Status.SnapshotID = "snap-older" if err := k8sClient.Status().Update(context.Background(), older); err != nil { t.Fatalf("status update older backup: %v", err) } newer := buildBackup(ns, "smp-sched-newer", "smp", "repo") newer.Labels = map[string]string{"gameplane.local/backup-schedule": "smp-sched"} + newer.Spec.Origin = origin if err := k8sClient.Create(context.Background(), newer); err != nil { t.Fatalf("create newer backup: %v", err) } t2 := metav1.NewTime(time.Now().Truncate(time.Second)) newer.Status.Phase = gameplanev1alpha1.BackupPhaseSucceeded newer.Status.CompletionTime = &t2 + newer.Status.SnapshotID = "snap-newer" if err := k8sClient.Status().Update(context.Background(), newer); err != nil { t.Fatalf("status update newer backup: %v", err) } @@ -677,8 +694,61 @@ func TestSchedule_DeletePreservesBackups(t *testing.T) { }) } +// TestBackupOrigin_Immutable — spec.origin is the provenance retention prunes +// by (#960). The apiserver must refuse changing, removing or adding it after +// the Backup is created. +func TestBackupOrigin_Immutable(t *testing.T) { + ns := newNamespace(t) + ctx := context.Background() + origin := &gameplanev1alpha1.BackupOrigin{ScheduleName: "smp-sched", ScheduleUID: "sched-uid", ServerUID: "srv-uid"} + + stamped := buildBackup(ns, "stamped", "smp", "repo") + stamped.Spec.Origin = origin + if err := k8sClient.Create(ctx, stamped); err != nil { + t.Fatalf("create backup with origin: %v", err) + } + changed := stamped.DeepCopy() + changed.Spec.Origin = &gameplanev1alpha1.BackupOrigin{ScheduleName: "smp-sched", ScheduleUID: "other-uid", ServerUID: "srv-uid"} + if err := k8sClient.Update(ctx, changed); !apierrors.IsInvalid(err) { + t.Errorf("changing spec.origin: err = %v, want an Invalid refusal", err) + } + removed := stamped.DeepCopy() + removed.Spec.Origin = nil + if err := k8sClient.Update(ctx, removed); !apierrors.IsInvalid(err) { + t.Errorf("removing spec.origin: err = %v, want an Invalid refusal", err) + } + + manual := buildBackup(ns, "manual", "smp", "repo") + if err := k8sClient.Create(ctx, manual); err != nil { + t.Fatalf("create backup without origin: %v", err) + } + manual.Spec.Origin = origin + if err := k8sClient.Update(ctx, manual); !apierrors.IsInvalid(err) { + t.Errorf("adding spec.origin after creation: err = %v, want an Invalid refusal", err) + } +} + // ---------- helpers used only by this file ---------- +// createScheduleWithServer creates the GameServer sched targets and then the +// schedule, and returns the spec.origin the schedule stamps on Backups it +// fires. Retention and Replace only act on Backups carrying it (#960). +func createScheduleWithServer(t *testing.T, sched *gameplanev1alpha1.BackupSchedule) *gameplanev1alpha1.BackupOrigin { + t.Helper() + gs := buildGameServer(sched.Namespace, sched.Spec.ServerRef.Name, "scheduled-tmpl") + if err := k8sClient.Create(context.Background(), gs); err != nil { + t.Fatalf("create game server: %v", err) + } + if err := k8sClient.Create(context.Background(), sched); err != nil { + t.Fatalf("create schedule: %v", err) + } + return &gameplanev1alpha1.BackupOrigin{ + ScheduleName: sched.Name, + ScheduleUID: string(sched.UID), + ServerUID: string(gs.UID), + } +} + func listBackupsForSchedule(t *testing.T, ns, schedName string) []gameplanev1alpha1.Backup { t.Helper() var list gameplanev1alpha1.BackupList diff --git a/operator/internal/controller/retention.go b/operator/internal/controller/retention.go index 40ecadeed..9e8773e8f 100644 --- a/operator/internal/controller/retention.go +++ b/operator/internal/controller/retention.go @@ -6,15 +6,26 @@ import ( "sort" "time" + apierrors "k8s.io/apimachinery/pkg/api/errors" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/types" "sigs.k8s.io/controller-runtime/pkg/client" gameplanev1alpha1 "github.com/GameplanePanel/gameplane/operator/api/v1alpha1" ) // trimBackups enforces the schedule's retention policy by deleting -// Backups that fall outside all keep-* buckets. Backup objects still -// in-flight (Phase != Succeeded) are never deleted. Without a positive -// keep rule, retention is disabled. +// Backups that fall outside all keep-* buckets. Without a positive keep rule, +// retention is disabled. +// +// Only Backups this exact schedule generated for the live GameServer are +// candidates (backupFromSchedule): a schedule or server recreated under the +// same name never prunes its predecessor's snapshots, and Backups without +// recorded provenance (manual ones, or scheduled before spec.origin existed) +// are left for an operator to retire. Among those, only restorable Backups +// (backupRestorable) occupy a keep slot or can be pruned: a Backup still in +// flight, or Succeeded but waiting for its snapshot identity, must never push +// the last usable recovery point out of the window. func (r *BackupScheduleReconciler) trimBackups( ctx context.Context, sched *gameplanev1alpha1.BackupSchedule, ) error { @@ -25,6 +36,16 @@ func (r *BackupScheduleReconciler) trimBackups( return nil } + serverUID, err := r.liveServerUID(ctx, sched) + if err != nil { + return err + } + if serverUID == "" { + // The server is gone or is a different object than the one this + // schedule was created for: no Backup can be proven to belong to it. + return nil + } + var list gameplanev1alpha1.BackupList if err := r.List(ctx, &list, client.InNamespace(sched.Namespace), @@ -47,13 +68,11 @@ func (r *BackupScheduleReconciler) trimBackups( pinned[rs.Spec.BackupRef.Name] = true } - // Only succeeded backups are candidates for trimming. + // Only restorable backups this schedule provably generated are + // candidates for trimming. succeeded := make([]gameplanev1alpha1.Backup, 0, len(list.Items)) for _, b := range list.Items { - if b.Status.Phase != gameplanev1alpha1.BackupPhaseSucceeded { - continue - } - if b.Status.CompletionTime == nil { + if !backupFromSchedule(&b, sched, serverUID) || !backupRestorable(&b) { continue } // A Backup already being deleted is held by its snapshot finalizer and @@ -87,6 +106,62 @@ func (r *BackupScheduleReconciler) trimBackups( return nil } +// backupFromSchedule reports whether b was generated by this exact +// BackupSchedule object (by UID, not by its reusable name) for the GameServer +// whose live UID is serverUID. Backups without spec.origin, or whose origin +// names no server, never match. +func backupFromSchedule( + b *gameplanev1alpha1.Backup, sched *gameplanev1alpha1.BackupSchedule, serverUID types.UID, +) bool { + o := b.Spec.Origin + return o != nil && sched.UID != "" && serverUID != "" && + o.ScheduleUID == string(sched.UID) && o.ScheduleName == sched.Name && + o.ServerUID == string(serverUID) +} + +// backupRestorable reports whether b meets Restore's identity prerequisites: +// Succeeded with a completion time and a snapshot ID, plus the bound +// VolumeSnapshotContent for a CSI snapshot (see restore_controller.go and +// restore_volumesnapshot.go). A Succeeded Backup whose Restic summary has not +// been read yet has no snapshot ID and is not a recovery point. +func backupRestorable(b *gameplanev1alpha1.Backup) bool { + if b.Status.Phase != gameplanev1alpha1.BackupPhaseSucceeded || + b.Status.CompletionTime == nil || b.Status.SnapshotID == "" { + return false + } + if b.Spec.Strategy == "volume-snapshot" && b.Status.VolumeSnapshotContentName == "" { + return false + } + return true +} + +// liveServerUID returns the UID of the GameServer the schedule targets, or "" +// when no such server exists. It also returns "" when the schedule is +// controlled by a GameServer other than the live one (an inline schedule whose +// owner was deleted and recreated before garbage collection removed it), so a +// stale schedule can never claim the new server's Backups. +func (r *BackupScheduleReconciler) liveServerUID( + ctx context.Context, sched *gameplanev1alpha1.BackupSchedule, +) (types.UID, error) { + var reader client.Reader = r.Client + if r.APIReader != nil { + reader = r.APIReader + } + var gs gameplanev1alpha1.GameServer + err := reader.Get(ctx, types.NamespacedName{Namespace: sched.Namespace, Name: sched.Spec.ServerRef.Name}, &gs) + if apierrors.IsNotFound(err) { + return "", nil + } + if err != nil { + return "", fmt.Errorf("get server %s: %w", sched.Spec.ServerRef.Name, err) + } + if owner := metav1.GetControllerOf(sched); owner != nil && + owner.Kind == "GameServer" && owner.UID != gs.UID { + return "", nil + } + return gs.UID, nil +} + // selectKept returns the set of Backup names that must be kept under // the given retention policy. The policy mirrors restic's keep-* // semantics: for each time bucket (hourly, daily, …) and for each of diff --git a/operator/internal/controller/retention_disabled_test.go b/operator/internal/controller/retention_disabled_test.go index ca90f3275..bf4ab3975 100644 --- a/operator/internal/controller/retention_disabled_test.go +++ b/operator/internal/controller/retention_disabled_test.go @@ -94,11 +94,14 @@ func TestTrimBackups_AnyPositiveRuleEnablesRetention(t *testing.T) { t.Run(tc.name, func(t *testing.T) { s := scrapeScheme(t) cl := fake.NewClientBuilder().WithScheme(s). - WithObjects(retentionBackupWithSnapshotFinalizer("newest", 2026), retentionBackupWithSnapshotFinalizer("oldest", 2024)).Build() + WithObjects(retentionServer(), retentionBackupWithSnapshotFinalizer("newest", 2026), retentionBackupWithSnapshotFinalizer("oldest", 2024)).Build() r := &BackupScheduleReconciler{Client: cl, Scheme: s} sched := &gameplanev1alpha1.BackupSchedule{ - ObjectMeta: metav1.ObjectMeta{Name: "sched", Namespace: "ns"}, - Spec: gameplanev1alpha1.BackupScheduleSpec{Retention: &tc.retention}, + ObjectMeta: metav1.ObjectMeta{Name: "sched", Namespace: "ns", UID: retentionScheduleUID}, + Spec: gameplanev1alpha1.BackupScheduleSpec{ + ServerRef: gameplanev1alpha1.LocalObjectRef{Name: "srv"}, + Retention: &tc.retention, + }, } if err := r.trimBackups(context.Background(), sched); err != nil { @@ -131,9 +134,31 @@ func (c *retentionListCountingClient) List(ctx context.Context, list client.Obje return c.Client.List(ctx, list, opts...) } -// retentionBackupWithSnapshotFinalizer creates a completed backup for ns/sched. -// The finalizer keeps deletion observable through DeletionTimestamp, and distinct -// completion years put fixtures in separate buckets for every time-based rule. +// Identities of the schedule ns/sched and its GameServer ns/srv. Retention +// only prunes Backups whose spec.origin carries both (#960). +const ( + retentionScheduleUID = "sched-uid" + retentionServerUID = "srv-uid" +) + +// retentionServer is the live GameServer ns/srv the schedule fixtures target. +func retentionServer() *gameplanev1alpha1.GameServer { + return &gameplanev1alpha1.GameServer{ObjectMeta: metav1.ObjectMeta{ + Name: "srv", Namespace: "ns", UID: retentionServerUID, + }} +} + +// retentionOrigin is the spec.origin the schedule ns/sched stamps when it fires. +func retentionOrigin() *gameplanev1alpha1.BackupOrigin { + return &gameplanev1alpha1.BackupOrigin{ + ScheduleName: "sched", ScheduleUID: retentionScheduleUID, ServerUID: retentionServerUID, + } +} + +// retentionBackupWithSnapshotFinalizer creates a completed, restorable backup +// that ns/sched fired for ns/srv. The finalizer keeps deletion observable +// through DeletionTimestamp, and distinct completion years put fixtures in +// separate buckets for every time-based rule. func retentionBackupWithSnapshotFinalizer(name string, year int) *gameplanev1alpha1.Backup { ct := metav1.NewTime(time.Date(year, time.June, 15, 12, 0, 0, 0, time.UTC)) return &gameplanev1alpha1.Backup{ @@ -143,9 +168,14 @@ func retentionBackupWithSnapshotFinalizer(name string, year int) *gameplanev1alp Labels: map[string]string{"gameplane.local/backup-schedule": "sched"}, Finalizers: []string{gameplanev1alpha1.BackupSnapshotFinalizer}, }, + Spec: gameplanev1alpha1.BackupSpec{ + ServerRef: gameplanev1alpha1.LocalObjectRef{Name: "srv"}, + Origin: retentionOrigin(), + }, Status: gameplanev1alpha1.BackupStatus{ Phase: gameplanev1alpha1.BackupPhaseSucceeded, CompletionTime: &ct, + SnapshotID: "snap-" + name, }, } } diff --git a/operator/internal/controller/retention_provenance_test.go b/operator/internal/controller/retention_provenance_test.go new file mode 100644 index 000000000..862d6f915 --- /dev/null +++ b/operator/internal/controller/retention_provenance_test.go @@ -0,0 +1,378 @@ +package controller + +import ( + "context" + "strings" + "testing" + "time" + + batchv1 "k8s.io/api/batch/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/types" + ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + + gameplanev1alpha1 "github.com/GameplanePanel/gameplane/operator/api/v1alpha1" +) + +const ( + provNS = "games" + provServer = "arena" + provSchedule = "arena-auto" +) + +// provServerObj is the GameServer "arena" with the given UID. +func provServerObj(uid types.UID) *gameplanev1alpha1.GameServer { + return &gameplanev1alpha1.GameServer{ObjectMeta: metav1.ObjectMeta{ + Name: provServer, Namespace: provNS, UID: uid, + }} +} + +// provScheduleObj is the inline schedule "arena-auto" with the given UID and +// repository Secret, controlled by the GameServer with serverUID. It was just +// created and its yearly cron is far from due, so a reconcile never fires it. +func provScheduleObj(uid, serverUID types.UID, repo string, keepLast int32) *gameplanev1alpha1.BackupSchedule { + isController := true + return &gameplanev1alpha1.BackupSchedule{ + ObjectMeta: metav1.ObjectMeta{ + Name: provSchedule, Namespace: provNS, UID: uid, + CreationTimestamp: metav1.Now(), + OwnerReferences: []metav1.OwnerReference{{ + APIVersion: gameplanev1alpha1.GroupVersion.String(), Kind: "GameServer", + Name: provServer, UID: serverUID, Controller: &isController, + }}, + }, + Spec: gameplanev1alpha1.BackupScheduleSpec{ + ServerRef: gameplanev1alpha1.LocalObjectRef{Name: provServer}, + Schedule: "0 0 1 1 *", + RepoRef: &gameplanev1alpha1.SecretKeySelector{Name: repo, Key: "repo"}, + Strategy: "restic-snapshot", + Retention: &gameplanev1alpha1.BackupRetention{KeepLast: keepLast}, + }, + } +} + +// provBackup is a Backup labelled for "arena-auto", fired by the schedule with +// schedUID for the server with serverUID (an empty schedUID means no recorded +// origin). A non-empty snapshotID makes it restorable; completed is how long +// ago it finished. It carries the snapshot finalizer so a retention Delete is +// visible as a deletion timestamp. +func provBackup(name, schedUID, serverUID, repo, snapshotID string, phase gameplanev1alpha1.BackupPhase, completed time.Duration) *gameplanev1alpha1.Backup { + b := &gameplanev1alpha1.Backup{ + ObjectMeta: metav1.ObjectMeta{ + Name: name, Namespace: provNS, UID: types.UID(name + "-uid"), + Labels: map[string]string{"gameplane.local/backup-schedule": provSchedule}, + Finalizers: []string{gameplanev1alpha1.BackupSnapshotFinalizer}, + }, + Spec: gameplanev1alpha1.BackupSpec{ + ServerRef: gameplanev1alpha1.LocalObjectRef{Name: provServer}, + RepoRef: &gameplanev1alpha1.SecretKeySelector{Name: repo, Key: "repo"}, + Strategy: "restic-snapshot", + }, + Status: gameplanev1alpha1.BackupStatus{Phase: phase, SnapshotID: snapshotID}, + } + if schedUID != "" { + b.Spec.Origin = &gameplanev1alpha1.BackupOrigin{ + ScheduleName: provSchedule, ScheduleUID: schedUID, ServerUID: serverUID, + } + } + if phase == gameplanev1alpha1.BackupPhaseSucceeded || phase == gameplanev1alpha1.BackupPhaseFailed { + ct := metav1.NewTime(time.Now().Add(-completed).Truncate(time.Second)) + b.Status.CompletionTime = &ct + } + return b +} + +func provReconcile(t *testing.T, objs ...client.Object) client.Client { + t.Helper() + s := scrapeScheme(t) + cl := fake.NewClientBuilder().WithScheme(s).WithObjects(objs...). + WithStatusSubresource(&gameplanev1alpha1.BackupSchedule{}, &gameplanev1alpha1.Backup{}).Build() + r := &BackupScheduleReconciler{Client: cl, Scheme: s} + req := ctrl.Request{NamespacedName: types.NamespacedName{Namespace: provNS, Name: provSchedule}} + if _, err := r.Reconcile(context.Background(), req); err != nil { + t.Fatalf("reconcile schedule: %v", err) + } + return cl +} + +func provDeleting(t *testing.T, cl client.Client, name string) bool { + t.Helper() + var b gameplanev1alpha1.Backup + if err := cl.Get(context.Background(), types.NamespacedName{Namespace: provNS, Name: name}, &b); err != nil { + t.Fatalf("get backup %s: %v", name, err) + } + return !b.DeletionTimestamp.IsZero() +} + +// provIntact asserts the Backup still exists as the same object (same UID) +// and carries no deletion timestamp. Only a deletion starts the snapshot +// finalizer that builds the `restic forget --prune` Job (backup_forget.go), so +// an intact Backup cannot have its snapshot forgotten. +func provIntact(t *testing.T, cl client.Client, want *gameplanev1alpha1.Backup) { + t.Helper() + var b gameplanev1alpha1.Backup + if err := cl.Get(context.Background(), types.NamespacedName{Namespace: provNS, Name: want.Name}, &b); err != nil { + t.Fatalf("get backup %s: %v", want.Name, err) + } + if b.UID != want.UID { + t.Errorf("backup %s UID = %q, want the original %q", want.Name, b.UID, want.UID) + } + if !b.DeletionTimestamp.IsZero() { + t.Errorf("backup %s got a deletion timestamp, which would forget its snapshot", want.Name) + } +} + +// #960: a GameServer and its inline schedule are deleted and recreated under +// the same names, with new UIDs and a different repository Secret. The first +// reconcile of the new schedule, before it has ever fired, must not delete, +// forget or otherwise touch the predecessor's Backups. +func TestTrimBackups_RecreatedScheduleKeepsPredecessorBackups(t *testing.T) { + oldOne := provBackup("arena-auto-20261101-000000", "old-sched-uid", "old-server-uid", "old-repo", "1111aaaa", gameplanev1alpha1.BackupPhaseSucceeded, 48*time.Hour) + oldTwo := provBackup("arena-auto-20261102-000000", "old-sched-uid", "old-server-uid", "old-repo", "2222bbbb", gameplanev1alpha1.BackupPhaseSucceeded, 24*time.Hour) + cl := provReconcile(t, + provServerObj("new-server-uid"), + provScheduleObj("new-sched-uid", "new-server-uid", "new-repo", 1), + oldOne, oldTwo, + ) + provIntact(t, cl, oldOne) + provIntact(t, cl, oldTwo) +} + +// #960: the schedule survives but its GameServer is recreated. Backups of the +// old server carry the same schedule UID but a different server UID and must +// not be pruned for the new server. +func TestTrimBackups_RecreatedServerKeepsPredecessorBackups(t *testing.T) { + oldOne := provBackup("old-one", "sched-uid", "old-server-uid", "repo", "1111aaaa", gameplanev1alpha1.BackupPhaseSucceeded, 48*time.Hour) + oldTwo := provBackup("old-two", "sched-uid", "old-server-uid", "repo", "2222bbbb", gameplanev1alpha1.BackupPhaseSucceeded, 24*time.Hour) + sched := provScheduleObj("sched-uid", "new-server-uid", "repo", 1) + sched.OwnerReferences = nil // a standalone schedule that names the server + cl := provReconcile(t, provServerObj("new-server-uid"), sched, oldOne, oldTwo) + provIntact(t, cl, oldOne) + provIntact(t, cl, oldTwo) +} + +// #960: a schedule still prunes its own generations normally, and leaves +// Backups without a recorded origin (manual or pre-upgrade) alone. +func TestTrimBackups_PrunesOwnGenerationsOnly(t *testing.T) { + legacy := provBackup("legacy", "", "", "repo", "0000ffff", gameplanev1alpha1.BackupPhaseSucceeded, 96*time.Hour) + own1 := provBackup("own-1", "sched-uid", "server-uid", "repo", "1111aaaa", gameplanev1alpha1.BackupPhaseSucceeded, 48*time.Hour) + own2 := provBackup("own-2", "sched-uid", "server-uid", "repo", "2222bbbb", gameplanev1alpha1.BackupPhaseSucceeded, 24*time.Hour) + cl := provReconcile(t, + provServerObj("server-uid"), + provScheduleObj("sched-uid", "server-uid", "repo", 1), + legacy, own1, own2, + ) + if !provDeleting(t, cl, "own-1") { + t.Error("own-1 was not trimmed, want keepLast=1 to prune the schedule's older Backup") + } + if provDeleting(t, cl, "own-2") { + t.Error("own-2 is being deleted, want the newest restorable Backup kept") + } + if provDeleting(t, cl, "legacy") { + t.Error("legacy Backup without provenance is being deleted, want it left for the operator") + } +} + +// #960: a stale inline schedule whose controlling GameServer is not the live +// one proves nothing about the live server's Backups, even when their origin +// names the schedule. +func TestTrimBackups_StaleInlineScheduleTrimsNothing(t *testing.T) { + own1 := provBackup("own-1", "sched-uid", "new-server-uid", "repo", "1111aaaa", gameplanev1alpha1.BackupPhaseSucceeded, 48*time.Hour) + own2 := provBackup("own-2", "sched-uid", "new-server-uid", "repo", "2222bbbb", gameplanev1alpha1.BackupPhaseSucceeded, 24*time.Hour) + cl := provReconcile(t, + provServerObj("new-server-uid"), + provScheduleObj("sched-uid", "old-server-uid", "repo", 1), + own1, own2, + ) + for _, name := range []string{"own-1", "own-2"} { + if provDeleting(t, cl, name) { + t.Errorf("%s is being deleted by a schedule owned by a deleted server", name) + } + } +} + +// #960: Replace cancels this schedule's own in-flight Backup but never a +// predecessor's in-flight Backup that shares the schedule label. +func TestShouldFire_ReplaceSparesPredecessorInFlight(t *testing.T) { + theirs := provBackup("theirs", "old-sched-uid", "old-server-uid", "old-repo", "", gameplanev1alpha1.BackupPhaseRunning, 0) + mine := provBackup("mine", "sched-uid", "server-uid", "repo", "", gameplanev1alpha1.BackupPhaseRunning, 0) + sched := provScheduleObj("sched-uid", "server-uid", "repo", 1) + sched.Spec.ConcurrencyPolicy = "Replace" + s := scrapeScheme(t) + cl := fake.NewClientBuilder().WithScheme(s).WithObjects(provServerObj("server-uid"), sched, theirs, mine).Build() + r := &BackupScheduleReconciler{Client: cl, Scheme: s} + + now := time.Now() + fire, err := r.shouldFire(context.Background(), sched, now, now, + []gameplanev1alpha1.Backup{*theirs, *mine}) + if err != nil { + t.Fatalf("shouldFire: %v", err) + } + if !fire { + t.Error("Replace did not fire") + } + if provDeleting(t, cl, "theirs") { + t.Error("Replace cancelled the predecessor's in-flight Backup") + } + if !provDeleting(t, cl, "mine") { + t.Error("Replace did not cancel the schedule's own in-flight Backup") + } +} + +// fire stamps the immutable origin with both UIDs. +func TestFire_RecordsOrigin(t *testing.T) { + sched := provScheduleObj("sched-uid", "server-uid", "repo", 1) + s := scrapeScheme(t) + cl := fake.NewClientBuilder().WithScheme(s).WithObjects(provServerObj("server-uid"), sched).Build() + r := &BackupScheduleReconciler{Client: cl, Scheme: s} + at := time.Date(2026, time.November, 24, 3, 0, 0, 0, time.UTC) + if err := r.fire(context.Background(), sched, at, "server-uid"); err != nil { + t.Fatalf("fire: %v", err) + } + var b gameplanev1alpha1.Backup + if err := cl.Get(context.Background(), types.NamespacedName{Namespace: provNS, Name: "arena-auto-20261124-030000"}, &b); err != nil { + t.Fatalf("get fired backup: %v", err) + } + want := gameplanev1alpha1.BackupOrigin{ScheduleName: provSchedule, ScheduleUID: "sched-uid", ServerUID: "server-uid"} + if b.Spec.Origin == nil || *b.Spec.Origin != want { + t.Errorf("origin = %+v, want %+v", b.Spec.Origin, want) + } +} + +// #961: a newer Backup that is Succeeded but still waiting for its Restic +// snapshot ID (inside the scrape grace period) must not take the keepLast +// slot, nor advance lastSuccessfulTime, so the older usable snapshot stays. +func TestTrimBackups_WaitingForSnapshotIDKeepsLastRestorable(t *testing.T) { + usable := provBackup("usable", "sched-uid", "server-uid", "repo", "1111aaaa", gameplanev1alpha1.BackupPhaseSucceeded, 24*time.Hour) + waiting := provBackup("waiting", "sched-uid", "server-uid", "repo", "", gameplanev1alpha1.BackupPhaseSucceeded, time.Minute) + cl := provReconcile(t, + provServerObj("server-uid"), + provScheduleObj("sched-uid", "server-uid", "repo", 1), + usable, waiting, + ) + provIntact(t, cl, usable) + provIntact(t, cl, waiting) + + var sched gameplanev1alpha1.BackupSchedule + if err := cl.Get(context.Background(), types.NamespacedName{Namespace: provNS, Name: provSchedule}, &sched); err != nil { + t.Fatalf("get schedule: %v", err) + } + if sched.Status.LastSuccessfulTime == nil || !sched.Status.LastSuccessfulTime.Equal(usable.Status.CompletionTime) { + t.Errorf("lastSuccessfulTime = %v, want the usable Backup's completion %v", + sched.Status.LastSuccessfulTime, usable.Status.CompletionTime) + } +} + +// #961: once the newer Backup records its snapshot ID, normal pruning resumes. +func TestTrimBackups_RecoveredSnapshotIDAllowsPruning(t *testing.T) { + usable := provBackup("usable", "sched-uid", "server-uid", "repo", "1111aaaa", gameplanev1alpha1.BackupPhaseSucceeded, 24*time.Hour) + recovered := provBackup("recovered", "sched-uid", "server-uid", "repo", "2222bbbb", gameplanev1alpha1.BackupPhaseSucceeded, time.Minute) + cl := provReconcile(t, + provServerObj("server-uid"), + provScheduleObj("sched-uid", "server-uid", "repo", 1), + usable, recovered, + ) + if !provDeleting(t, cl, "usable") { + t.Error("the older Backup was not trimmed after the newer one recorded its snapshot ID") + } + if provDeleting(t, cl, "recovered") { + t.Error("the newest restorable Backup is being deleted") + } +} + +// #961: when the summary is lost for good the newer Backup goes Failed; the +// older usable Backup must still be kept. +func TestTrimBackups_LostSnapshotIDKeepsLastRestorable(t *testing.T) { + usable := provBackup("usable", "sched-uid", "server-uid", "repo", "1111aaaa", gameplanev1alpha1.BackupPhaseSucceeded, 24*time.Hour) + lost := provBackup("lost", "sched-uid", "server-uid", "repo", "", gameplanev1alpha1.BackupPhaseFailed, time.Minute) + cl := provReconcile(t, + provServerObj("server-uid"), + provScheduleObj("sched-uid", "server-uid", "repo", 1), + usable, lost, + ) + provIntact(t, cl, usable) + provIntact(t, cl, lost) +} + +// #961: a CSI Backup is restorable only once its VolumeSnapshotContent is bound. +func TestBackupRestorable(t *testing.T) { + ct := metav1.Now() + mk := func(strategy, id, content string, phase gameplanev1alpha1.BackupPhase) *gameplanev1alpha1.Backup { + return &gameplanev1alpha1.Backup{ + Spec: gameplanev1alpha1.BackupSpec{Strategy: strategy}, + Status: gameplanev1alpha1.BackupStatus{ + Phase: phase, CompletionTime: &ct, SnapshotID: id, VolumeSnapshotContentName: content, + }, + } + } + cases := []struct { + name string + b *gameplanev1alpha1.Backup + want bool + }{ + {"restic with id", mk("restic-snapshot", "abcd1234", "", gameplanev1alpha1.BackupPhaseSucceeded), true}, + {"restic without id", mk("restic-snapshot", "", "", gameplanev1alpha1.BackupPhaseSucceeded), false}, + {"restic failed", mk("restic-snapshot", "abcd1234", "", gameplanev1alpha1.BackupPhaseFailed), false}, + {"csi bound", mk("volume-snapshot", "vs-1", "content-1", gameplanev1alpha1.BackupPhaseSucceeded), true}, + {"csi unbound", mk("volume-snapshot", "vs-1", "", gameplanev1alpha1.BackupPhaseSucceeded), false}, + } + for _, tc := range cases { + if got := backupRestorable(tc.b); got != tc.want { + t.Errorf("%s: backupRestorable = %v, want %v", tc.name, got, tc.want) + } + } + noTime := mk("restic-snapshot", "abcd1234", "", gameplanev1alpha1.BackupPhaseSucceeded) + noTime.Status.CompletionTime = nil + if backupRestorable(noTime) { + t.Error("a Backup without a completion time is restorable, want not") + } +} + +// #960: a schedule recreated under a reused name must not inherit its +// predecessor's last success; only its own restorable Backups count. +func TestUpdateLastSuccessfulTime_IgnoresPredecessor(t *testing.T) { + old := provBackup("old", "old-sched-uid", "old-server-uid", "old-repo", "1111aaaa", gameplanev1alpha1.BackupPhaseSucceeded, time.Hour) + cl := provReconcile(t, + provServerObj("new-server-uid"), + provScheduleObj("new-sched-uid", "new-server-uid", "new-repo", 1), + old, + ) + var sched gameplanev1alpha1.BackupSchedule + if err := cl.Get(context.Background(), types.NamespacedName{Namespace: provNS, Name: provSchedule}, &sched); err != nil { + t.Fatalf("get schedule: %v", err) + } + if sched.Status.LastSuccessfulTime != nil { + t.Errorf("lastSuccessfulTime = %v, want unset for a schedule that never succeeded", sched.Status.LastSuccessfulTime) + } +} + +// #960: a Backup a schedule fired for one server must not capture a +// replacement server that took the same name before the capture started. +func TestBackupReconcile_FailsWhenOriginServerReplaced(t *testing.T) { + b := provBackup("arena-auto-20261124-030000", "sched-uid", "old-server-uid", "repo", "", "", 0) + b.Finalizers = nil + r := newScrapeReconcilerWithObjects(t, b, nil, provServerObj("new-server-uid")) + req := ctrl.Request{NamespacedName: types.NamespacedName{Namespace: provNS, Name: b.Name}} + if _, err := r.Reconcile(context.Background(), req); err != nil { + t.Fatalf("reconcile backup: %v", err) + } + var got gameplanev1alpha1.Backup + if err := r.Get(context.Background(), req.NamespacedName, &got); err != nil { + t.Fatalf("get backup: %v", err) + } + if got.Status.Phase != gameplanev1alpha1.BackupPhaseFailed { + t.Errorf("phase = %q, want Failed for a Backup whose server was replaced", got.Status.Phase) + } + if !strings.Contains(got.Status.Message, "was replaced") { + t.Errorf("message = %q, want it to say the server was replaced", got.Status.Message) + } + var jobs batchv1.JobList + if err := r.List(context.Background(), &jobs, client.InNamespace(provNS)); err != nil { + t.Fatalf("list jobs: %v", err) + } + if len(jobs.Items) != 0 { + t.Errorf("created %d Jobs, want none for the replacement server", len(jobs.Items)) + } +} diff --git a/operator/internal/controller/retention_terminating_test.go b/operator/internal/controller/retention_terminating_test.go index f6ece53fa..0a0395578 100644 --- a/operator/internal/controller/retention_terminating_test.go +++ b/operator/internal/controller/retention_terminating_test.go @@ -25,9 +25,14 @@ func TestTrimBackups_IgnoresTerminatingBackups(t *testing.T) { Namespace: "ns", Labels: map[string]string{"gameplane.local/backup-schedule": "sched"}, }, + Spec: gameplanev1alpha1.BackupSpec{ + ServerRef: gameplanev1alpha1.LocalObjectRef{Name: "srv"}, + Origin: retentionOrigin(), + }, Status: gameplanev1alpha1.BackupStatus{ Phase: gameplanev1alpha1.BackupPhaseSucceeded, CompletionTime: &ct, + SnapshotID: "snap-" + name, }, } if terminating { @@ -44,11 +49,12 @@ func TestTrimBackups_IgnoresTerminatingBackups(t *testing.T) { old := mk("old", 3*time.Hour, false) s := scrapeScheme(t) - cl := fake.NewClientBuilder().WithScheme(s).WithObjects(newest, mid, old).Build() + cl := fake.NewClientBuilder().WithScheme(s).WithObjects(retentionServer(), newest, mid, old).Build() r := &BackupScheduleReconciler{Client: cl, Scheme: s} sched := &gameplanev1alpha1.BackupSchedule{ - ObjectMeta: metav1.ObjectMeta{Name: "sched", Namespace: "ns"}, + ObjectMeta: metav1.ObjectMeta{Name: "sched", Namespace: "ns", UID: retentionScheduleUID}, Spec: gameplanev1alpha1.BackupScheduleSpec{ + ServerRef: gameplanev1alpha1.LocalObjectRef{Name: "srv"}, Retention: &gameplanev1alpha1.BackupRetention{KeepLast: 1}, }, } diff --git a/operator/specs.md b/operator/specs.md index 3b6c4e154..5c6a32814 100644 --- a/operator/specs.md +++ b/operator/specs.md @@ -582,8 +582,10 @@ Source: `operator/internal/controller/gameserver_modpack.go`. Contract: `specs/0 - **Responsibility:** Cron scheduler + retention enforcement. - **Key functions:** - Parse spec.Schedule cron expression; report ScheduleValid condition. - - Compute next firing time (a schedule that has never fired counts missed runs from its `metadata.creationTimestamp`, so a new schedule waits for its first real tick); create Backup CR when due. Scheduled Backups carry no ownerReference to the BackupSchedule; instead, they are tracked by the label `gameplane.local/backup-schedule: ` stamped at creation (same namespace). This allows Backups to persist when their BackupSchedule is deleted. - - Retention trimming: when at least one keep-last/keep-hourly/keep-daily/keep-weekly/keep-monthly/keep-yearly rule is positive, list Backups by label, apply the rules, and delete excess. Omitted retention or all nonpositive keep rules disable trimming before any API lists or deletes. Backups already being deleted (non-zero `deletionTimestamp`, still held by their snapshot finalizer) are skipped when selecting candidates and computing the keep set. Deleting a restic Backup also forgets its snapshot (see BackupReconciler, "Snapshot cleanup on delete"), so a trimmed Backup stays `Terminating` until its forget Job finishes. + - Compute next firing time (a schedule that has never fired counts missed runs from its `metadata.creationTimestamp`, so a new schedule waits for its first real tick); create Backup CR when due. Scheduled Backups carry no ownerReference to the BackupSchedule; instead, they are tracked by the label `gameplane.local/backup-schedule: ` stamped at creation (same namespace). This allows Backups to persist when their BackupSchedule is deleted. Each scheduled Backup also records its provenance in the immutable `spec.origin` (`scheduleName`, `scheduleUID`, and the `serverUID` of the GameServer named by `serverRef` when the schedule fired; a CEL rule on the Backup root forbids adding, removing or changing it after creation, including by dropping the whole spec, and the API strips it from user-created Backups; the BackupReconciler fails a Backup whose `origin.serverUID` no longer matches the live GameServer, confirmed through the API reader, instead of capturing a replacement server). `backupFromSchedule` matches a Backup only when its origin carries this schedule's UID and the live GameServer's UID; `liveServerUID` returns no UID when the server is missing or when an inline schedule's controlling GameServer is not the live one (#960). + - Concurrency: `Forbid` skips while any labelled Backup is in flight; `Replace` deletes only in-flight Backups that `backupFromSchedule` matches, so it never cancels a predecessor's Backup. + - Last success: `status.lastSuccessfulTime` advances only from restorable Backups (`backupRestorable`: `Succeeded`, completion time, snapshot ID, and for `volume-snapshot` the bound VolumeSnapshotContent), never from a Backup still waiting for its Restic summary (#961). + - Retention trimming: when at least one keep-last/keep-hourly/keep-daily/keep-weekly/keep-monthly/keep-yearly rule is positive, list Backups by label, keep only those `backupFromSchedule` matches and `backupRestorable` accepts, apply the rules, and delete excess. Backups without provable provenance (manual, pre-`spec.origin`, a recreated schedule's or server's predecessor) and Backups that are not yet restorable neither occupy a keep slot nor get pruned; with no live server nothing is trimmed (#960, #961). Omitted retention or all nonpositive keep rules disable trimming before any API lists or deletes. Backups already being deleted (non-zero `deletionTimestamp`, still held by their snapshot finalizer) are skipped when selecting candidates and computing the keep set. Deleting a restic Backup also forgets its snapshot (see BackupReconciler, "Snapshot cleanup on delete"), so a trimmed Backup stays `Terminating` until its forget Job finishes. - Report RetentionTrimmed condition (success) or retention failure (TrimFailed). ### RestoreReconciler diff --git a/web/specs.md b/web/specs.md index aab6ae003..d377525b5 100644 --- a/web/specs.md +++ b/web/specs.md @@ -410,6 +410,7 @@ CloneServerDialog, TransferServerDialog and WipeServerDialog do not route throug - Per-server backup list (snapshots created via the /backups page or on-demand) - Users with schedule write access can edit or delete standalone schedules here. The **Managed by server settings** action opens the selected server’s **Settings → Scheduled backups**, where users with server write access can edit its inline backup policy. - Table columns: backup name, phase (Pending/Succeeded/Failed), size, completion time, actions + - A Succeeded backup without `status.snapshotID` shows the amber **Awaiting snapshot ID** phase chip (`PhaseChip` `awaitingSnapshot`, from `backupAwaitingSnapshot`) instead of green Succeeded, here, in the Backups index rows, the backup detail drawer and the Dashboard's recent backups. It is not a recovery point yet: Restore stays disabled until the ID is recorded (#961). - Open backup detail drawer, trigger restore dialog, delete backup - Uses HeroUI Table, Button, Modal (restore trigger), ui/ PhaseChip diff --git a/web/src/components/backups/BackupDetailDrawer.tsx b/web/src/components/backups/BackupDetailDrawer.tsx index 66d5ab29c..bd0d438ea 100644 --- a/web/src/components/backups/BackupDetailDrawer.tsx +++ b/web/src/components/backups/BackupDetailDrawer.tsx @@ -7,7 +7,7 @@ import { RotateCcw, Trash2 } from "lucide-react"; import { formatRelative } from "@/lib/utils"; import { BackupSize } from "@/components/backups/BackupSize"; import type { Backup } from "@/types"; -import { PhaseChip } from "@/components/ui/PhaseChip"; +import { PhaseChip, backupAwaitingSnapshot } from "@/components/ui/PhaseChip"; import { ErrorBanner } from "./ErrorBanner"; import { useOptionalIntl } from "@/lib/i18n/format"; import { backupReadOptions, isAuthorizationError, useBackupAccessKey } from "@/lib/backupReadOptions"; @@ -82,7 +82,7 @@ export function BackupDetailDrawer({ name, ns, onClose, onRestore, target: expli {backup && ( <> - + {backup.spec.serverRef.name} diff --git a/web/src/components/backups/BackupRow.test.tsx b/web/src/components/backups/BackupRow.test.tsx index d61ad0844..97262a603 100644 --- a/web/src/components/backups/BackupRow.test.tsx +++ b/web/src/components/backups/BackupRow.test.tsx @@ -108,6 +108,21 @@ describe("BackupRow", () => { expect(screen.getByRole("button", { name: "Restore" })).toBeDisabled(); }); + it("shows Awaiting snapshot ID instead of Succeeded while the snapshot ID is missing", () => { + render( + tableWrap( + {}} + onRestore={() => {}} + />, + ), + ); + expect(screen.getByText("Awaiting snapshot ID")).toBeInTheDocument(); + expect(screen.queryByText("Succeeded")).toBeNull(); + }); + it("Restore button is disabled when phase is not Succeeded", () => { render( tableWrap( diff --git a/web/src/components/backups/BackupRow.tsx b/web/src/components/backups/BackupRow.tsx index 7009aca8e..51b901208 100644 --- a/web/src/components/backups/BackupRow.tsx +++ b/web/src/components/backups/BackupRow.tsx @@ -3,7 +3,7 @@ import { Button, Table } from "@heroui/react"; import { formatRelative } from "@/lib/utils"; import { BackupSize } from "@/components/backups/BackupSize"; import type { Backup } from "@/types"; -import { PhaseChip } from "@/components/ui/PhaseChip"; +import { PhaseChip, backupAwaitingSnapshot } from "@/components/ui/PhaseChip"; import { useOptionalIntl } from "@/lib/i18n/format"; interface Props { @@ -30,7 +30,7 @@ export function BackupRow({ backup, showServer, onSelect, onRestore, target, per {showServer && backup.spec.serverRef.name} - + diff --git a/web/src/components/ui/PhaseChip.test.tsx b/web/src/components/ui/PhaseChip.test.tsx index f4f5b468f..2a1d8b2a8 100644 --- a/web/src/components/ui/PhaseChip.test.tsx +++ b/web/src/components/ui/PhaseChip.test.tsx @@ -1,6 +1,6 @@ import { describe, it, expect } from "vitest"; import { render, screen } from "@testing-library/react"; -import { PhaseChip, Chip } from "./PhaseChip"; +import { PhaseChip, Chip, backupAwaitingSnapshot } from "./PhaseChip"; describe("PhaseChip", () => { // Test 1: Basic phase rendering @@ -158,4 +158,24 @@ describe("Chip (generic wrapper)", () => { expect(chip).toHaveAttribute("data-color", "default"); expect(chip).toHaveAttribute("data-size", "sm"); }); + + // A Succeeded backup without a snapshot ID is not a restore point yet (#961). + it("shows a warning Awaiting snapshot ID chip for a backup without its snapshot ID", () => { + render(); + expect(screen.queryByText("Succeeded")).toBeNull(); + const chip = screen.getByText("Awaiting snapshot ID").closest('[data-slot="chip"]'); + expect(chip).not.toBeNull(); + expect(chip).toHaveAttribute("data-color", "warning"); + expect(chip).toHaveAttribute("data-phase", "Succeeded"); + expect(chip).toHaveAttribute("data-awaiting-snapshot", "true"); + }); + + it("backupAwaitingSnapshot is true only for a Succeeded backup without a snapshot ID", () => { + expect(backupAwaitingSnapshot({ phase: "Succeeded" })).toBe(true); + expect(backupAwaitingSnapshot({ phase: "Succeeded", snapshotID: "" })).toBe(true); + expect(backupAwaitingSnapshot({ phase: "Succeeded", snapshotID: "abc123" })).toBe(false); + expect(backupAwaitingSnapshot({ phase: "Running" })).toBe(false); + expect(backupAwaitingSnapshot({ phase: "Failed" })).toBe(false); + expect(backupAwaitingSnapshot(undefined)).toBe(false); + }); }); diff --git a/web/src/components/ui/PhaseChip.tsx b/web/src/components/ui/PhaseChip.tsx index 8d9ee8d2c..acc2f59f7 100644 --- a/web/src/components/ui/PhaseChip.tsx +++ b/web/src/components/ui/PhaseChip.tsx @@ -64,6 +64,7 @@ const phaseMessages = defineMessages({ Failed: { id: "web.components.ui.phase_chip.failed", defaultMessage: "Failed", description: "Phase badge: label for a resource whose last operation failed" }, Succeeded: { id: "web.components.ui.phase_chip.succeeded", defaultMessage: "Succeeded", description: "Phase badge: label for a backup or restore that finished successfully" }, Asleep: { id: "web.components.ui.phase_chip.asleep", defaultMessage: "Asleep", description: "Phase badge: label for a suspended server that is asleep (derived display state)" }, + AwaitingSnapshot: { id: "web.components.ui.phase_chip.awaiting_snapshot", defaultMessage: "Awaiting snapshot ID", description: "Phase badge: label for a backup whose copy finished but whose snapshot ID is not recorded yet, so it cannot be restored yet (derived display state)" }, }); function phaseLabel(intl: IntlShape, value: string): string { @@ -73,16 +74,20 @@ function phaseLabel(intl: IntlShape, value: string): string { } // PhaseChip renders a server/backup/restore phase badge. -export function PhaseChip({ phase, asleep, size = "sm", className }: { +// awaitingSnapshot overlays a Succeeded backup that has no snapshot ID yet +// (see backupAwaitingSnapshot): it is not a restore point, so it shows the +// in-transition warning color instead of success. +export function PhaseChip({ phase, asleep, awaitingSnapshot, size = "sm", className }: { phase?: string; asleep?: boolean; + awaitingSnapshot?: boolean; size?: "sm" | "md" | "lg"; className?: string; }) { const intl = useOptionalIntl(); const p = phase ?? "Pending"; - const label = phaseLabel(intl, asleep ? "Asleep" : p); - const color = phaseColorMap[p] ?? "default"; + const label = phaseLabel(intl, asleep ? "Asleep" : awaitingSnapshot ? "AwaitingSnapshot" : p); + const color = awaitingSnapshot ? "warning" : phaseColorMap[p] ?? "default"; return ( @@ -99,3 +105,10 @@ export function PhaseChip({ phase, asleep, size = "sm", className }: { ); } + +// backupAwaitingSnapshot reports whether a backup finished (Succeeded) but has +// no snapshot ID recorded yet. Restore refuses such a backup, and the operator +// does not count it toward retention until the ID arrives. +export function backupAwaitingSnapshot(status?: { phase?: string; snapshotID?: string }): boolean { + return status?.phase === "Succeeded" && !status.snapshotID; +} diff --git a/web/src/routes/Dashboard.tsx b/web/src/routes/Dashboard.tsx index 691af3baf..5d970016c 100644 --- a/web/src/routes/Dashboard.tsx +++ b/web/src/routes/Dashboard.tsx @@ -22,7 +22,7 @@ import { import { StatCard } from "@/components/ui/StatCard"; import { Meter } from "@/components/ui/Meter"; -import { PhaseChip } from "@/components/ui/PhaseChip"; +import { PhaseChip, backupAwaitingSnapshot } from "@/components/ui/PhaseChip"; import { GameIcon } from "@/components/ui/GameIcon"; import { LoadingCard } from "@/components/ui/LoadingCard"; import { ErrorCard } from "@/components/ui/ErrorCard"; @@ -515,7 +515,7 @@ function BackupRow({ {backup.status?.size && ( {backup.status.size} )} - + ); } diff --git a/web/src/routes/tabs/Backups.tsx b/web/src/routes/tabs/Backups.tsx index 87b0c33ce..e1451d1aa 100644 --- a/web/src/routes/tabs/Backups.tsx +++ b/web/src/routes/tabs/Backups.tsx @@ -4,7 +4,7 @@ import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query"; import { Archive, CalendarClock, Clock, HardDrive } from "lucide-react"; import { Button, Table } from "@heroui/react"; import { StatCard } from "@/components/ui/StatCard"; -import { PhaseChip } from "@/components/ui/PhaseChip"; +import { PhaseChip, backupAwaitingSnapshot } from "@/components/ui/PhaseChip"; import { APIError } from "@/lib/api"; import { useBackupDestinations } from "@/lib/destinations"; @@ -311,7 +311,7 @@ export function BackupsTab({ name, ns, onOpenBackupSettings }: { name: string; n > {b.metadata.name} - +