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

lsm / neokai / 25935094501 / 3
81%
dev: 81%

Build:
DEFAULT BRANCH: dev
Ran 15 May 2026 06:43PM UTC
Files 130
Run time 10s
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: 58.855%. First build
25935094501.3

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)

15024 of 25527 relevant lines covered (58.86%)

34.06 hits per line

Source Files on job daemon-4-space-storage - 25935094501.3
  • Tree
  • List 130
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25935094501
  • 6ed44057 on github
  • Next Job for on dev (#25935454302.10)
  • 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