@@ -243,7 +243,12 @@ describe("noteMemorySearchHealth", () => {
243243 } ) ;
244244
245245 await noteMemorySearchHealth ( cfg , {
246- gatewayMemoryProbe : { checked : true , ready : false , error : "node-llama-cpp not installed" } ,
246+ gatewayMemoryProbe : {
247+ checked : true ,
248+ ready : false ,
249+ skipped : false ,
250+ error : "node-llama-cpp not installed" ,
251+ } ,
247252 } ) ;
248253
249254 expect ( note ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -260,7 +265,7 @@ describe("noteMemorySearchHealth", () => {
260265 } ) ;
261266
262267 await noteMemorySearchHealth ( cfg , {
263- gatewayMemoryProbe : { checked : true , ready : true } ,
268+ gatewayMemoryProbe : { checked : true , ready : true , skipped : false } ,
264269 } ) ;
265270
266271 expect ( note ) . not . toHaveBeenCalled ( ) ;
@@ -318,6 +323,7 @@ describe("noteMemorySearchHealth", () => {
318323 gatewayMemoryProbe : {
319324 checked : false ,
320325 ready : false ,
326+ skipped : false ,
321327 error : "gateway memory probe timed out: gateway timeout after 8000ms" ,
322328 } ,
323329 } ) ;
@@ -444,7 +450,7 @@ describe("noteMemorySearchHealth", () => {
444450 } ) ;
445451
446452 await noteMemorySearchHealth ( cfg , {
447- gatewayMemoryProbe : { checked : true , ready : true } ,
453+ gatewayMemoryProbe : { checked : true , ready : true , skipped : false } ,
448454 } ) ;
449455
450456 expect ( resolveApiKeyForProvider ) . not . toHaveBeenCalled ( ) ;
@@ -479,7 +485,12 @@ describe("noteMemorySearchHealth", () => {
479485 } ) ;
480486
481487 await noteMemorySearchHealth ( cfg , {
482- gatewayMemoryProbe : { checked : true , ready : false , error : "memory search unavailable" } ,
488+ gatewayMemoryProbe : {
489+ checked : true ,
490+ ready : false ,
491+ skipped : false ,
492+ error : "memory search unavailable" ,
493+ } ,
483494 } ) ;
484495
485496 expect ( resolveApiKeyForProvider ) . not . toHaveBeenCalled ( ) ;
@@ -778,7 +789,7 @@ describe("noteMemorySearchHealth", () => {
778789 } ) ;
779790
780791 await noteMemorySearchHealth ( cfg , {
781- gatewayMemoryProbe : { checked : true , ready : true } ,
792+ gatewayMemoryProbe : { checked : true , ready : true , skipped : false } ,
782793 } ) ;
783794
784795 expect ( note ) . not . toHaveBeenCalled ( ) ;
@@ -792,7 +803,7 @@ describe("noteMemorySearchHealth", () => {
792803 } ) ;
793804
794805 await noteMemorySearchHealth ( cfg , {
795- gatewayMemoryProbe : { checked : true , ready : true } ,
806+ gatewayMemoryProbe : { checked : true , ready : true , skipped : false } ,
796807 } ) ;
797808
798809 expect ( note ) . not . toHaveBeenCalled ( ) ;
@@ -808,7 +819,7 @@ describe("noteMemorySearchHealth", () => {
808819 } ) ;
809820
810821 await noteMemorySearchHealth ( cfg , {
811- gatewayMemoryProbe : { checked : true , ready : true } ,
822+ gatewayMemoryProbe : { checked : true , ready : true , skipped : false } ,
812823 } ) ;
813824
814825 expect ( note ) . not . toHaveBeenCalled ( ) ;
@@ -823,7 +834,12 @@ describe("noteMemorySearchHealth", () => {
823834 } ) ;
824835
825836 await noteMemorySearchHealth ( cfg , {
826- gatewayMemoryProbe : { checked : true , ready : false , error : "connection refused" } ,
837+ gatewayMemoryProbe : {
838+ checked : true ,
839+ ready : false ,
840+ skipped : false ,
841+ error : "connection refused" ,
842+ } ,
827843 } ) ;
828844
829845 const message = firstNoteMessage ( ) ;
@@ -839,7 +855,12 @@ describe("noteMemorySearchHealth", () => {
839855 } ) ;
840856
841857 await noteMemorySearchHealth ( cfg , {
842- gatewayMemoryProbe : { checked : true , ready : false , error : "LM API token missing" } ,
858+ gatewayMemoryProbe : {
859+ checked : true ,
860+ ready : false ,
861+ skipped : false ,
862+ error : "LM API token missing" ,
863+ } ,
843864 } ) ;
844865
845866 const message = firstNoteMessage ( ) ;
@@ -1205,7 +1226,7 @@ describe("noteMemorySearchHealth", () => {
12051226 } ) ;
12061227
12071228 await noteMemorySearchHealth ( cfg , {
1208- gatewayMemoryProbe : { checked : true , ready : true } ,
1229+ gatewayMemoryProbe : { checked : true , ready : true , skipped : false } ,
12091230 } ) ;
12101231
12111232 const message = firstNoteMessage ( ) ;
@@ -1224,6 +1245,7 @@ describe("noteMemorySearchHealth", () => {
12241245 gatewayMemoryProbe : {
12251246 checked : true ,
12261247 ready : true ,
1248+ skipped : false ,
12271249 fts : { enabled : true , available : false , error : "no such module: fts5" } ,
12281250 } ,
12291251 noteFn,
@@ -1248,6 +1270,7 @@ describe("noteMemorySearchHealth", () => {
12481270 gatewayMemoryProbe : {
12491271 checked : true ,
12501272 ready : true ,
1273+ skipped : false ,
12511274 fts : { enabled : true , available : true } ,
12521275 } ,
12531276 noteFn,
@@ -1265,6 +1288,7 @@ describe("noteMemorySearchHealth", () => {
12651288 gatewayMemoryProbe : {
12661289 checked : true ,
12671290 ready : true ,
1291+ skipped : false ,
12681292 fts : { enabled : true , available : false , error : "no such module: fts5" } ,
12691293 } ,
12701294 noteFn,
@@ -1287,6 +1311,7 @@ describe("noteMemorySearchHealth", () => {
12871311 gatewayMemoryProbe : {
12881312 checked : true ,
12891313 ready : false ,
1314+ skipped : false ,
12901315 error : "gateway memory probe unavailable: timeout" ,
12911316 } ,
12921317 } ) ;
0 commit comments