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

lsm / neokai / 25647934416 / 19
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 11 May 2026 03:01AM UTC
Files 148
Run time 5s
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 02:58AM UTC coverage: 40.17%. Remained the same
25647934416.19

push

github

web-flow
refactor: extract remaining StateManager forwarding into ClientEventBridge (#1850)

* refactor: extract remaining StateManager forwarding paths into ClientEventBridge

Move all daemon-to-client event forwarding from StateManager into ClientEventBridge:
- Session events (created, deleted, context.updated) via SESSION_BRIDGE_MAPPINGS
- Connection/auth events (api.connection, auth.changed)
- Config events (commands.updated)
- Error events (session.error, session.errorClear)
- Versioned broadcast method triggers via new StateBroadcasts interface

StateManager now only updates caches; ClientEventBridge handles all client projection.
Fix channelVersions cleanup on session.deleted to remove SESSION, SESSION_SDK_MESSAGES,
and SESSION_SDK_MESSAGES.delta channels.

Update tests to reflect the new split architecture.

* refactor: address review feedback for ClientEventBridge extraction

- P1: Add broadcastSessionStateChange trigger for context.updated
  (old handler did both gateway forwarding AND broadcast; extraction
   only preserved the first. Now both are restored.)
- P2: Trim StateBroadcasts interface to only used methods
  (broadcastSystemChange, broadcastSessionStateChange)
- P2: Add console.warn in subscribeBroadcast catch block
- P2: Return promise from subscribeBroadcast so TypedHub awaits
  broadcasts, preserving emit completion semantics
- P3: Call clientEventBridge.stop() in app.ts cleanup
- Update tests: mock supports multiple handlers per event;
  add context.updated broadcast trigger test

* fix: replace console.warn with Logger in ClientEventBridge

14003 of 34859 relevant lines covered (40.17%)

22.07 hits per line

Source Files on job daemon-5-space-runtime - 25647934416.19
  • Tree
  • List 148
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25647934416
  • e9ea1a31 on github
  • Prev Job for on dev (#25646971668.1)
  • Next Job for on dev (#25648129480.5)
  • 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