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

lsm / neokai / 28134666630
82%

Build:
DEFAULT BRANCH: dev
Ran 24 Jun 2026 10:50PM UTC
Jobs 28
Files 614
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

24 Jun 2026 10:49PM UTC coverage: 82.08% (+0.07%) from 82.013%
28134666630

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.

11362 of 16393 branches covered (69.31%)

Branch coverage included in aggregate %.

21 of 21 new or added lines in 1 file covered. (100.0%)

95295 of 113549 relevant lines covered (83.92%)

300.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 daemon-online-rewind-1 - 28134666630.1 24 Jun 2026 10:51PM UTC 356
21.95
GitHub Action Run
2 daemon-4-space-migrations-a - 28134666630.2 24 Jun 2026 10:51PM UTC 73
38.0
GitHub Action Run
3 daemon-online-coordinator - 28134666630.3 24 Jun 2026 10:50PM UTC 345
7.84
GitHub Action Run
4 daemon-online-space-1 - 28134666630.4 24 Jun 2026 10:51PM UTC 356
31.43
GitHub Action Run
5 daemon-online-lifecycle - 28134666630.5 24 Jun 2026 10:51PM UTC 356
22.12
GitHub Action Run
6 daemon-5-space-runtime-a - 28134666630.6 24 Jun 2026 10:51PM UTC 127
39.63
GitHub Action Run
7 daemon-online-rpc-2 - 28134666630.7 24 Jun 2026 10:51PM UTC 356
22.87
GitHub Action Run
8 daemon-online-sdk - 28134666630.8 24 Jun 2026 10:51PM UTC 356
21.83
GitHub Action Run
9 daemon-online-websocket - 28134666630.9 24 Jun 2026 10:50PM UTC 356
17.75
GitHub Action Run
10 daemon-0-shared-handlers-workflow - 28134666630.10 24 Jun 2026 10:51PM UTC 361
32.72
GitHub Action Run
11 daemon-online-features-2 - 28134666630.11 24 Jun 2026 10:51PM UTC 356
21.96
GitHub Action Run
12 daemon-1-core - 28134666630.12 24 Jun 2026 10:51PM UTC 362
34.77
GitHub Action Run
13 daemon-online-rpc-1 - 28134666630.13 24 Jun 2026 10:51PM UTC 356
18.76
GitHub Action Run
14 daemon-online-mcp - 28134666630.14 24 Jun 2026 10:50PM UTC 356
17.98
GitHub Action Run
15 daemon-online-components - 28134666630.15 24 Jun 2026 10:50PM UTC 356
17.66
GitHub Action Run
16 daemon-online-git - 28134666630.16 24 Jun 2026 10:50PM UTC 356
18.5
GitHub Action Run
17 daemon-online-rpc-4 - 28134666630.17 24 Jun 2026 10:52PM UTC 356
22.55
GitHub Action Run
18 daemon-4-space-storage - 28134666630.18 24 Jun 2026 10:51PM UTC 159
54.49
GitHub Action Run
19 daemon-online-convo - 28134666630.19 24 Jun 2026 10:51PM UTC 356
21.74
GitHub Action Run
20 daemon-online-space-2 - 28134666630.20 24 Jun 2026 10:52PM UTC 356
31.48
GitHub Action Run
21 web - 28134666630.21 24 Jun 2026 10:51PM UTC 248
74.52
GitHub Action Run
22 daemon-5-space-agent-other - 28134666630.22 24 Jun 2026 10:51PM UTC 281
26.09
GitHub Action Run
23 daemon-online-rpc-3 - 28134666630.23 24 Jun 2026 10:51PM UTC 356
19.1
GitHub Action Run
24 daemon-online-agent-sdk - 28134666630.24 24 Jun 2026 10:51PM UTC 356
21.83
GitHub Action Run
25 daemon-online-features-1 - 28134666630.25 24 Jun 2026 10:51PM UTC 356
22.52
GitHub Action Run
26 daemon-5-space-runtime-b - 28134666630.26 24 Jun 2026 10:51PM UTC 181
47.74
GitHub Action Run
27 daemon-4-space-migrations-b - 28134666630.27 24 Jun 2026 10:51PM UTC 48
56.03
GitHub Action Run
28 daemon-online-rewind-2 - 28134666630.28 24 Jun 2026 10:51PM UTC 356
22.42
GitHub Action Run
Source Files on build 28134666630
  • Tree
  • List 614
  • Changed 300
  • Source Changed 1
  • Coverage Changed 300
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28134666630
  • 0676b4fd on github
  • Prev Build on dev (#28134258755)
  • Next Build on dev (#28134967932)
  • 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