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

digidem / rpc-reflector
98%

Build:
DEFAULT BRANCH: main
Repo Added 06 Jul 2023 03:11PM UTC
Token qLdegLgszyPtxrSps9qGxjAxmPZUQtQ0y regen
Build 50 Last
Files 10
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • ac/fix-another-verbatim-module-syntax-issue
  • ac/type-only-import
  • chore/esm
  • chore/publishing-fixes
  • dependabot/npm_and_yarn/js-yaml-4.1.1
  • feat/logger
  • feat/onRequestHook
  • fix/awaited-client
  • fix/close-reject-pending
  • fix/non-node-env
  • fix/symbol-props
  • main
  • refs/pull/18/merge

30 Apr 2026 02:17PM UTC coverage: 98.032% (+0.03%) from 98.003%
25170522450

push

github

web-flow
fix: createClient.close() should reject pending and future calls (#29)

* fix: createClient.close() should reject pending and future calls

Calling `createClient.close(client)` previously only detached the message
listener. Pending RPC entries remained in the `pending` Map until each
hit its `timeout` (default 5000 ms), and subsequent calls on the same
proxy still posted a request that would also eventually time out.

This change makes `close()`:
1. Reject every entry in `pending` immediately with `Error('Channel closed')`.
2. Set a `closed` flag that the proxy `apply` trap checks first; closed
   clients reject calls synchronously without an IPC round trip.

* test: move in-flight close rejection test to e2e

Adds a `slowMethod` to the e2e fixture API and asserts that
`createClient.close(client)` rejects an in-flight request through the
real client/server round trip with `Error('Channel closed')` rather
than waiting for the per-call timeout. Removes the equivalent unit
test from `close.test.js` since the e2e variant now covers it end to
end.

254 of 267 branches covered (95.13%)

Branch coverage included in aggregate %.

13 of 13 new or added lines in 1 file covered. (100.0%)

1091 of 1105 relevant lines covered (98.73%)

328.66 hits per line

Relevant lines Covered
Build:
Build:
1105 RELEVANT LINES 1091 COVERED LINES
328.66 HITS PER LINE
Source Files on main
  • Tree
  • List 10
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25170522450 main fix: createClient.close() should reject pending and future calls (#29) * fix: createClient.close() should reject pending and future calls Calling `createClient.close(client)` previously only detached the message listener. Pending RPC entries rem... push 30 Apr 2026 02:17PM UTC web-flow github
98.03
25170311796 fix/close-reject-pending Merge d6cbd944b into f0313ea3e Pull #29 30 Apr 2026 02:13PM UTC web-flow github
98.03
25169973170 fix/close-reject-pending Merge f7cc09827 into f0313ea3e Pull #29 30 Apr 2026 02:06PM UTC web-flow github
98.03
19388806595 dependabot/npm_and_yarn/js-yaml-4.1.1 Merge 345713b3e into f0313ea3e Pull #28 15 Nov 2025 10:55AM UTC web-flow github
98.0
16911839847 main chore(release): 3.0.1 push 12 Aug 2025 02:24PM UTC gmaclennan github
98.0
16910434204 main fix: Trying to access a symbol prop should return undefined (#27) push 12 Aug 2025 01:31PM UTC web-flow github
98.0
16910296044 fix/symbol-props Merge c53e0d060 into 3ac636218 Pull #27 12 Aug 2025 01:26PM UTC web-flow github
98.0
16725634040 main chore(release): 3.0.0 push 04 Aug 2025 02:14PM UTC gmaclennan github
98.0
16671554567 main chore(release): 3.0.0-prerelease.0 push 01 Aug 2025 09:30AM UTC gmaclennan github
98.0
16661654443 main chore!: Publishing fixes (#26) push 31 Jul 2025 10:48PM UTC web-flow github
98.0
See All Builds (46)

Badge your Repo: rpc-reflector

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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