{resource.detail}
+{resource.detail}
+ {resource.detailLines && resource.detailLines.length > 0 && ( ++ {line} +
+ ))} +{resource.warning}
} {resource.id === "go-cache" && (+ {t("system:storagePolicyDescription")} +
+- {t("system:storagePolicyDescription")} -
-{t("system:storageTemporaryArtifactsPolicyAge")}
+{t("system:storageTemporaryArtifactsPolicyQuarantine")}
+{t("system:storageTemporaryArtifactsPolicyShared")}
++ {t("system:storageTemporaryArtifactsQuarantinedResult", { + size: formatGigabytes(cleanup.quarantinedBytes), + })} +
++ {t("system:storageTemporaryArtifactsFreedAfterDelete")} +
+ {cleanup.failed > 0 && ( +{t("system:storageTemporaryArtifactsMoveFailed")}
+ )} +{run.message}
} +
{JSON.stringify(run.result, null, 2)}
diff --git a/apps/web/components/settings/system/storage/storage-totals.test.ts b/apps/web/components/settings/system/storage/storage-totals.test.ts
index 0b683d340d..fb7c8e754a 100644
--- a/apps/web/components/settings/system/storage/storage-totals.test.ts
+++ b/apps/web/components/settings/system/storage/storage-totals.test.ts
@@ -103,7 +103,9 @@ describe("storageAnalysisTotal", () => {
expect(storageAnalysisTotal(summary)).toEqual({ bytes: 12, partial: true });
});
+});
+describe("storageAnalysisTotal database cases", () => {
it("adds measured database and backup bytes exactly once", () => {
expect(
storageAnalysisTotal({
@@ -133,6 +135,20 @@ describe("storageAnalysisTotal", () => {
).toEqual({ bytes: 49, partial: false });
});
+ it("excludes the informational system temporary footprint from Total counted", () => {
+ expect(
+ storageAnalysisTotal({
+ ...completeSummary,
+ system_temporary: {
+ status: "measured",
+ size_bytes: 500,
+ included_in_total: false,
+ roots: [],
+ },
+ }),
+ ).toEqual({ bytes: 52, partial: false });
+ });
+
it("adds only the counted portion of a partial database footprint", () => {
expect(
storageAnalysisTotal({
diff --git a/apps/web/e2e/fixtures/backend.ts b/apps/web/e2e/fixtures/backend.ts
index 8d2775f756..a35632bc27 100644
--- a/apps/web/e2e/fixtures/backend.ts
+++ b/apps/web/e2e/fixtures/backend.ts
@@ -324,11 +324,13 @@ export const backendFixture = base.extend