Skip to content

Comments

Fix a JET error by narrowing the type signature of the create_worker(x, y) function#46

Closed
DilumAluthge wants to merge 1 commit intomasterfrom
dpa/175-forward-port
Closed

Fix a JET error by narrowing the type signature of the create_worker(x, y) function#46
DilumAluthge wants to merge 1 commit intomasterfrom
dpa/175-forward-port

Conversation

@DilumAluthge
Copy link
Member

This is a forward-port of JuliaLang/Distributed.jl#175 (JuliaLang/Distributed.jl@d65a996).

  ┌ create_worker(manager::Any, wconfig::Any) @ Distributed /workpath/Distributed.jl/src/cluster.jl:620
  │ no matching method found `kwcall(::NamedTuple{(:config,), <:Tuple{Any}}, ::Type{Distributed.Worker}, ::Any, ::Sockets.TCPSocket, ::Sockets.TCPSocket, ::Base.LibuvStream)` (1/2 union split): Core.kwcall(NamedTuple{(:config,)}(tuple(wconfig::Any)::Tuple{Any})::NamedTuple{(:config,), <:Tuple{Any}}, Distributed.Worker, (getfield(w::Core.Box, :contents)::Any).id::Any, r_s::Sockets.TCPSocket, w_s::Sockets.TCPSocket, manager::Union{Base.LibuvStream, Distributed.ClusterManager})
  └────────────────────

(cherry picked from commit d65a9960ae358806312c1adf35f45c62f02caf0b)

…(x, y)` function (#175)

This is a forward-port of JuliaLang/Distributed.jl#175 (JuliaLang/Distributed.jl@d65a996).

```
  ┌ create_worker(manager::Any, wconfig::Any) @ Distributed /workpath/Distributed.jl/src/cluster.jl:620
  │ no matching method found `kwcall(::NamedTuple{(:config,), <:Tuple{Any}}, ::Type{Distributed.Worker}, ::Any, ::Sockets.TCPSocket, ::Sockets.TCPSocket, ::Base.LibuvStream)` (1/2 union split): Core.kwcall(NamedTuple{(:config,)}(tuple(wconfig::Any)::Tuple{Any})::NamedTuple{(:config,), <:Tuple{Any}}, Distributed.Worker, (getfield(w::Core.Box, :contents)::Any).id::Any, r_s::Sockets.TCPSocket, w_s::Sockets.TCPSocket, manager::Union{Base.LibuvStream, Distributed.ClusterManager})
  └────────────────────
```

(cherry picked from commit d65a9960ae358806312c1adf35f45c62f02caf0b)
@codecov
Copy link

codecov bot commented Feb 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.53%. Comparing base (fbca46f) to head (a04809d).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
+ Coverage   87.39%   87.53%   +0.14%     
==========================================
  Files          11       11              
  Lines        2086     2086              
==========================================
+ Hits         1823     1826       +3     
+ Misses        263      260       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@giordano giordano deleted the dpa/175-forward-port branch February 22, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant