Skip to content

Commit f5f8c6f

Browse files
authored
Add more logging for "stream is closed or unusable" (#725)
Currently CI errors (only on Julia nightly) with `UNHANDLED TASK ERROR: IOError: stream is closed or unusable`. This adds some logging statements to make it clear where the error arises from.
1 parent 8f1552e commit f5f8c6f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,14 @@ jobs:
4545
run: |
4646
echo $TERM
4747
# Tests for when using polling
48+
echo "Polling"
4849
julia --project --code-coverage=user -e '
4950
ENV["JULIA_REVISE_POLL"]="1"
5051
using Pkg, Revise
5152
include(joinpath(dirname(pathof(Revise)), "..", "test", "polling.jl"))
5253
'
5354
# The REPL wasn't initialized, so the "Methods at REPL" tests didn't run. Pick those up now.
55+
echo "Methods at REPL"
5456
TERM="xterm" julia --project --code-coverage=user -e '
5557
using InteractiveUtils, REPL, Revise
5658
@async(Base.run_main_repl(true, true, false, true, false))
@@ -63,16 +65,20 @@ jobs:
6365
REPL.eval_user_input(:(exit()), Base.active_repl_backend)
6466
end' "Methods at REPL"
6567
# Tests for out-of-process updates to manifest
68+
echo "Switch version"
6669
bash test/envs/use_exputils/setup.sh
6770
julia --project --code-coverage=user test/envs/use_exputils/switch_version.jl
6871
# We also need to pick up the Git tests, but for that we need to `dev` the package
72+
echo "Git tests"
6973
julia --code-coverage=user -e '
7074
using Pkg; Pkg.develop(PackageSpec(path="."))
7175
include(joinpath("test", "runtests.jl"))
7276
' "Git"
7377
# Check #664
78+
echo "Test #664"
7479
TERM="xterm" julia --startup-file=no --project test/start_late.jl
7580
# Check #697
81+
echo "Test #697"
7682
dn=$(mktemp -d)
7783
ver=$(julia -e 'println(VERSION)')
7884
curl -s -L https://github.com/JuliaLang/julia/archive/refs/tags/v$ver.tar.gz --output - | tar -xz -C $dn

0 commit comments

Comments
 (0)