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

lsm / neokai / 25686166199
82%

Build:
DEFAULT BRANCH: dev
Ran 11 May 2026 05:28PM 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

11 May 2026 05:27PM UTC coverage: 82.591% (+0.09%) from 82.499%
25686166199

push

github

web-flow
feat(daemon): normalize Space runtime notifications via InternalEventBus (M6) (#1860)

* feat(daemon): normalize Space runtime notifications via InternalEventBus (M6)

Define Space runtime domain events as typed channels with dot-separated
camelCase names (space.task.blocked, space.workflowRun.completed, etc.)
and publish them through InternalEventBus on all Space runtime state transitions.

- Add SpaceEvents interface to internal-event-bus.ts with 16 event types
  covering task, agent, and workflowRun lifecycle events.
- Add SpaceEvents to DaemonInternalEventMap intersection.
- Wire SpaceRuntime.safeNotify() to dual-publish: legacy NotificationSink
  path plus new InternalEventBus path via mapNotificationEventToInternalEvent().
- Add internalEventBus field to SpaceRuntimeConfig.
- Implement SpaceAgentNotificationService as an InternalEventBus subscriber
  that turns selected Space events into agent-facing [TASK_EVENT] messages.
- Mark NotificationSink, NullNotificationSink, setNotificationSink(), and
  getNotificationSink() as @deprecated with M6 removal plan.
- Add tests for SpaceAgentNotificationService (23 tests) and dual-publishing
  integration in space-runtime-notifications.test.ts.

The legacy NotificationSink path remains functional for backward compatibility;
all existing tests continue to pass.

* fix(daemon): address M6 review feedback on production wiring and types

- Wire internalEventBus through SpaceRuntimeService → SpaceRuntime
- Instantiate SpaceAgentNotificationService per-space in setupSpaceAgentSession
- Pass internalEventBus to ChannelRouter for workflow_run_reopened dual-publish
- Add type-safe publishToInternalEventBus helper to avoid unsafe casts
- Extract shared SessionFactory interface to runtime/types.ts
- Document 4 reserved but unemitted event types in DaemonInternalEventMap
- Add barrel exports for SpaceAgentNotificationService and SessionFactory
- Update tests for service-level autonomy in task_awaiting_approval

* feat... (continued)

8347 of 11648 branches covered (71.66%)

Branch coverage included in aggregate %.

564 of 609 new or added lines in 6 files covered. (92.61%)

2 existing lines in 1 file now uncovered.

66613 of 79113 relevant lines covered (84.2%)

289.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
31
93.36
-5.33% packages/daemon/src/lib/space/runtime/channel-router.ts
14
89.61
-1.25% packages/daemon/src/lib/space/runtime/space-runtime-service.ts

Coverage Regressions

Lines Coverage ∆ File
2
84.21
0.01% packages/daemon/src/lib/space/runtime/task-agent-manager.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-5-space-other - 25686166199.1 11 May 2026 05:28PM UTC 128
31.58
GitHub Action Run
2 daemon-0-shared - 25686166199.2 11 May 2026 05:28PM UTC 29
84.15
GitHub Action Run
3 daemon-online-lifecycle - 25686166199.3 11 May 2026 05:29PM UTC 288
22.68
GitHub Action Run
4 daemon-5-space-workflow - 25686166199.4 11 May 2026 05:28PM UTC 107
31.51
GitHub Action Run
5 daemon-online-coordinator - 25686166199.5 11 May 2026 05:28PM UTC 288
7.38
GitHub Action Run
6 daemon-online-git - 25686166199.6 11 May 2026 05:29PM UTC 288
18.83
GitHub Action Run
7 daemon-online-space-2 - 25686166199.7 11 May 2026 05:30PM UTC 288
32.27
GitHub Action Run
8 daemon-online-mcp - 25686166199.8 11 May 2026 05:28PM UTC 288
18.15
GitHub Action Run
9 daemon-4-space-storage - 25686166199.9 11 May 2026 05:29PM UTC 133
55.91
GitHub Action Run
10 daemon-online-rpc-3 - 25686166199.10 11 May 2026 05:29PM UTC 288
19.91
GitHub Action Run
11 daemon-2-handlers - 25686166199.11 11 May 2026 05:28PM UTC 130
56.87
GitHub Action Run
12 daemon-online-space-1 - 25686166199.12 11 May 2026 05:29PM UTC 288
32.75
GitHub Action Run
13 daemon-online-sdk - 25686166199.13 11 May 2026 05:29PM UTC 288
22.13
GitHub Action Run
14 daemon-online-features-2 - 25686166199.14 11 May 2026 05:29PM UTC 288
22.64
GitHub Action Run
15 daemon-online-components - 25686166199.15 11 May 2026 05:28PM UTC 288
17.71
GitHub Action Run
16 daemon-online-convo - 25686166199.16 11 May 2026 05:29PM UTC 288
22.12
GitHub Action Run
17 daemon-online-rpc-1 - 25686166199.17 11 May 2026 05:29PM UTC 288
19.18
GitHub Action Run
18 daemon-online-features-1 - 25686166199.18 11 May 2026 05:29PM UTC 288
22.98
GitHub Action Run
19 daemon-5-space-agent - 25686166199.19 11 May 2026 05:28PM UTC 170
28.14
GitHub Action Run
20 daemon-1-core - 25686166199.20 11 May 2026 05:29PM UTC 293
37.65
GitHub Action Run
21 daemon-online-agent-sdk - 25686166199.21 11 May 2026 05:29PM UTC 288
22.25
GitHub Action Run
22 web - 25686166199.22 11 May 2026 05:29PM UTC 222
76.55
GitHub Action Run
23 daemon-online-websocket - 25686166199.23 11 May 2026 05:28PM UTC 288
17.83
GitHub Action Run
24 daemon-5-space-runtime - 25686166199.24 11 May 2026 05:28PM UTC 150
40.57
GitHub Action Run
25 daemon-online-rewind-2 - 25686166199.25 11 May 2026 05:29PM UTC 288
22.96
GitHub Action Run
26 daemon-online-rewind-1 - 25686166199.26 11 May 2026 05:30PM UTC 288
22.43
GitHub Action Run
27 daemon-online-rpc-2 - 25686166199.27 11 May 2026 05:29PM UTC 288
23.52
GitHub Action Run
28 daemon-online-rpc-4 - 25686166199.28 11 May 2026 05:29PM UTC 288
23.48
GitHub Action Run
Source Files on build 25686166199
  • Tree
  • List 523
  • Changed 18
  • Source Changed 8
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25686166199
  • f5a06819 on github
  • Prev Build on dev (#25672010875)
  • Next Build on dev (#25693850745)
  • 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