@@ -220,7 +220,7 @@ describe("previewArchivedCleanup", () => {
220220 "archived_sessions/rollout-new.jsonl" ,
221221 ] ) ;
222222 expect ( listed . some ( c => c . relPath . includes ( "sessions/2026" ) ) ) . toBe ( false ) ;
223- } ) ;
223+ } , { timeout : STORE_BUDGET_MS } ) ;
224224
225225 test ( "percent selects oldest subset and includes digest" , ( ) => {
226226 home = buildHome ( ) ;
@@ -236,7 +236,7 @@ describe("previewArchivedCleanup", () => {
236236 expect ( preview . bytes ) . toBe ( preview . candidates [ 0 ] ! . bytes ) ;
237237 expect ( preview . digest ) . toBe ( computePreviewDigest ( preview . candidates , 50 ) ) ;
238238 expect ( preview . digest ) . toMatch ( / ^ [ a - f 0 - 9 ] { 64 } $ / ) ;
239- } ) ;
239+ } , { timeout : STORE_BUDGET_MS } ) ;
240240
241241 test ( "treats .jsonl and .jsonl.zst as one logical rollout" , ( ) => {
242242 home = buildHome ( ) ;
@@ -250,7 +250,7 @@ describe("previewArchivedCleanup", () => {
250250 "archived_sessions/rollout-old.jsonl.zst" ,
251251 ] ) ;
252252 expect ( listed . filter ( c => c . relPath . includes ( "rollout-old" ) ) ) . toHaveLength ( 1 ) ;
253- } ) ;
253+ } , { timeout : STORE_BUDGET_MS } ) ;
254254} ) ;
255255
256256describe ( "normalizeArchivedRolloutPath" , ( ) => {
@@ -267,7 +267,7 @@ describe("normalizeArchivedRolloutPath", () => {
267267 // ISO timestamps in filenames must not be treated as Windows drive letters.
268268 expect ( normalizeArchivedRolloutPath ( "archived_sessions/rollout-2026-01-01T10:00:00.jsonl" , home ) )
269269 . toBe ( "archived_sessions/rollout-2026-01-01T10:00:00.jsonl" ) ;
270- } ) ;
270+ } , { timeout : STORE_BUDGET_MS } ) ;
271271} ) ;
272272
273273describe ( "executeArchivedCleanup" , ( ) => {
0 commit comments