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

lsm / neokai / 25712881253
81%

Build:
DEFAULT BRANCH: dev
Ran 12 May 2026 04:13AM UTC
Jobs 28
Files 521
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

12 May 2026 04:12AM UTC coverage: 81.945% (-0.9%) from 82.852%
25712881253

push

github

web-flow
refactor(daemon): migrate session/agent/query/config events to InternalEventBus (#1866)

* refactor(daemon): migrate session, agent, query, and config events from DaemonHub to InternalEventBus

Moves all session lifecycle, agent, message, model, question, rewind, and
config-related event emissions from DaemonHub to InternalEventBus. Updates
ClientEventBridge to subscribe to both buses, removes redundant bridge
subscriptions in DaemonApp, and wires internalEventBus through all handler
constructors and RPC handler call sites.

* fix(daemon): add namespaceId to migrated event payloads, pass internalEventBus to SessionManager

Rebase on dev introduced namespaceId requirement for all InternalEventBus
payloads. This commit adds namespaceId to all publish/publishAsync calls
in the migrated publishers and updates test assertions accordingly.

Also fixes:
- Pass internalEventBus to SessionManager constructor in app.ts
- Update daemon-app-cleanup test thresholds for session cleanup delays
- Add timeout to slow daemon-app-cleanup test
- Fix syntax error in query-lifecycle-manager test assertion

* fix(daemon): clean up rebase conflict artifacts in test files

Remove stray commit message fragments and duplicate parameters left by
git conflict resolution during rebase on dev.

* fix(daemon): revert events with DaemonHub subscribers back to daemonHub.emit

Events that have unmigrated DaemonHub subscribers must remain on
DaemonHub because the app.ts bridge only forwards DaemonHub →
InternalEventBus, not the reverse direction. Events with all
subscribers already on InternalEventBus stay there.

Key changes:
- Revert session.created/deleted/updated, session.error/errorClear,
  api.connection, commands.updated, context.updated, agent.interruptRequest
  back to daemonHub.emit (DaemonHub subscribers exist)
- Keep messages.statusChanged, sdk.message, message.sent, session.reset,
  query.trigger on InternalEventBus (subscribers already migrated)
- Fix namespaceId: remove f... (continued)

8397 of 11700 branches covered (71.77%)

Branch coverage included in aggregate %.

241 of 290 new or added lines in 23 files covered. (83.1%)

888 existing lines in 6 files now uncovered.

66366 of 79536 relevant lines covered (83.44%)

289.4 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
24.12
2.2% packages/daemon/src/lib/rpc-handlers/app-mcp-handlers.ts
11
2.91
-97.09% packages/daemon/src/lib/agent/ask-user-question-handler.ts
7
69.73
-29.83% packages/daemon/src/lib/agent/sdk-message-handler.ts
7
45.2
0.39% packages/daemon/src/lib/rpc-handlers/session-handlers.ts
5
74.49
-25.51% packages/daemon/src/lib/agent/event-subscription-setup.ts
4
54.69
-45.31% packages/daemon/src/lib/agent/sdk-runtime-config.ts
1
85.39
1.67% packages/daemon/src/lib/rpc-handlers/skill-handlers.ts

Coverage Regressions

Lines Coverage ∆ File
422
2.91
-97.09% packages/daemon/src/lib/agent/ask-user-question-handler.ts
243
57.59
-41.8% packages/daemon/src/lib/agent/rewind-handler.ts
146
69.73
-29.83% packages/daemon/src/lib/agent/sdk-message-handler.ts
54
54.69
-45.31% packages/daemon/src/lib/agent/sdk-runtime-config.ts
20
74.49
-25.51% packages/daemon/src/lib/agent/event-subscription-setup.ts
3
24.12
2.2% packages/daemon/src/lib/rpc-handlers/app-mcp-handlers.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-online-websocket - 25712881253.1 12 May 2026 04:13AM UTC 287
17.98
GitHub Action Run
2 daemon-online-coordinator - 25712881253.2 12 May 2026 04:13AM UTC 287
7.39
GitHub Action Run
3 daemon-5-space-agent - 25712881253.3 12 May 2026 04:13AM UTC 169
28.24
GitHub Action Run
4 daemon-online-sdk - 25712881253.4 12 May 2026 04:14AM UTC 287
22.27
GitHub Action Run
5 daemon-0-shared - 25712881253.5 12 May 2026 04:13AM UTC 29
84.15
GitHub Action Run
6 daemon-5-space-other - 25712881253.6 12 May 2026 04:13AM UTC 126
31.4
GitHub Action Run
7 daemon-5-space-workflow - 25712881253.7 12 May 2026 04:13AM UTC 106
31.38
GitHub Action Run
8 daemon-2-handlers - 25712881253.8 12 May 2026 04:13AM UTC 131
57.17
GitHub Action Run
9 daemon-online-components - 25712881253.9 12 May 2026 04:13AM UTC 287
17.86
GitHub Action Run
10 daemon-online-mcp - 25712881253.10 12 May 2026 04:13AM UTC 287
18.32
GitHub Action Run
11 daemon-5-space-runtime - 25712881253.11 12 May 2026 04:13AM UTC 148
40.77
GitHub Action Run
12 daemon-1-core - 25712881253.12 12 May 2026 04:13AM UTC 292
35.69
GitHub Action Run
13 daemon-online-git - 25712881253.13 12 May 2026 04:13AM UTC 287
18.97
GitHub Action Run
14 daemon-4-space-storage - 25712881253.14 12 May 2026 04:14AM UTC 133
55.92
GitHub Action Run
15 daemon-online-features-2 - 25712881253.15 12 May 2026 04:14AM UTC 287
22.78
GitHub Action Run
16 daemon-online-rpc-1 - 25712881253.16 12 May 2026 04:14AM UTC 287
19.32
GitHub Action Run
17 daemon-online-agent-sdk - 25712881253.17 12 May 2026 04:14AM UTC 287
22.39
GitHub Action Run
18 daemon-online-space-1 - 25712881253.18 12 May 2026 04:14AM UTC 287
32.89
GitHub Action Run
19 daemon-online-rewind-2 - 25712881253.19 12 May 2026 04:14AM UTC 287
23.1
GitHub Action Run
20 web - 25712881253.20 12 May 2026 04:14AM UTC 222
76.68
GitHub Action Run
21 daemon-online-rpc-3 - 25712881253.21 12 May 2026 04:14AM UTC 287
20.06
GitHub Action Run
22 daemon-online-features-1 - 25712881253.22 12 May 2026 04:14AM UTC 287
23.12
GitHub Action Run
23 daemon-online-lifecycle - 25712881253.23 12 May 2026 04:14AM UTC 287
22.81
GitHub Action Run
24 daemon-online-rpc-2 - 25712881253.24 12 May 2026 04:14AM UTC 287
23.65
GitHub Action Run
25 daemon-online-convo - 25712881253.25 12 May 2026 04:14AM UTC 287
22.26
GitHub Action Run
26 daemon-online-rpc-4 - 25712881253.26 12 May 2026 04:14AM UTC 287
23.62
GitHub Action Run
27 daemon-online-rewind-1 - 25712881253.27 12 May 2026 04:14AM UTC 287
22.58
GitHub Action Run
28 daemon-online-space-2 - 25712881253.28 12 May 2026 04:15AM UTC 287
32.42
GitHub Action Run
Source Files on build 25712881253
  • Tree
  • List 521
  • Changed 27
  • Source Changed 24
  • Coverage Changed 27
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25712881253
  • 831f0215 on github
  • Prev Build on dev (#25712231275)
  • Next Build on dev (#25718806337)
  • 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