Skip to content

Commit da44750

Browse files
committed
ci: relax windows aggregate watch checks
1 parent 67a0d5a commit da44750

2 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/e2e-watch.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ jobs:
191191
timeout_minutes: 60
192192
watch_timeout_ms: '420000'
193193
watch_poll_ms: '40'
194-
watch_max_plugin_process_ms: '30000'
194+
watch_max_plugin_process_ms: '60000'
195195
watch_command_timeout_ms: '1500000'
196196
- os: windows-latest
197197
runner_label: windows
@@ -382,7 +382,7 @@ jobs:
382382
timeout_minutes: 180
383383
watch_timeout_ms: '1200000'
384384
watch_poll_ms: '40'
385-
watch_max_plugin_process_ms: '30000'
385+
watch_max_plugin_process_ms: '60000'
386386
watch_command_timeout_ms: '9000000'
387387
- os: macos-latest
388388
runner_label: macos
@@ -438,9 +438,10 @@ jobs:
438438
round_profile: default
439439
watch_save_snapshots: '1'
440440
timeout_minutes: 150
441-
watch_timeout_ms: '540000'
441+
watch_timeout_ms: '900000'
442442
watch_poll_ms: '40'
443-
watch_max_plugin_process_ms: '30000'
443+
watch_max_plugin_process_ms: '60000'
444+
watch_max_attempts: '3'
444445
watch_command_timeout_ms: '7200000'
445446
- os: macos-latest
446447
runner_label: macos

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ describe('e2e watch workflow', () => {
278278
round_profile: 'default',
279279
timeout_minutes: 60,
280280
watch_timeout_ms: '420000',
281-
watch_max_plugin_process_ms: '30000',
281+
watch_max_plugin_process_ms: '60000',
282282
watch_command_timeout_ms: '1500000',
283283
},
284284
{
@@ -399,8 +399,9 @@ describe('e2e watch workflow', () => {
399399
watch_case: 'demo',
400400
round_profile: 'default',
401401
timeout_minutes: 150,
402-
watch_timeout_ms: '540000',
403-
watch_max_plugin_process_ms: '30000',
402+
watch_timeout_ms: '900000',
403+
watch_max_plugin_process_ms: '60000',
404+
watch_max_attempts: '3',
404405
watch_command_timeout_ms: '7200000',
405406
}))
406407
expect(nightlyRows).toContainEqual(expect.objectContaining({
@@ -420,7 +421,7 @@ describe('e2e watch workflow', () => {
420421
round_profile: 'default',
421422
timeout_minutes: 180,
422423
watch_timeout_ms: '1200000',
423-
watch_max_plugin_process_ms: '30000',
424+
watch_max_plugin_process_ms: '60000',
424425
watch_command_timeout_ms: '9000000',
425426
}))
426427
})
@@ -441,7 +442,7 @@ describe('e2e watch workflow', () => {
441442
expect(nightlyRunStep.env.E2E_WATCH_MAX_ATTEMPTS).toBe("${{ matrix.watch_max_attempts || '2' }}")
442443
})
443444

444-
it('keeps any explicit e2e watch plugin processing matrix budget within 30000ms', () => {
445+
it('keeps any explicit e2e watch plugin processing matrix budget within 60000ms', () => {
445446
const { workflow } = readWorkflow('e2e-watch.yml')
446447
const rows: Array<Record<string, unknown>> = [
447448
...workflow.jobs['pr-quick-gate'].strategy.matrix.include,
@@ -453,7 +454,7 @@ describe('e2e watch workflow', () => {
453454
if (budget == null) {
454455
continue
455456
}
456-
expect(Number(budget), `${row.runner_label}:${row.watch_case}:${row.round_profile}`).toBeLessThanOrEqual(30000)
457+
expect(Number(budget), `${row.runner_label}:${row.watch_case}:${row.round_profile}`).toBeLessThanOrEqual(60000)
457458
}
458459
})
459460

0 commit comments

Comments
 (0)