























@@ -126,6 +126,7 @@ describe("sessionsCleanupCommand", () => {
126126cappedKeys: Set<string>;
127127budgetEvictedKeys: Set<string>;
128128dmScopeRetiredKeys: Set<string>;
129+modelRunPrunedKeys?: Set<string>;
129130}) => {
130131if (params.dmScopeRetiredKeys.has(params.key)) {
131132return "retire-dm-scope";
@@ -192,6 +193,7 @@ describe("sessionsCleanupCommand", () => {
192193afterCount: 1,
193194missing: 0,
194195dmScopeRetired: 0,
196+modelRunPruned: 0,
195197pruned: 0,
196198capped: 2,
197199diskBudget: {
@@ -231,6 +233,7 @@ describe("sessionsCleanupCommand", () => {
231233afterCount: 1,
232234missing: 0,
233235dmScopeRetired: 0,
236+modelRunPruned: 0,
234237pruned: 0,
235238capped: 2,
236239diskBudget: {
@@ -267,6 +270,7 @@ describe("sessionsCleanupCommand", () => {
267270afterCount: 1,
268271missing: 0,
269272dmScopeRetired: 0,
273+modelRunPruned: 0,
270274pruned: 2,
271275capped: 0,
272276diskBudget: null,
@@ -300,6 +304,7 @@ describe("sessionsCleanupCommand", () => {
300304afterCount: 1,
301305missing: 0,
302306dmScopeRetired: 0,
307+modelRunPruned: 0,
303308pruned: 2,
304309capped: 0,
305310diskBudget: null,
@@ -323,6 +328,7 @@ describe("sessionsCleanupCommand", () => {
323328afterCount: 1,
324329missing: 0,
325330dmScopeRetired: 0,
331+modelRunPruned: 0,
326332pruned: 1,
327333capped: 0,
328334diskBudget: {
@@ -343,6 +349,7 @@ describe("sessionsCleanupCommand", () => {
343349cappedKeys: new Set<string>(),
344350budgetEvictedKeys: new Set<string>(),
345351dmScopeRetiredKeys: new Set<string>(),
352+modelRunPrunedKeys: new Set<string>(),
346353},
347354],
348355appliedSummaries: [],
@@ -367,6 +374,7 @@ describe("sessionsCleanupCommand", () => {
367374afterCount: 1,
368375missing: 0,
369376dmScopeRetired: 0,
377+modelRunPruned: 0,
370378pruned: 1,
371379capped: 0,
372380diskBudget: {
@@ -400,6 +408,7 @@ describe("sessionsCleanupCommand", () => {
400408afterCount: 0,
401409missing: 1,
402410dmScopeRetired: 0,
411+modelRunPruned: 0,
403412pruned: 0,
404413capped: 0,
405414diskBudget: null,
@@ -411,6 +420,7 @@ describe("sessionsCleanupCommand", () => {
411420cappedKeys: new Set<string>(),
412421budgetEvictedKeys: new Set<string>(),
413422dmScopeRetiredKeys: new Set<string>(),
423+modelRunPrunedKeys: new Set<string>(),
414424},
415425],
416426appliedSummaries: [],
@@ -436,6 +446,7 @@ describe("sessionsCleanupCommand", () => {
436446afterCount: 0,
437447missing: 1,
438448dmScopeRetired: 0,
449+modelRunPruned: 0,
439450pruned: 0,
440451capped: 0,
441452diskBudget: null,
@@ -458,6 +469,7 @@ describe("sessionsCleanupCommand", () => {
458469afterCount: 1,
459470missing: 0,
460471dmScopeRetired: 0,
472+modelRunPruned: 0,
461473pruned: 1,
462474capped: 0,
463475unreferencedArtifacts: {
@@ -478,6 +490,7 @@ describe("sessionsCleanupCommand", () => {
478490cappedKeys: new Set<string>(),
479491budgetEvictedKeys: new Set<string>(),
480492dmScopeRetiredKeys: new Set<string>(),
493+modelRunPrunedKeys: new Set<string>(),
481494},
482495],
483496appliedSummaries: [],
@@ -620,6 +633,7 @@ describe("sessionsCleanupCommand", () => {
620633afterCount: 0,
621634missing: 0,
622635dmScopeRetired: 0,
636+modelRunPruned: 0,
623637pruned: 1,
624638capped: 0,
625639diskBudget: null,
@@ -631,6 +645,7 @@ describe("sessionsCleanupCommand", () => {
631645cappedKeys: new Set<string>(),
632646budgetEvictedKeys: new Set<string>(),
633647dmScopeRetiredKeys: new Set<string>(),
648+modelRunPrunedKeys: new Set<string>(),
634649},
635650{
636651summary: {
@@ -642,6 +657,7 @@ describe("sessionsCleanupCommand", () => {
642657afterCount: 0,
643658missing: 0,
644659dmScopeRetired: 0,
660+modelRunPruned: 0,
645661pruned: 1,
646662capped: 0,
647663diskBudget: null,
@@ -653,6 +669,7 @@ describe("sessionsCleanupCommand", () => {
653669cappedKeys: new Set<string>(),
654670budgetEvictedKeys: new Set<string>(),
655671dmScopeRetiredKeys: new Set<string>(),
672+modelRunPrunedKeys: new Set<string>(),
656673},
657674],
658675appliedSummaries: [],
@@ -683,6 +700,7 @@ describe("sessionsCleanupCommand", () => {
683700afterCount: 0,
684701missing: 0,
685702dmScopeRetired: 0,
703+modelRunPruned: 0,
686704pruned: 1,
687705capped: 0,
688706diskBudget: null,
@@ -697,6 +715,7 @@ describe("sessionsCleanupCommand", () => {
697715afterCount: 0,
698716missing: 0,
699717dmScopeRetired: 0,
718+modelRunPruned: 0,
700719pruned: 1,
701720capped: 0,
702721diskBudget: null,
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。