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

lsm / neokai / 25468115749 / 22
81%
dev: 81%

Build:
DEFAULT BRANCH: dev
Ran 07 May 2026 12:07AM UTC
Files 276
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

07 May 2026 12:04AM UTC coverage: 22.586%. First build
25468115749.22

push

github

web-flow
Add InternalEventBus facade for semantic daemon events (#1806)

* Add InternalEventBus facade for semantic daemon events

Introduces InternalEventBus — a typed pub/sub primitive with explicit
await-vs-fire-and-forget semantics:

- publish(...) awaits all local handlers and throws
  InternalEventBusPublishError with structured HandlerFailure details.
- publishAsync(...) is explicit fire-and-forget.
- Subscriber names are required for diagnostics.
- Session-scoped and global subscriptions supported.

Wraps existing in-process infrastructure; no persistence/replay in v1.
Includes full unit-test coverage.

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

* Defer publishAsync dispatch via queueMicrotask to avoid sync handler stalls

publishAsync now schedules the publish call on the next microtask so
that synchronous handlers never run on the caller's stack. This keeps
the fire-and-forget contract: the method returns immediately regardless
of whether subscribers are sync or async.

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

* Fix double-delivery, generic factory typing, and docs

- publish: skip global handler lookup when sessionId equals the global
  sentinel ('__global__') to prevent double-delivery.
- createInternalEventBus: made generic so callers can preserve their
  event-map type safety.
- File-level doc: corrected publishAsync failure wording from
  "logged at debug level only" to "silently swallowed".

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

* Reject reserved session key and accept keyed interfaces

- subscribe() now throws when sessionId is '__global__', preventing
  ambiguous global subscriptions that could leak cross-session events.
- TEventMap constraint loosened from Record<string, InternalEventPayload>
  to `object` so interface-style event maps compile without requiring a
  string index signature. Internal casts preserve runtime behaviour.
- Added regression tests for reserved-key rejection and keyed-i... (continued)

16342 of 72355 relevant lines covered (22.59%)

11.77 hits per line

Source Files on job daemon-online-lifecycle - 25468115749.22
  • Tree
  • List 276
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25468115749
  • b80dda2b on github
  • Next Job for on dev (#25469598267.11)
  • 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