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

cjrh / deadpool / 30506674652
88%

Build:
DEFAULT BRANCH: main
Ran 30 Jul 2026 01:49AM UTC
Jobs 1
Files 13
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

30 Jul 2026 01:48AM UTC coverage: 88.095% (-5.7%) from 93.761%
30506674652

push

github

web-flow
feat: add remote Deadpool executor (#429)

## Big picture

Add an experimental remote executor so independent processes can share
one
server-owned Deadpool over Unix-domain or TCP sockets while retaining
the
standard `concurrent.futures.Executor` programming model. The
implementation
keeps application payloads opaque in the broker, makes distributed
ownership
and cancellation outcomes explicit, and bounds network-facing queues,
frames,
connections, and retained results.

The existing single-file module is migrated into a package so the remote
client/server implementation can be separated behind focused internal
modules
without breaking current `import deadpool` users.

## Changes

- Preserve the existing local executor API through package-level
re-exports and
  compatibility forwarding while moving the pool implementation to
  `deadpool/_pool.py`.
- Add `DeadpoolClient`, `DeadpoolServer`, and `RemoteFuture`, including
callable
and registered-task submission, ordered mapping,
health/status/statistics,
request identity, fork protection, and explicit client/server lifecycle
  handling.
- Add a private experimental wire protocol with safe JSON control
headers,
opaque chunked payloads, digest validation, bounded framing, typed
failures,
  and ordered full-duplex transport handling.
- Support protected Unix-domain sockets, explicit loopback TCP, and
caller-configured mutual TLS with bounded authentication and connection
  admission.
- Add broker-owned priority and principal-fair scheduling, queue and
execution
timeouts, ordinary/group/hard cancellation, terminal arbitration, and
bounded
  result retention with acknowledgement cleanup.
- Add serializer limits, worker-side opaque invocation decoding, remote
traceback fallbacks, and distinct transport, compatibility, queue,
process,
  cancellation, and result exceptions.
- Document the remote API, pickle trust boundary, experimental wire
status, and
  intentionally deferred protocol extensions.
- Add package c... (continued)

771 of 961 branches covered (80.23%)

Branch coverage included in aggregate %.

2175 of 2428 new or added lines in 13 files covered. (89.58%)

2633 of 2903 relevant lines covered (90.7%)

5.42 hits per line

Uncovered Changes

Lines Coverage ∆ File
114
83.27
deadpool/remote/server.py
64
85.36
deadpool/remote/client.py
24
90.02
deadpool/remote/_protocol.py
23
85.29
deadpool/remote/_transport.py
10
91.23
deadpool/remote/config.py
6
92.4
deadpool/remote/_future.py
5
94.08
deadpool/_pool.py
4
87.76
deadpool/remote/_worker.py
2
97.8
deadpool/remote/_scheduler.py
1
90.91
deadpool/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 30506674652.1 30 Jul 2026 01:50AM UTC 13
88.1
GitHub Action Run
Source Files on build 30506674652
  • Tree
  • List 13
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • de7d1793 on github
  • Prev Build on main (#30260854213)
  • Next Build on main (#30509795815)
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