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

lsm / neokai / 25632447293
83%

Build:
DEFAULT BRANCH: dev
Ran 10 May 2026 03:24PM UTC
Jobs 28
Files 522
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

10 May 2026 03:24PM UTC coverage: 82.411% (-0.3%) from 82.701%
25632447293

push

github

web-flow
refactor: extract room and space event forwarding into ClientEventBridge (#1835)

* refactor: extract room and space event forwarding into ClientEventBridge

Move ~30 repetitive daemon-to-client forwarding handlers from StateManager
into a new declarative ClientEventBridge module.

- New `packages/daemon/src/lib/client-event-bridge.ts` with ROOM_BRIDGE_MAPPINGS
  and SPACE_BRIDGE_MAPPINGS registries. Each mapping declares the DaemonHub
  event, client event name, target EventChannel, and optional transform.
- StateManager loses the room.*, goal.*, space.*, spaceAgent.*, and
  spaceWorkflow.* forwarding blocks; gains `getClientEventGateway()` as a
  temporary seam.
- DaemonApp wires the bridge after StateManager construction.
- Comprehensive unit tests for the bridge (subscription, idempotency, stop,
  and per-event forwarding assertions with correct EventChannel shapes).
- StateManager tests updated to assert the forwarding handlers are no longer
  registered there.

Scope: pure forwarding only — no state caching, no version increments, no
side effects. Remaining handlers (session.*, api.connection, auth.changed,
etc.) stay in StateManager for follow-up PRs.

* test: address review feedback on state-manager.test.ts

- P1: Restore the "falls back to a default ClientEventGateway" test so it
  actually builds a StateManager without injecting a gateway, and asserts
  the returned gateway has publish/publishGlobal methods.
- P2: Flatten duplicate nested describe('ClientEventGateway DI seam') blocks.
- P3: Add goal.updated negative assertion to the "should NOT register
  room/space forwarding handlers" test, and remove stale spaceSessionGroup.*
  assertions that no longer apply.

* refactor: remove dead room/goal bridge mappings

Room and goals have been removed from the codebase — there are zero
emitters for room.* and goal.* events. The 6 ROOM_BRIDGE_MAPPINGS entries
were dead code forwarding events nobody emits.

- Remove ROOM_BRIDGE_MAPPINGS and the roo... (continued)

8240 of 11521 branches covered (71.52%)

Branch coverage included in aggregate %.

118 of 118 new or added lines in 3 files covered. (100.0%)

1168 existing lines in 14 files now uncovered.

65057 of 77420 relevant lines covered (84.03%)

289.32 hits per line

Coverage Regressions

Lines Coverage ∆ File
300
72.02
-9.2% packages/daemon/src/lib/space/tools/space-agent-tools.ts
218
90.09
0.03% packages/daemon/src/storage/schema/migrations.ts
200
59.2
-3.52% packages/web/src/lib/space-store.ts
141
84.2
0.01% packages/daemon/src/lib/space/runtime/task-agent-manager.ts
96
66.6
-7.59% packages/daemon/src/app.ts
67
78.0
-0.3% packages/daemon/src/lib/rpc-handlers/index.ts
50
50.24
-3.13% packages/daemon/src/lib/space/managers/space-manager.ts
30
71.68
0.0% packages/web/src/lib/router.ts
24
90.84
0.03% packages/daemon/src/lib/space/runtime/space-runtime-service.ts
24
72.25
-21.62% packages/web/src/components/space/SpaceTasks.tsx
10
69.0
-21.79% packages/web/src/lib/utils.ts
5
98.13
-0.52% packages/daemon/src/lib/state-manager.ts
2
97.79
0.01% packages/daemon/src/storage/repositories/space-task-repository.ts
1
99.71
0.01% packages/daemon/src/lib/db-query/scope-config.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-online-rewind-1 - 25632447293.1 10 May 2026 03:26PM UTC 286
22.53
GitHub Action Run
2 daemon-2-handlers - 25632447293.2 10 May 2026 03:24PM UTC 129
57.15
GitHub Action Run
3 daemon-4-space-storage - 25632447293.3 10 May 2026 03:25PM UTC 132
55.87
GitHub Action Run
4 daemon-online-space-1 - 25632447293.4 10 May 2026 03:26PM UTC 286
32.1
GitHub Action Run
5 daemon-online-rpc-1 - 25632447293.5 10 May 2026 03:25PM UTC 286
19.28
GitHub Action Run
6 daemon-online-features-2 - 25632447293.6 10 May 2026 03:25PM UTC 286
22.75
GitHub Action Run
7 daemon-online-space-2 - 25632447293.7 10 May 2026 03:27PM UTC 286
32.19
GitHub Action Run
8 daemon-0-shared - 25632447293.8 10 May 2026 03:25PM UTC 30
84.24
GitHub Action Run
9 daemon-1-core - 25632447293.9 10 May 2026 03:25PM UTC 291
37.83
GitHub Action Run
10 daemon-online-components - 25632447293.10 10 May 2026 03:25PM UTC 286
17.78
GitHub Action Run
11 daemon-online-git - 25632447293.11 10 May 2026 03:25PM UTC 286
18.92
GitHub Action Run
12 daemon-5-space-workflow - 25632447293.12 10 May 2026 03:24PM UTC 107
31.51
GitHub Action Run
13 daemon-online-rpc-3 - 25632447293.13 10 May 2026 03:25PM UTC 286
20.03
GitHub Action Run
14 daemon-online-coordinator - 25632447293.14 10 May 2026 03:25PM UTC 286
7.43
GitHub Action Run
15 daemon-online-features-1 - 25632447293.15 10 May 2026 03:26PM UTC 286
23.1
GitHub Action Run
16 daemon-online-websocket - 25632447293.16 10 May 2026 03:25PM UTC 286
17.91
GitHub Action Run
17 daemon-online-agent-sdk - 25632447293.17 10 May 2026 03:25PM UTC 286
22.35
GitHub Action Run
18 daemon-online-sdk - 25632447293.18 10 May 2026 03:25PM UTC 286
22.23
GitHub Action Run
19 daemon-online-convo - 25632447293.19 10 May 2026 03:25PM UTC 286
22.22
GitHub Action Run
20 daemon-5-space-other - 25632447293.20 10 May 2026 03:25PM UTC 126
31.16
GitHub Action Run
21 web - 25632447293.21 10 May 2026 03:26PM UTC 222
76.46
GitHub Action Run
22 daemon-5-space-runtime - 25632447293.22 10 May 2026 03:25PM UTC 148
40.13
GitHub Action Run
23 daemon-online-rpc-4 - 25632447293.23 10 May 2026 03:26PM UTC 286
23.64
GitHub Action Run
24 daemon-5-space-agent - 25632447293.24 10 May 2026 03:25PM UTC 169
28.28
GitHub Action Run
25 daemon-online-lifecycle - 25632447293.25 10 May 2026 03:25PM UTC 286
22.79
GitHub Action Run
26 daemon-online-mcp - 25632447293.26 10 May 2026 03:25PM UTC 286
18.23
GitHub Action Run
27 daemon-online-rewind-2 - 25632447293.27 10 May 2026 03:26PM UTC 286
23.08
GitHub Action Run
28 daemon-online-rpc-2 - 25632447293.28 10 May 2026 03:26PM UTC 286
23.73
GitHub Action Run
Source Files on build 25632447293
  • Tree
  • List 522
  • Changed 22
  • Source Changed 19
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25632447293
  • db5d09be on github
  • Prev Build on dev (#25624089872)
  • Next Build on dev (#25632896017)
  • 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