Commit f2d1029
test: Ignore test-defined isequal methods in missing.jl's inference sweep
The all-methods return_types(isequal, Tuple{Any,Any}) sweep from #49800
asserts over every isequal method in the session - including ones added
by OTHER test files sharing the worker process. test/arrayops.jl defines
isequal(::totally_not_five26034, ::Number) (and its mirror), which infer
Bool in isolation but degrade to Any once the LinearAlgebra tests have
inflated the ==/Number method tables earlier in the same process. The
failure therefore appears whenever the scheduler happens to run arrayops
(after the LinearAlgebra tests) before missing on one worker -
deterministically reproducible with
JULIA_CPU_THREADS=1 julia test/runtests.jl LinearAlgebra/triangular2 \
LinearAlgebra/structuredbroadcast triplequote intrinsics iobuffer \
staged arrayops combinatorics euler client terminfo errorshow \
goto llvmcall some docs interpreter floatfuncs missing
Restrict the assertion to methods owned by Base and the stdlibs (module
root not Main); in a fresh process this still covers all 27 shipped
methods.
CI failure: https://buildkite.com/julialang/julia-pr/builds/392#019f59bc-668b-4c95-81ed-e80a15899a30
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015KLwCBAR64r3cTdfaC5krU1 parent 13ae271 commit f2d1029
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
84 | 93 | | |
85 | 94 | | |
86 | 95 | | |
| |||
0 commit comments