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

Foo-Foo-MQ / foo-foo-mq / 46170309131
92%
master: 89%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 28 Nov 2026 05:25PM UTC
Jobs 4
Files 63
Run time 1min
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

28 Nov 2026 05:24PM UTC coverage: 91.637% (+0.5%) from 91.184%
46170309131

push

github

web-flow
fix(exchange.js): reject publishes with errors when the connection is lost (#80)

* fix(exchange.js): reject publishes with errors when the connection is lost

Two problems surfaced when the connection dropped with publishes in
flight (#25):

- The promise returned by the channel's `publish` operation was
  ignored. When amqplib threw (e.g. 'Connection closing') the rejection
  went unhandled, which crashes the process on Node 15+, and a confirmed
  publish never settled because its confirm callback never ran. The
  failure now rejects confirmed publishes; unconfirmed publishes still
  resolve without waiting on the broker and log the failure instead.
- Publishes awaiting confirmation when the exchange closed were rejected
  with `undefined`, because the `closed` event carries no error. They are
  now rejected with an Error naming the exchange and connection.

Closes #25

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

* test(shutdownAfterReconnect.spec.js): delete the queue the spec creates

The queue is autoDelete but never has a consumer, so the broker never
removed it and each run left it behind with one more message.

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

---------

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

729 of 895 branches covered (81.45%)

Branch coverage included in aggregate %.

128 of 128 new or added lines in 6 files covered. (100.0%)

4366 of 4665 relevant lines covered (93.59%)

302.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 node-22.x - 46170309131.1 28 Nov 2026 05:26PM UTC 63
91.6
GitHub Action Run
2 node-24.x - 46170309131.2 28 Nov 2026 05:27PM UTC 63
91.62
GitHub Action Run
3 node-26.x - 46170309131.3 28 Nov 2026 05:28PM UTC 63
91.62
GitHub Action Run
4 node-20.x - 46170309131.4 28 Nov 2026 05:25PM UTC 63
91.62
GitHub Action Run
Source Files on build 46170309131
  • Tree
  • List 63
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #46170309131
  • a4684da3 on github
  • Prev Build on main (#46169159907)
  • Next Build on main (#46170561189)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc