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

lsm / neokai / 28134666630 / 28
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 24 Jun 2026 10:52PM UTC
Files 356
Run time 19s
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

24 Jun 2026 10:49PM UTC coverage: 22.417%. First build
28134666630.28

push

github

web-flow
fix(space-runtime): guard activation flush against superseded worker sessions (#2177)

The pending external-event activation flush (flushPendingNodeQueue) drains
queued deliveries through the rate-limited digest path via a setTimeout(0)
macrotask. By the time the digest fires, the worker session captured at
spawn time may have been superseded — it crashed and was respawned (new
agentSessionId) or its execution was reset to pending (agentSessionId
cleared). resolveDigestDeliveryTarget's allowTargetSessionFallback then
fell back to the stale/dead captured sessionId, injecting the digest into
a superseded conversation.

Add resolveLiveDeliveryTarget, which re-resolves the authoritative current
session from the node execution record immediately before injection. The
digest target now retargets onto the current live session, and only falls
back to the captured activation session when it is still alive; otherwise
it returns a sessionless target so deliverDigestToSession requeues the
items as pending for the next activation rather than injecting into a
dead session.

The direct (non-digest) dispatch path has no async window between
resolveSubscriptionTarget (at flush time) and commandBus.dispatch, so it
is already protected and left untouched.

Tests:
- does not deliver activation-flushed digest to a superseded session
  (requeues instead) — fails against the unfixed code.
- retargets activation flush to the current session when the activation
  session is superseded (direct-path re-resolve invariant).
- update the overflow-cap test to mirror realistic activation (spawn sets
  agentSessionId before the flush), which the new guard requires.

24487 of 109233 relevant lines covered (22.42%)

12.11 hits per line

Source Files on job daemon-online-rewind-2 - 28134666630.28
  • Tree
  • List 356
  • Changed 300
  • Source Changed 0
  • Coverage Changed 300
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 28134666630
  • 0676b4fd on github
  • Next Job for on dev (#28134967932.1)
  • 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