@@ -250,7 +250,7 @@ describe('e2e watch workflow', () => {
250250 expect ( stepRuns ( workflow , 'nightly-full-regression' ) ) . toContain ( 'pnpm e2e:watch' )
251251 } )
252252
253- it ( 'keeps strict plugin processing budgets for e2e watch rows while allowing longer startup timeouts' , ( ) => {
253+ it ( 'keeps explicit plugin processing budgets for e2e watch rows while allowing longer startup timeouts' , ( ) => {
254254 const { workflow } = readWorkflow ( 'e2e-watch.yml' )
255255 const prRows : Array < Record < string , unknown > > = workflow . jobs [ 'pr-quick-gate' ] . strategy . matrix . include
256256 const nightlyRows : Array < Record < string , unknown > > = workflow . jobs [ 'nightly-full-regression' ] . strategy . matrix . include
@@ -262,7 +262,7 @@ describe('e2e watch workflow', () => {
262262 round_profile : 'issue33' ,
263263 timeout_minutes : 60 ,
264264 watch_timeout_ms : '600000' ,
265- watch_max_plugin_process_ms : '500 ' ,
265+ watch_max_plugin_process_ms : '1500 ' ,
266266 watch_command_timeout_ms : '1500000' ,
267267 }
268268 const slowWindowsPrBudgets = [
@@ -331,15 +331,15 @@ describe('e2e watch workflow', () => {
331331 runner_label : 'macos' ,
332332 timeout_minutes : 40 ,
333333 watch_timeout_ms : '280000' ,
334- watch_max_plugin_process_ms : '500 ' ,
334+ watch_max_plugin_process_ms : '1500 ' ,
335335 watch_command_timeout_ms : '720000' ,
336336 } ,
337337 {
338338 os : 'windows-latest' ,
339339 runner_label : 'windows' ,
340340 timeout_minutes : 45 ,
341341 watch_timeout_ms : '320000' ,
342- watch_max_plugin_process_ms : '500 ' ,
342+ watch_max_plugin_process_ms : '1500 ' ,
343343 watch_command_timeout_ms : '840000' ,
344344 } ,
345345 ]
@@ -378,7 +378,7 @@ describe('e2e watch workflow', () => {
378378 round_profile : 'default' ,
379379 timeout_minutes : 120 ,
380380 watch_timeout_ms : '420000' ,
381- watch_max_plugin_process_ms : '500 ' ,
381+ watch_max_plugin_process_ms : '1500 ' ,
382382 watch_command_timeout_ms : '5400000' ,
383383 } ) )
384384 expect ( nightlyRows ) . toContainEqual ( expect . objectContaining ( {
@@ -406,12 +406,12 @@ describe('e2e watch workflow', () => {
406406 round_profile : 'default' ,
407407 timeout_minutes : 180 ,
408408 watch_timeout_ms : '1200000' ,
409- watch_max_plugin_process_ms : '500 ' ,
409+ watch_max_plugin_process_ms : '1500 ' ,
410410 watch_command_timeout_ms : '9000000' ,
411411 } ) )
412412 } )
413413
414- it ( 'keeps the default e2e watch plugin processing budget at 500ms ' , ( ) => {
414+ it ( 'keeps the CI e2e watch plugin processing fallback budget at 1500ms ' , ( ) => {
415415 const { workflow } = readWorkflow ( 'e2e-watch.yml' )
416416
417417 const prRunStep = workflow . jobs [ 'pr-quick-gate' ] . steps . find ( ( step : Record < string , unknown > ) => {
@@ -421,13 +421,13 @@ describe('e2e watch workflow', () => {
421421 return step . name === 'Run e2e watch suite (nightly/full)'
422422 } )
423423
424- expect ( prRunStep . env . E2E_WATCH_MAX_PLUGIN_PROCESS_MS ) . toBe ( "${{ matrix.watch_max_plugin_process_ms || '500 ' }}" )
425- expect ( nightlyRunStep . env . E2E_WATCH_MAX_PLUGIN_PROCESS_MS ) . toBe ( "${{ matrix.watch_max_plugin_process_ms || '500 ' }}" )
424+ expect ( prRunStep . env . E2E_WATCH_MAX_PLUGIN_PROCESS_MS ) . toBe ( "${{ matrix.watch_max_plugin_process_ms || '1500 ' }}" )
425+ expect ( nightlyRunStep . env . E2E_WATCH_MAX_PLUGIN_PROCESS_MS ) . toBe ( "${{ matrix.watch_max_plugin_process_ms || '1500 ' }}" )
426426 expect ( prRunStep . env . E2E_WATCH_MAX_ATTEMPTS ) . toBe ( "${{ matrix.watch_max_attempts || '2' }}" )
427427 expect ( nightlyRunStep . env . E2E_WATCH_MAX_ATTEMPTS ) . toBe ( "${{ matrix.watch_max_attempts || '2' }}" )
428428 } )
429429
430- it ( 'does not widen any e2e watch plugin processing matrix budget beyond 500ms ' , ( ) => {
430+ it ( 'keeps any explicit e2e watch plugin processing matrix budget within 1500ms ' , ( ) => {
431431 const { workflow } = readWorkflow ( 'e2e-watch.yml' )
432432 const rows : Array < Record < string , unknown > > = [
433433 ...workflow . jobs [ 'pr-quick-gate' ] . strategy . matrix . include ,
@@ -439,7 +439,7 @@ describe('e2e watch workflow', () => {
439439 if ( budget == null ) {
440440 continue
441441 }
442- expect ( Number ( budget ) , `${ row . runner_label } :${ row . watch_case } :${ row . round_profile } ` ) . toBeLessThanOrEqual ( 500 )
442+ expect ( Number ( budget ) , `${ row . runner_label } :${ row . watch_case } :${ row . round_profile } ` ) . toBeLessThanOrEqual ( 1500 )
443443 }
444444 } )
445445
0 commit comments