Commit 05c459f
committed
fix(queues): widen worker lease margin to fix CI flake in worker recovery test
The "healthy long-running job" worker recovery test used a 600ms lease
duration with only a 50ms safety buffer, leaving ~550ms for heartbeats
to renew the lease. On a loaded CI runner a single delayed heartbeat
can exceed that margin, causing the worker's own completion update to
be rejected as lease-expired (JobRunAbortedError), which gets silently
filtered out of jobStatus.
Widen the margin to 5000ms/300ms so a single CI-scale scheduling stall
can't exceed it, while keeping the same duration/safetyBuffer ratio.1 parent b2379e8 commit 05c459f
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1429 | 1429 | | |
1430 | 1430 | | |
1431 | 1431 | | |
1432 | | - | |
1433 | | - | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
1434 | 1437 | | |
1435 | 1438 | | |
1436 | 1439 | | |
| |||
1451 | 1454 | | |
1452 | 1455 | | |
1453 | 1456 | | |
1454 | | - | |
| 1457 | + | |
1455 | 1458 | | |
1456 | 1459 | | |
1457 | 1460 | | |
| |||
0 commit comments