• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / HyperNeo / 31984369412
79%

Build:
DEFAULT BRANCH: dev
Ran 17 Aug 2026 01:15AM UTC
Jobs 34
Files 686
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Aug 2026 01:14AM UTC coverage: 78.882% (+0.01%) from 78.87%
31984369412

push

github

web-flow
fix(daemon): jitter stale-reclaim re-enqueue to prevent synchronized SDK cold-start herd (#2550)

* fix(daemon): jitter stale-reclaim re-enqueue to prevent synchronized SDK cold-start herd

When the daemon dies with M message_delivery jobs in flight, their rows
freeze in `processing` until the leases go stale (5 min), and stale-reclaim
then re-enqueues ALL of them in the same instant — measured 10 claims within
12 ms in the live repro. Each reclaimed job spawns a fresh SDK subprocess
resuming a large transcript; M simultaneous cold-starts all exceed the 15 s
startup timeout (a solo cold-start is ~4–5 s), producing a self-sustaining
timeout/retry loop (120–160 timeouts, 0 successes over 7+ min).

The reclaim pass now spreads each re-enqueued job's run_at across a
randomized [0, min(M*2s, 30s)] window, realized as M equal slots with a
randomly permuted slot per job plus a random in-slot offset: the order is
random per pass (restarts never produce a deterministic stagger) while the
density is bounded by construction — no 1-second window schedules more than
3 reclaimed jobs through M ~ 60. A single reclaimed job gets no delay, so a
lone stuck job still recovers immediately.

* fix(daemon): jitter graceful-shutdown restart herd; harden reclaim jitter path

Review follow-ups on PR #2550:

- P2: the SIGTERM path (app.ts requeueAllProcessing at run_at=now) produced
  the deploy-path twin of the crash herd — the next boot's first tick claimed
  the whole pending fleet at once, since eager reclaim only sweeps
  `processing` rows. requeueAllProcessing now returns the re-enqueued job
  IDs, and the shutdown path spreads them with the same
  staleReclaimJitterDelays + reschedulePending primitives; a single requeued
  job keeps zero delay (#2593's prompt recovery unchanged). Docs bullets
  cross-reference instead of contradicting.
- P3: reschedule loop wrapped in try/catch so a failed UPDATE can never skip
  the abort/deferral loop (un-jittered rows fall back to im... (continued)

43577 of 59186 branches covered (73.63%)

Branch coverage included in aggregate %.

43 of 46 new or added lines in 3 files covered. (93.48%)

2 existing lines in 1 file now uncovered.

59350 of 71296 relevant lines covered (83.24%)

3800.28 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
60.94
-0.19% packages/daemon/src/app.ts

Coverage Regressions

Lines Coverage ∆ File
2
81.62
0.0% packages/daemon/src/lib/space/runtime/space-runtime.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-4-space-migrations-a - 31984369412.1 17 Aug 2026 01:24AM UTC 26
65.4
GitHub Action Run
2 daemon-shared - 31984369412.2 17 Aug 2026 01:16AM UTC 24
85.08
GitHub Action Run
3 daemon-4-space-migrations-b - 31984369412.3 17 Aug 2026 01:15AM UTC 59
32.88
GitHub Action Run
4 daemon-online-sdk - 31984369412.4 17 Aug 2026 01:16AM UTC 367
13.37
GitHub Action Run
5 daemon-5-space-runtime-a - 31984369412.5 17 Aug 2026 01:15AM UTC 234
21.05
GitHub Action Run
6 daemon-online-rewind-b - 31984369412.6 17 Aug 2026 01:16AM UTC 367
13.85
GitHub Action Run
7 daemon-online-features-a - 31984369412.7 17 Aug 2026 01:15AM UTC 367
8.62
GitHub Action Run
8 daemon-online-websocket - 31984369412.8 17 Aug 2026 01:16AM UTC 367
9.9
GitHub Action Run
9 daemon-online-rewind-a - 31984369412.9 17 Aug 2026 01:17AM UTC 367
13.43
GitHub Action Run
10 daemon-online-features-b - 31984369412.10 17 Aug 2026 01:15AM UTC 367
13.87
GitHub Action Run
11 daemon-online-git - 31984369412.11 17 Aug 2026 01:16AM UTC 367
10.39
GitHub Action Run
12 daemon-online-space-a - 31984369412.12 17 Aug 2026 01:17AM UTC 367
18.36
GitHub Action Run
13 daemon-online-space-b - 31984369412.13 17 Aug 2026 01:16AM UTC 367
11.38
GitHub Action Run
14 daemon-online-convo - 31984369412.14 17 Aug 2026 01:17AM UTC 367
13.35
GitHub Action Run
15 daemon-5-space-runtime-b - 31984369412.15 17 Aug 2026 01:17AM UTC 220
31.37
GitHub Action Run
16 daemon-online-space-c - 31984369412.16 17 Aug 2026 01:16AM UTC 367
18.15
GitHub Action Run
17 daemon-online-coordinator - 31984369412.17 17 Aug 2026 01:15AM UTC 357
1.22
GitHub Action Run
18 daemon-online-space-d - 31984369412.18 17 Aug 2026 01:16AM UTC 367
16.1
GitHub Action Run
19 daemon-0-shared-handlers-workflow - 31984369412.19 17 Aug 2026 01:16AM UTC 373
28.11
GitHub Action Run
20 daemon-online-rpc-d - 31984369412.20 17 Aug 2026 01:16AM UTC 367
10.66
GitHub Action Run
21 daemon-1-core - 31984369412.21 17 Aug 2026 01:19AM UTC 374
31.89
GitHub Action Run
22 daemon-online-rpc-f - 31984369412.22 17 Aug 2026 01:17AM UTC 367
13.9
GitHub Action Run
23 daemon-online-rpc-b - 31984369412.23 17 Aug 2026 01:17AM UTC 367
10.77
GitHub Action Run
24 daemon-online-rpc-a - 31984369412.24 17 Aug 2026 01:16AM UTC 367
10.51
GitHub Action Run
25 daemon-4-space-storage - 31984369412.25 17 Aug 2026 01:16AM UTC 158
47.34
GitHub Action Run
26 daemon-online-lifecycle - 31984369412.26 17 Aug 2026 01:16AM UTC 367
13.77
GitHub Action Run
27 daemon-online-components - 31984369412.27 17 Aug 2026 01:15AM UTC 367
9.79
GitHub Action Run
28 daemon-online-features-c - 31984369412.28 17 Aug 2026 01:17AM UTC 367
13.9
GitHub Action Run
29 daemon-online-rpc-c - 31984369412.29 17 Aug 2026 01:15AM UTC 367
10.14
GitHub Action Run
30 web - 31984369412.30 17 Aug 2026 01:17AM UTC 284
76.96
GitHub Action Run
31 daemon-5-space-agent-other - 31984369412.31 17 Aug 2026 01:16AM UTC 288
19.14
GitHub Action Run
32 daemon-online-mcp - 31984369412.32 17 Aug 2026 01:16AM UTC 367
10.12
GitHub Action Run
33 daemon-online-agent-sdk - 31984369412.33 17 Aug 2026 01:17AM UTC 367
13.42
GitHub Action Run
34 daemon-online-rpc-e - 31984369412.34 17 Aug 2026 01:16AM UTC 367
10.39
GitHub Action Run
Source Files on build 31984369412
  • Tree
  • List 686
  • Changed 29
  • Source Changed 4
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31984369412
  • ba15f09a on github
  • Prev Build on dev (#31974120806)
  • Next Build on dev (#31991084239)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc