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

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

Build:
DEFAULT BRANCH: dev
Ran 11 May 2026 03:01AM UTC
Files 287
Run time 10s
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: 22.784% (+0.06%) from 22.728%
25647934416.3

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

17135 of 75205 relevant lines covered (22.78%)

11.96 hits per line

Source Files on job daemon-online-lifecycle - 25647934416.3
  • Tree
  • List 287
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25647934416
  • e9ea1a31 on github
  • Prev Job for on dev (#25646971668.8)
  • 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