feat(cli): add experiment gate for event-driven scheduler (#17055)

This commit is contained in:
Abhi
2026-01-19 22:59:30 -05:00
committed by GitHub
parent de0d2cbc22
commit dfa1f4a0ed
7 changed files with 61 additions and 0 deletions
+16
View File
@@ -855,6 +855,22 @@ describe('Server Config (config.ts)', () => {
});
});
describe('Event Driven Scheduler Configuration', () => {
it('should default enableEventDrivenScheduler to false when not provided', () => {
const config = new Config(baseParams);
expect(config.isEventDrivenSchedulerEnabled()).toBe(false);
});
it('should set enableEventDrivenScheduler to false when provided as false', () => {
const params: ConfigParameters = {
...baseParams,
enableEventDrivenScheduler: false,
};
const config = new Config(params);
expect(config.isEventDrivenSchedulerEnabled()).toBe(false);
});
});
describe('Shell Tool Inactivity Timeout', () => {
it('should default to 300000ms (300 seconds) when not provided', () => {
const config = new Config(baseParams);