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

lsm / neokai / 25635486744 / 24
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 10 May 2026 05:48PM UTC
Files 107
Run time 2s
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 05:45PM UTC coverage: 31.405% (-0.1%) from 31.508%
25635486744.24

push

github

web-flow
feat(shared): TypedHub publish awaits async handlers, adds publishAsync (#1846)

* feat(shared): TypedHub publish awaits async handlers, adds publishAsync

- publish() now awaits all local handlers (sync + async) concurrently
- Returns structured PublishResult with delivered count and failures
- Throws TypedHubPublishError when handlers fail; all handlers still run
- Adds publishAsync() for explicit fire-and-forget semantics
- Handler errors are logged and surfaced, not silently swallowed
- Updates task-schedule-fire handler eventHub interface for compatibility
- Removes unnecessary setTimeout waits from existing tests
- Adds comprehensive tests for async semantics, error handling, mixed scenarios

* fix(shared): address review feedback on TypedHub async delivery

- Migrate fire-and-forget sites (error-manager, github-service) from
  emit() to publishAsync() to prevent unhandled TypedHubPublishError
- Fix handler diagnostic names to be unique per subscription (global#1,
  session:abc#2) instead of all sharing the same name
- Fix handlerNames Map cleanup during unsubscribe (prune empty entries)
- Update stale comments in session-handlers/index.ts that incorrectly
  claimed dispatchLocally does not await async subscribers
- Fix error-manager tests to assert on publishAsyncSpy instead of emitSpy

* fix(shared): prune handlerNameCounters on unsubscribe/close, guard github emitEvent

- Clear handlerNameCounters entries when the last handler for a
  subscription key is removed, and clear the entire map on close()
- Wrap github-service emitEvent in try/catch so a hub emission failure
  never aborts event routing or inbox fallback

8340 of 26556 relevant lines covered (31.41%)

15.94 hits per line

Source Files on job daemon-5-space-workflow - 25635486744.24
  • Tree
  • List 107
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25635486744
  • 5dd47e45 on github
  • Prev Job for on dev (#25634109409.25)
  • Next Job for on dev (#25635713532.3)
  • 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