From 6cfcc85b496bb3ee579019076be7e190141e7afb Mon Sep 17 00:00:00 2001 From: Christian Guinard <28689358+christiangnrd@users.noreply.github.com> Date: Tue, 28 Jul 2026 10:39:29 -0300 Subject: [PATCH 1/2] Fix nightly-only TypeError from synthetic Test.Error backtraces Julia master (JuliaLang/julia#62391) now runs scrub_exc_stack for :nontest_error results too, which asserts the backtrace element type as Vector{Union{Ptr{Nothing},Base.InterpreterIP}}. Our empty `[]` literal is Vector{Any} and fails that typeassert on nightly. Co-Authored-By: Claude Sonnet 5 --- src/ParallelTestRunner.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ParallelTestRunner.jl b/src/ParallelTestRunner.jl index 16492a0..a6903e0 100644 --- a/src/ParallelTestRunner.jl +++ b/src/ParallelTestRunner.jl @@ -1415,7 +1415,7 @@ function _runtests(mod::Module, args::ParsedArgs; # One of Malt.TerminatedWorkerException, Malt.RemoteException, or ErrorException @assert result isa Exception testset = create_testset(testname; start, stop) - Test.record(testset, Test.Error(:nontest_error, testname, nothing, Base.ExceptionStack(NamedTuple[(;exception = result, backtrace = [])]), LineNumberNode(1))) + Test.record(testset, Test.Error(:nontest_error, testname, nothing, Base.ExceptionStack(NamedTuple[(;exception = result, backtrace = Union{Ptr{Nothing}, Base.InterpreterIP}[])]), LineNumberNode(1))) end with_testset(testset) do @@ -1427,7 +1427,7 @@ function _runtests(mod::Module, args::ParsedArgs; for test in tests (test in completed_tests) && continue testset = create_testset(test) - Test.record(testset, Test.Error(:test_interrupted, test, nothing, Base.ExceptionStack(NamedTuple[(;exception = "skipped", backtrace = [])]), LineNumberNode(1))) + Test.record(testset, Test.Error(:test_interrupted, test, nothing, Base.ExceptionStack(NamedTuple[(;exception = "skipped", backtrace = Union{Ptr{Nothing}, Base.InterpreterIP}[])]), LineNumberNode(1))) with_testset(testset) do Test.record(o_ts, testset) end From 62fb9e1b6d7ab340a18ce1394478b63959a2d9c5 Mon Sep 17 00:00:00 2001 From: Christian Guinard <28689358+christiangnrd@users.noreply.github.com> Date: Tue, 28 Jul 2026 20:03:41 -0300 Subject: [PATCH 2/2] Bump version --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 90e75f8..0885e68 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ParallelTestRunner" uuid = "d3525ed8-44d0-4b2c-a655-542cee43accc" authors = ["Valentin Churavy "] -version = "2.6.4" +version = "2.6.5" [deps] Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"