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

lsm / neokai / 25604478977
82%

Build:
DEFAULT BRANCH: dev
Ran 09 May 2026 03:16PM UTC
Jobs 28
Files 515
Run time 1min
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

09 May 2026 03:15PM UTC coverage: 82.687%. First build
25604478977

push

github

web-flow
Extract Channels and ClientEventGateway foundation (#1824)

* feat: add Channels and ClientEventGateway foundation

Introduce typed channel construction and a client-event delivery seam so
new code can target client-facing broadcasts without inlining wire-level
channel strings or coupling to MessageHub directly.

- packages/shared/src/message-hub/channels.ts: EventChannel ADT, Channels
  factories, and a default ChannelRegistry that serializes/parses to the
  existing wire strings (global, session:id, room:id, space:id,
  workflowRun:spaceId:workflowRunId, task:spaceId:taskId).
- packages/shared/src/message-hub/client-event-gateway.ts: thin gateway
  that accepts an EventChannel, serializes via the registry, and delegates
  to MessageHub.event(...). Structural ClientEventSink keeps it test-friendly.
- packages/daemon/src/lib/state-manager.ts: migrate session.created,
  session.deleted, and context.updated forwarding behind the gateway as a
  proof of pattern. channelVersions and the rest of StateManager are kept
  as-is to keep this PR low-conflict.
- Tests cover registry round-trips, malformed inputs, and gateway
  forwarding including a custom registry and global helper.

* test: cover ClientEventGateway DI seam; simplify hub type

P2: Add a new "ClientEventGateway DI seam" describe block in
state-manager.test.ts that injects a spied IClientEventGateway, drives
the EventBus, and asserts session.created/session.deleted/context.updated
flow through the gateway with typed EventChannel descriptors. Also covers
the default-gateway fallback path so the seam is documented end-to-end.

P3: Drop the redundant ClientEventSink | MessageHub union from
ClientEventGatewayOptions.hub. MessageHub structurally satisfies
ClientEventSink, so the union added a transport import without buying
anything; removing it keeps client-event-gateway.ts free of MessageHub
dependencies, matching the doc comment.

8195 of 11374 branches covered (72.05%)

Branch coverage included in aggregate %.

92 of 92 new or added lines in 4 files covered. (100.0%)

64011 of 75950 relevant lines covered (84.28%)

289.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 web - 25604478977.1 09 May 2026 03:17PM UTC 222
76.94
GitHub Action Run
2 daemon-online-coordinator - 25604478977.2 09 May 2026 03:17PM UTC 280
7.4
GitHub Action Run
3 daemon-5-space-runtime - 25604478977.3 09 May 2026 03:17PM UTC 148
40.17
GitHub Action Run
4 daemon-online-rpc-4 - 25604478977.4 09 May 2026 03:19PM UTC 280
23.83
GitHub Action Run
5 daemon-0-shared - 25604478977.5 09 May 2026 03:16PM UTC 30
84.22
GitHub Action Run
6 daemon-5-space-other - 25604478977.6 09 May 2026 03:16PM UTC 126
31.43
GitHub Action Run
7 daemon-online-git - 25604478977.7 09 May 2026 03:23PM UTC 280
19.02
GitHub Action Run
8 daemon-4-space-storage - 25604478977.8 09 May 2026 03:19PM UTC 127
55.03
GitHub Action Run
9 daemon-online-convo - 25604478977.9 09 May 2026 03:18PM UTC 280
22.38
GitHub Action Run
10 daemon-online-websocket - 25604478977.10 09 May 2026 03:17PM UTC 280
17.99
GitHub Action Run
11 daemon-5-space-agent - 25604478977.11 09 May 2026 03:16PM UTC 169
28.43
GitHub Action Run
12 daemon-online-rewind-2 - 25604478977.12 09 May 2026 03:18PM UTC 280
23.26
GitHub Action Run
13 daemon-2-handlers - 25604478977.13 09 May 2026 03:16PM UTC 125
56.9
GitHub Action Run
14 daemon-online-space-1 - 25604478977.14 09 May 2026 03:18PM UTC 280
32.35
GitHub Action Run
15 daemon-online-agent-sdk - 25604478977.15 09 May 2026 03:18PM UTC 280
22.51
GitHub Action Run
16 daemon-online-rewind-1 - 25604478977.16 09 May 2026 03:18PM UTC 280
22.7
GitHub Action Run
17 daemon-online-features-1 - 25604478977.17 09 May 2026 03:18PM UTC 280
23.28
GitHub Action Run
18 daemon-5-space-workflow - 25604478977.18 09 May 2026 03:16PM UTC 107
31.48
GitHub Action Run
19 daemon-online-mcp - 25604478977.19 09 May 2026 03:18PM UTC 280
18.32
GitHub Action Run
20 daemon-online-components - 25604478977.20 09 May 2026 03:18PM UTC 280
17.86
GitHub Action Run
21 daemon-online-rpc-1 - 25604478977.21 09 May 2026 03:19PM UTC 280
19.39
GitHub Action Run
22 daemon-1-core - 25604478977.22 09 May 2026 03:17PM UTC 285
38.36
GitHub Action Run
23 daemon-online-space-2 - 25604478977.23 09 May 2026 03:19PM UTC 280
32.45
GitHub Action Run
24 daemon-online-features-2 - 25604478977.24 09 May 2026 03:18PM UTC 280
22.92
GitHub Action Run
25 daemon-online-rpc-3 - 25604478977.25 09 May 2026 03:18PM UTC 280
20.15
GitHub Action Run
26 daemon-online-lifecycle - 25604478977.26 09 May 2026 03:18PM UTC 280
22.96
GitHub Action Run
27 daemon-online-sdk - 25604478977.27 09 May 2026 03:18PM UTC 280
22.39
GitHub Action Run
28 daemon-online-rpc-2 - 25604478977.28 09 May 2026 03:18PM UTC 280
23.92
GitHub Action Run
Source Files on build 25604478977
  • Tree
  • List 515
  • 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 #25604478977
  • 6021c7dc on github
  • Prev Build on dev (#25593215896)
  • Next Build on dev (#25615959391)
  • 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