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

lsm / neokai / 25935094501
81%

Build:
DEFAULT BRANCH: dev
Ran 15 May 2026 06:41PM UTC
Jobs 28
Files 523
Run time 2min
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

15 May 2026 06:40PM UTC coverage: 83.415%. First build
25935094501

push

github

web-flow
feat: add runtime anti-stuck recovery (#1891)

* feat: add retry threshold to SpaceAgentNotificationService

Suppress `agent_auto_completed` notifications below a configurable
consecutive-failure threshold (default: 3) so normal agent retries
don't flood the space agent. The counter resets on task success,
cancellation, or unsubscribe. Notification messages now include the
consecutive count and estimated total execution time.

* fix: address review feedback on retry threshold implementation

- Clear autoCompletedCounts in subscribe() re-init path to prevent
  stale counters from leaking across re-subscriptions on the same
  instance
- Only delete counter after successful notification delivery so
  transient injectMessage failures don't lose accumulated retry state
- Reset counter on `blocked` task status (not just done/cancelled)
  so manually-restarted blocked tasks start with a fresh cycle
- Add tests for re-subscribe counter cleanup, notification failure
  counter preservation, and blocked task counter reset

* fix: prevent duplicate threshold notifications during pending send

Delete the counter immediately when threshold is reached (preventing
concurrent events from enqueuing duplicates), but restore it on
notification failure so the retry cycle can continue. Added tests for
both the dedup behavior and the failure-restore path.

* fix: remove counter restoration on notification failure

Don't restore autoCompletedCounts on injectMessage failure to avoid
a race where a stale counter is re-inserted after a terminal task
transition (done/cancelled/blocked) has already cleared it. The
counter is unconditionally cleared when threshold is reached,
preventing both duplicate notifications and stale state leaks.

* fix: restore counter on notification failure with terminal-transition guard

Use a notifyInFlight guard set to satisfy both the streak-preservation
and stale-race concerns: counter is restored on injectMessage failure
only when no terminal task... (continued)

8351 of 11625 branches covered (71.84%)

Branch coverage included in aggregate %.

385 of 389 new or added lines in 5 files covered. (98.97%)

67911 of 79800 relevant lines covered (85.1%)

294.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
82.63
packages/daemon/src/lib/space/runtime/task-agent-manager.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-5-space-other - 25935094501.1 15 May 2026 06:41PM UTC 123
31.91
GitHub Action Run
2 daemon-online-components - 25935094501.2 15 May 2026 06:41PM UTC 295
17.52
GitHub Action Run
3 daemon-4-space-storage - 25935094501.3 15 May 2026 06:42PM UTC 130
58.86
GitHub Action Run
4 daemon-5-space-runtime - 25935094501.4 15 May 2026 06:41PM UTC 148
43.79
GitHub Action Run
5 daemon-online-coordinator - 25935094501.5 15 May 2026 06:41PM UTC 295
7.34
GitHub Action Run
6 daemon-online-rewind-2 - 25935094501.6 15 May 2026 06:42PM UTC 295
22.75
GitHub Action Run
7 daemon-5-space-agent - 25935094501.7 15 May 2026 06:41PM UTC 165
28.72
GitHub Action Run
8 daemon-online-features-1 - 25935094501.8 15 May 2026 06:42PM UTC 295
22.79
GitHub Action Run
9 daemon-online-git - 25935094501.9 15 May 2026 06:41PM UTC 295
18.6
GitHub Action Run
10 daemon-online-mcp - 25935094501.10 15 May 2026 06:41PM UTC 295
17.95
GitHub Action Run
11 daemon-0-shared - 25935094501.11 15 May 2026 06:41PM UTC 30
83.92
GitHub Action Run
12 daemon-online-sdk - 25935094501.12 15 May 2026 06:41PM UTC 295
21.94
GitHub Action Run
13 daemon-online-rewind-1 - 25935094501.13 15 May 2026 06:42PM UTC 295
22.23
GitHub Action Run
14 daemon-online-space-1 - 25935094501.14 15 May 2026 06:42PM UTC 295
32.74
GitHub Action Run
15 daemon-online-space-2 - 25935094501.15 15 May 2026 06:43PM UTC 295
32.07
GitHub Action Run
16 daemon-online-rpc-4 - 25935094501.16 15 May 2026 06:42PM UTC 295
23.03
GitHub Action Run
17 daemon-online-websocket - 25935094501.17 15 May 2026 06:41PM UTC 295
17.64
GitHub Action Run
18 daemon-online-rpc-1 - 25935094501.18 15 May 2026 06:42PM UTC 295
18.95
GitHub Action Run
19 daemon-online-agent-sdk - 25935094501.19 15 May 2026 06:42PM UTC 295
22.05
GitHub Action Run
20 daemon-2-handlers - 25935094501.20 15 May 2026 06:41PM UTC 175
48.86
GitHub Action Run
21 daemon-online-convo - 25935094501.21 15 May 2026 06:42PM UTC 295
21.93
GitHub Action Run
22 daemon-online-rpc-2 - 25935094501.22 15 May 2026 06:42PM UTC 295
23.29
GitHub Action Run
23 web - 25935094501.23 15 May 2026 06:42PM UTC 220
76.74
GitHub Action Run
24 daemon-online-rpc-3 - 25935094501.24 15 May 2026 06:42PM UTC 295
19.45
GitHub Action Run
25 daemon-online-features-2 - 25935094501.25 15 May 2026 06:41PM UTC 295
22.39
GitHub Action Run
26 daemon-1-core - 25935094501.26 15 May 2026 06:41PM UTC 300
36.43
GitHub Action Run
27 daemon-5-space-workflow - 25935094501.27 15 May 2026 06:41PM UTC 102
32.32
GitHub Action Run
28 daemon-online-lifecycle - 25935094501.28 15 May 2026 06:42PM UTC 295
22.48
GitHub Action Run
Source Files on build 25935094501
  • Tree
  • List 523
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25935094501
  • 6ed44057 on github
  • Prev Build on dev (#25896560243)
  • Next Build on dev (#25935454302)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc