Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "DistributedNext"
uuid = "fab6aee4-877b-4bac-a744-3eca44acbb6f"
version = "1.3.0"
version = "1.3.1"

[deps]
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
Expand Down
8 changes: 8 additions & 0 deletions docs/src/_changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ CurrentModule = DistributedNext
This documents notable changes in DistributedNext.jl. The format is based on
[Keep a Changelog](https://keepachangelog.com).

## [v1.3.1] - 2026-04-20

### Changed
- Fixed an incorrect assumption in `start_worker` that the loopback `bind_addr`
would be IPv4, which is untrue on macOS. This fixes silent hangs during
precompile on macOS, and also ensures `start_worker` errors are properly
reported ([#68]).

## [v1.3.0] - 2026-04-06

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/cluster.jl
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ function start_worker(out::IO, cookie::AbstractString=readline(stdin); close_std
stderr_to_stdout && redirect_stderr(stdout)

init_worker(cookie)
interface = IPv4(CTX[].lproc.bind_addr)
interface = parse(IPAddr, CTX[].lproc.bind_addr)
if CTX[].lproc.bind_port == 0
(port, sock) = listenany(interface, CTX[].lproc.bind_port_hint)
CTX[].lproc.bind_port = Int(port)
Expand Down
1 change: 1 addition & 0 deletions src/managers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ function launch(manager::LocalManager, params::Dict, launched::Array, c::Conditi
task = Threads.@spawn @with CTX => worker_ctx begin
start_worker(pipe.in, cookie; close_stdin=false, stderr_to_stdout=false, exit_on_close=false)
end
errormonitor(task)

wconfig.io = pipe.out
wconfig.userdata = (; ctx=worker_ctx, task, pipe)
Expand Down
Loading