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

lsm / neokai / 25478454997 / 19
83%
dev: 83%

Build:
DEFAULT BRANCH: dev
Ran 07 May 2026 05:57AM UTC
Files 277
Run time 16s
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

07 May 2026 05:53AM UTC coverage: 19.147% (+0.008%) from 19.139%
25478454997.19

push

github

web-flow
Add InternalQueryBus facade and preserve Live Query boundary (#1814)

* Add InternalQueryBus facade and preserve Live Query boundary

Implements the daemon InternalQueryBus following the same patterns as
InternalCommandBus and InternalEventBus:

- QueryResult<T> structured success/failure shape
- One-handler-per-query semantics with duplicate rejection
- Missing handlers return structured failures (never throw)
- Handler throws are caught and normalized to ok:false results
- register/execute/hasHandler/unregister/clear/getHandlerCount APIs
- createInternalQueryBus typed factory

Minimal integration:
- Export from daemon package.json
- Instantiate in createDaemonApp and expose via DaemonAppContext
- No broad migration of existing call sites

Live Query boundary is documented in the module header: InternalQueryBus
serves explicit point-in-time reads; LiveQueryEngine/ReactiveDatabase serve
reactive reads. Live Query remains read-model plumbing, not a domain event bus.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* Address review feedback: type QueryBus, remove dead metadata, fix test names

- Type queryBus with DaemonQueryMap via createInternalQueryBus<DaemonQueryMap>()
- Remove dead metadata field from QueryResult (handlers return raw TOutput)
- Use conditional-type helpers QueryInput/QueryOutput so constraint stays
  `extends object` and works with interface-style query maps
- Rename misleading test: 'return data on a successful handler result'
- Rename misleading test: 'preserve the original error when handler throws'

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>

14157 of 73937 relevant lines covered (19.15%)

9.69 hits per line

Source Files on job daemon-online-rpc-1 - 25478454997.19
  • Tree
  • List 277
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25478454997
  • bb7f834f on github
  • Prev Job for on dev (#25478436860.26)
  • Next Job for on dev (#25517936748.7)
  • 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