@@ -30,6 +30,8 @@ describe("scheduler", () => {
3030 apiUrl : new URL ( import . meta. url ) ,
3131 storageManager,
3232 } ) ;
33+ // Use push mode for basic scheduler tests (tests push-mode behavior)
34+ runtime . scheduler . disablePullMode ( ) ;
3335 tx = runtime . edit ( ) ;
3436 } ) ;
3537
@@ -543,6 +545,8 @@ describe("event handling", () => {
543545 apiUrl : new URL ( import . meta. url ) ,
544546 storageManager,
545547 } ) ;
548+ // Use push mode for event handling tests
549+ runtime . scheduler . disablePullMode ( ) ;
546550 tx = runtime . edit ( ) ;
547551 } ) ;
548552
@@ -827,6 +831,8 @@ describe("reactive retries", () => {
827831 apiUrl : new URL ( import . meta. url ) ,
828832 storageManager,
829833 } ) ;
834+ // Use push mode for reactive retry tests
835+ runtime . scheduler . disablePullMode ( ) ;
830836 tx = runtime . edit ( ) ;
831837 } ) ;
832838
@@ -1511,7 +1517,8 @@ describe("pull-based scheduling", () => {
15111517 } ) ;
15121518
15131519 it ( "should have unchanged behavior with pullMode = false" , async ( ) => {
1514- // Verify push mode is the default
1520+ // Explicitly set push mode for this test
1521+ runtime . scheduler . disablePullMode ( ) ;
15151522 expect ( runtime . scheduler . isPullModeEnabled ( ) ) . toBe ( false ) ;
15161523
15171524 const source = runtime . getCell < number > (
@@ -1759,6 +1766,8 @@ describe("cycle-aware convergence", () => {
17591766 apiUrl : new URL ( import . meta. url ) ,
17601767 storageManager,
17611768 } ) ;
1769+ // Use push mode for cycle-aware convergence tests
1770+ runtime . scheduler . disablePullMode ( ) ;
17621771 tx = runtime . edit ( ) ;
17631772 } ) ;
17641773
0 commit comments