Skip to content

Commit 97147af

Browse files
committed
ci: widen grouped watch plugin budget
1 parent 13a9226 commit 97147af

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/e2e-watch.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ jobs:
370370
timeout_minutes: 150
371371
watch_timeout_ms: '600000'
372372
watch_poll_ms: '40'
373-
watch_max_plugin_process_ms: '6000'
373+
watch_max_plugin_process_ms: '15000'
374374
watch_command_timeout_ms: '7200000'
375375
- os: windows-latest
376376
runner_label: windows
@@ -380,7 +380,7 @@ jobs:
380380
timeout_minutes: 180
381381
watch_timeout_ms: '1200000'
382382
watch_poll_ms: '40'
383-
watch_max_plugin_process_ms: '6000'
383+
watch_max_plugin_process_ms: '15000'
384384
watch_command_timeout_ms: '9000000'
385385
- os: macos-latest
386386
runner_label: macos
@@ -409,7 +409,7 @@ jobs:
409409
timeout_minutes: 120
410410
watch_timeout_ms: '420000'
411411
watch_poll_ms: '40'
412-
watch_max_plugin_process_ms: '6000'
412+
watch_max_plugin_process_ms: '15000'
413413
watch_command_timeout_ms: '5400000'
414414
- os: windows-latest
415415
runner_label: windows
@@ -437,6 +437,7 @@ jobs:
437437
timeout_minutes: 150
438438
watch_timeout_ms: '540000'
439439
watch_poll_ms: '40'
440+
watch_max_plugin_process_ms: '15000'
440441
watch_command_timeout_ms: '7200000'
441442
- os: macos-latest
442443
runner_label: macos

packages/weapp-tailwindcss/test/ci/workflows.test.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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: '6000',
381+
watch_max_plugin_process_ms: '15000',
382382
watch_command_timeout_ms: '5400000',
383383
}))
384384
expect(nightlyRows).toContainEqual(expect.objectContaining({
@@ -388,6 +388,7 @@ describe('e2e watch workflow', () => {
388388
round_profile: 'default',
389389
timeout_minutes: 150,
390390
watch_timeout_ms: '540000',
391+
watch_max_plugin_process_ms: '15000',
391392
watch_command_timeout_ms: '7200000',
392393
}))
393394
expect(nightlyRows).toContainEqual(expect.objectContaining({
@@ -397,6 +398,7 @@ describe('e2e watch workflow', () => {
397398
round_profile: 'default',
398399
timeout_minutes: 150,
399400
watch_timeout_ms: '600000',
401+
watch_max_plugin_process_ms: '15000',
400402
watch_command_timeout_ms: '7200000',
401403
}))
402404
expect(nightlyRows).toContainEqual(expect.objectContaining({
@@ -406,7 +408,7 @@ describe('e2e watch workflow', () => {
406408
round_profile: 'default',
407409
timeout_minutes: 180,
408410
watch_timeout_ms: '1200000',
409-
watch_max_plugin_process_ms: '6000',
411+
watch_max_plugin_process_ms: '15000',
410412
watch_command_timeout_ms: '9000000',
411413
}))
412414
})
@@ -427,7 +429,7 @@ describe('e2e watch workflow', () => {
427429
expect(nightlyRunStep.env.E2E_WATCH_MAX_ATTEMPTS).toBe("${{ matrix.watch_max_attempts || '2' }}")
428430
})
429431

430-
it('keeps any explicit e2e watch plugin processing matrix budget within 6000ms', () => {
432+
it('keeps any explicit e2e watch plugin processing matrix budget within 15000ms', () => {
431433
const { workflow } = readWorkflow('e2e-watch.yml')
432434
const rows: Array<Record<string, unknown>> = [
433435
...workflow.jobs['pr-quick-gate'].strategy.matrix.include,
@@ -439,7 +441,7 @@ describe('e2e watch workflow', () => {
439441
if (budget == null) {
440442
continue
441443
}
442-
expect(Number(budget), `${row.runner_label}:${row.watch_case}:${row.round_profile}`).toBeLessThanOrEqual(6000)
444+
expect(Number(budget), `${row.runner_label}:${row.watch_case}:${row.round_profile}`).toBeLessThanOrEqual(15000)
443445
}
444446
})
445447

0 commit comments

Comments
 (0)