Both failures blocked the main deploys for #65 and #66 tonight. Neither was a product bug.
calculateNextRun interval test (unit): the result is now bounded by the clock just before and just after the call. The first call loads cron-parser; once, on a loaded runner, that took 30 s, which broke the fixed 1-second tolerance.
ECONNRESET in integration tests: the server dropped the connection right as the abort test reused it. Node's HTTP server closes idle keep-alive connections after 5 s, and the test client occasionally picks one up at that exact moment. The server itself was fine: it handled the abort with a 200, and every later suite passed. The helper now retries a GET once on a connection reset; writes are never retried.
Both failures blocked the `main` deploys for #65 and #66 tonight. Neither was a product bug.
- **`calculateNextRun` interval test (unit):** the result is now bounded by the clock just before and just after the call. The first call loads `cron-parser`; once, on a loaded runner, that took 30 s, which broke the fixed 1-second tolerance.
- **ECONNRESET in integration tests:** the server dropped the connection right as the abort test reused it. Node's HTTP server closes idle keep-alive connections after 5 s, and the test client occasionally picks one up at that exact moment. The server itself was fine: it handled the abort with a 200, and every later suite passed. The helper now retries a **GET** once on a connection reset; writes are never retried.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
- calculateNextRun interval: bounded by the clock before and after the
call (its first use loads cron-parser, which took 30 s once on a loaded
runner and broke the fixed 1 s tolerance).
- Integration helper: retry a GET once when a pooled keep-alive connection
is reset (ECONNRESET as the server closes it); writes are never retried.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jared
merged commit 93b1422300 into main2026-11-23 01:58:18 -05:00
jared
deleted branch test-flakes2026-11-23 01:58:22 -05:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Both failures blocked the
maindeploys for #65 and #66 tonight. Neither was a product bug.calculateNextRuninterval test (unit): the result is now bounded by the clock just before and just after the call. The first call loadscron-parser; once, on a loaded runner, that took 30 s, which broke the fixed 1-second tolerance.🤖 Generated with Claude Code